Container Deployment with WAAS_AUTH_TOKEN
How to deploy the MAWS MCP server in a Docker container or CI environment without interactive login.
Prerequisites
- Docker or CI/CD pipeline
1. Obtain a Token
Log in locally using
m-aws login email, then extract the idToken from ~/.maroo/credentials.json.cat ~/.maroo/credentials.json | grep idToken 2. Set Environment Variables
Pass the token to your container using the
WAAS_AUTH_TOKEN environment variable. The MCP server will bypass the local credentials file.export WAAS_AUTH_TOKEN="eyJhbGci..."
npx @maroo-chain/m-aws serve Note: Tokens expire. For long-running services, you must implement a mechanism to refresh the token and restart the container, or use a dedicated API key (coming soon).