deploymentHowTo
Deploy MCP on Cloud Run
Run MCP servers on Google Cloud Run with containers, env vars, concurrency, cold-start planning, and logs.
Quick Answer / TL;DR
Cloud Run works well for HTTP-based MCP endpoints when you package the server as a container, configure env vars, set concurrency, and account for cold starts.
Key Takeaways
- Good for bursty traffic.
- Watch cold starts.
- Set timeouts and output limits.
Cloud Run deployment
Serverless hosting is attractive for prototypes and variable demand. For latency-sensitive agents, keep instances warm or use minimum instances where budget allows.
gcloud run deploy payments-mcp \
--image gcr.io/PROJECT/payments-mcp \
--region asia-south1 \
--set-env-vars MCP_API_KEY=$MCP_API_KEYDeploy MCP on Cloud Run FAQs
Direct answers for developers, operators, and Indian teams evaluating MCP.