원클릭으로
mcp-builderdeploy
Generate deployment configuration for Cloud Run, Render, or Fly.io
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate deployment configuration for Cloud Run, Render, or Fly.io
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Scaffold a new MCP server with your chosen pattern (basic, tool-heavy, widget-enabled, or database-backed)
Test your MCP server with MCP Inspector and verify tool functionality
Scaffold a complete MCP App with visual UI tools (TypeScript + React + Tailwind)
Add OAuth authentication to your MCP server using Auth0 or custom providers
Add a resource to your MCP server for agent context (schemas, templates, reference data)
Add a new tool to your MCP server using "true task" design principles
SOC 직업 분류 기준
| name | mcp-builder:deploy |
| description | Generate deployment configuration for Cloud Run, Render, or Fly.io |
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"
}
}