Skip to main content

Deployment Strategies — Production & Sec

← Back to Dashboard
1. OAuth & Security2. Deployment Strategies3. MCP Across Tools4. Agentic Orchestration5. Remote MCP & Connectors

Deployment Strategies

📚 Production & Sec⏱ 8 min⭐ 110 XP⌨ Hands-on lab

Going to Production

How you deploy depends entirely on your use case:

  1. Private Desktop Tools (stdio & .mcpb Bundles): Best for manipulating local files. Distribute via npx / uvx or package as a signed .mcpb (MCP Bundle, formerly .dxt Desktop Extensions) archive containing a manifest.json and bundled dependencies for one-click host installation with OS keychain secret storage.
  2. Internal SaaS Integrations (Streamable HTTP): Best for teams accessing a centralized company database securely. Deploy a stateless Streamable HTTP /mcp endpoint on AWS, Vercel, or Cloudflare Workers inside a private VPC or behind OAuth 2.1 / mTLS (replacing deprecated legacy HTTP+SSE).
  3. Public Platforms (Streamable HTTP + OAuth 2.1): Companies providing public APIs (like Linear, Notion, or Stripe) host multi-tenant Streamable HTTP /mcp endpoints secured via OAuth 2.1, RFC 9728 Protected Resource Metadata, and RFC 8707 Resource Indicators.
⌨ HANDS-ON LABDeploy a Remote MCP Server to the Edge
⭐ +150 XP

Local stdio servers only serve you. Scaffold Cloudflare's remote MCP template and push it to the edge - one URL any client can connect to.

1Scaffold a remote MCP server from Cloudflare's authless template.
2Deploy it to Cloudflare Workers with wrangler.
lab-sandbox — simulated environment
INFINITY LAB SANDBOX v2.6 — simulated shell
Type the command for the current objective. Helpers: "hint", "solution", "clear".
$
OBJECTIVE 1 / 2 — type "hint" if stuck
🧪 Knowledge Check
Press 1-4 to select1 of 3
Which deployment strategy is best for a tool that scans local `node_modules` folders on a developer's workstation?
A public Vercel endpoint
A serverless function via Streamable HTTP
A local stdio distribution via npx/uvx or a signed .mcpb bundle
A Python Flask server on AWS EC2