Deploy an MCP Server to Production

For a shared remote server, use Streamable HTTP rather than treating a development stdio process as a web service.

Deployment checklist

Separate protocol from business services

Keep MCP handlers thin. Deployment should not force your domain logic to depend on transport details.

Roll out gradually

Start with read-only tools and a limited caller set. Add mutations only after authorization, observability, and approval behavior have been exercised.