logs command reads CloudWatch logs for a deployed MCP server. It maps to src/superbox/cli/commands/logs.py in the backend repo and requires AWS credentials plus registry access in .env.
Usage
Options
MCP server name (matches the registry entry and CloudWatch log group).
Follow logs in real time (tail). Shorthand:
-f.Behavior
- Loads
.envin the current directory for AWS creds/region and S3 bucket. - Verifies the server exists in the registry bucket.
- Reads from CloudWatch log group
/aws/lambda/superbox-executor-<name>. - Prints the last hour by default; with
--follow, streams continuously.
Examples
Troubleshooting
- If you see “log group not found”, the server may not have been executed yet or the name does not match the deployed Lambda suffix.
- Ensure
.envcontainsAWS_REGION,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY, and the registry bucket name (S3_BUCKET_NAME). - Use
superbox searchto confirm the server exists in the registry. If missing, runsuperbox pushfirst.