DeployContext is built on a modern, edge-first architecture that enables global deployment and sub-50ms API key validation. This page explains how the system works under the hood.
DeployContext consists of three main layers:
The Next.js web application handles user interactions, deployment orchestration, and database management.
The edge layer provides global API key validation and request routing with sub-50ms latency worldwide.
MCP servers run on Fly.io, providing isolated containers with automatic scaling and global distribution.
DeployContext supports three transport modes for MCPs:
MCPs that implement HTTP/SSE directly (recommended for new MCPs).
Example: FastAPI server with SSE endpoints
Automatic bridging for stdio-only MCPs. Completely invisible to end users.
Example: Official @modelcontextprotocol packages via npx
MCPs that support --transport sse flag.
Example: Qdrant MCP, PostgreSQL MCP
API keys follow the format: mcp_[24-byte-base64url]_[4-char-checksum]
The build service orchestrates the complete deployment process:
For detailed technical documentation, see the architecture document in our repository.