Help us improve
Share bugs, ideas, or general feedback.
From mcp-builder
Generate deployment configuration for Cloud Run, Render, or Fly.io
npx claudepluginhub hollaugo/prompt-circle-marketplaceHow this skill is triggered — by the user, by Claude, or both
Slash command
/mcp-builder:skills/deployThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are helping the user deploy their MCP server to production.
Builds Python MCP servers with FastMCP: define/expose tools, resources, prompts to LLMs; scaffold code, test locally with inspector, deploy to cloud/Docker.
Configures Render MCP server for AI coding tools like Cursor, Claude Code, and Codex, handling authentication, workspace selection, tool catalog, and troubleshooting when list_services() fails or MCP is unconfigured.
Guides building MCP servers to integrate external APIs/services using Python FastMCP or Node/TypeScript MCP SDK. Covers Microsoft ecosystem, server types, and custom development workflow.
Share bugs, ideas, or general feedback.
You are helping the user deploy their MCP server to production.
| Platform | Best For | Complexity | Cost |
|---|---|---|---|
| Google Cloud Run | Auto-scaling, enterprise | Medium | Pay-per-use |
| Render | Simple deploys, small teams | Low | $7+/month |
| Fly.io | Edge deployment, low latency | Medium | Pay-per-use |
Ask the user:
Verify server is production-ready:
# Python FastMCP Server
FROM python:3.11-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
# Cloud Run sets PORT environment variable
ENV PORT=8080
EXPOSE 8080
# Start server
CMD ["python", "server.py"]
fastmcp>=0.1.0
uvicorn>=0.30.0
python-dotenv>=1.0.0
httpx>=0.27.0
# Add your other dependencies
#!/bin/bash
# deploy-cloud-run.sh
PROJECT_ID="your-project-id"
REGION="us-central1"
SERVICE_NAME="your-mcp-server"
# Build and push image
gcloud builds submit --tag gcr.io/$PROJECT_ID/$SERVICE_NAME
# Deploy to Cloud Run
gcloud run deploy $SERVICE_NAME \
--image gcr.io/$PROJECT_ID/$SERVICE_NAME \
--platform managed \
--region $REGION \
--allow-unauthenticated \
--set-env-vars "NODE_ENV=production" \
--memory 512Mi \
--cpu 1 \
--min-instances 0 \
--max-instances 10
# Get the URL
gcloud run services describe $SERVICE_NAME \
--region $REGION \
--format 'value(status.url)'
--min-instances 1 to avoid cold starts--cpu-boost for faster cold starts--concurrency based on your server's capacity--use-http2=falseservices:
- type: web
name: your-mcp-server
runtime: python
buildCommand: pip install -r requirements.txt
startCommand: python server.py
envVars:
- key: PORT
value: 10000
- key: NODE_ENV
value: production
- key: PYTHON_VERSION
value: 3.11.0
healthCheckPath: /health
autoDeploy: true
render.yamlapp = "your-mcp-server"
primary_region = "iad"
[build]
dockerfile = "Dockerfile"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 512
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV PORT=8080
EXPOSE 8080
CMD ["python", "server.py"]
#!/bin/bash
# deploy-fly.sh
# Install Fly CLI if needed
# curl -L https://fly.io/install.sh | sh
# Login
fly auth login
# Create app (first time only)
fly apps create your-mcp-server
# Set secrets
fly secrets set AUTH0_DOMAIN=your-domain.auth0.com
fly secrets set AUTH0_AUDIENCE=https://your-api.com
# Deploy
fly deploy
# Check status
fly status
--ha for high availability (2+ machines)fly scale count 2 for redundancySet these in your deployment:
# Required
PORT=8080
NODE_ENV=production
# If using Auth
AUTH0_DOMAIN=your-tenant.auth0.com
AUTH0_AUDIENCE=https://your-api.com
# If using database
DATABASE_URL=postgresql://user:pass@host:5432/db
# Your API keys (keep secret!)
OPENAI_API_KEY=sk-...
curl https://your-server.com/healthcurl -X POST https://your-server.com/mcp ...After deployment, update .mcp-builder/state.json:
{
"deployment": {
"platform": "cloud-run",
"url": "https://your-server-xyz.run.app",
"region": "us-central1",
"deployedAt": "2025-01-15T12:00:00Z"
}
}