Glossary

MCP Transport

MCP transports define how AI clients communicate with MCP servers. The protocol supports two transport types: HTTP (for cloud-deployed servers accessible over the internet) and STDIO (for local servers that communicate through standard input/output).

Explanation

Transport choice affects deployment, latency, and accessibility. HTTP transport makes your MCP server available to any AI client over the internet — ideal for SaaS products and public-facing services. It supports TLS encryption, standard authentication headers, and load balancing. STDIO transport runs your MCP server as a local process, communicating through stdin/stdout — ideal for developer tools, CLI integrations, and local-first workflows. Some MCP servers support both transports simultaneously, allowing the same codebase to serve both cloud and local clients. xmcp handles transport configuration automatically — you deploy to Vercel for HTTP or run locally for STDIO without changing your tool definitions.

Related Terms

Ready to build your own MCP server?

Take the 2-minute quiz to find out if MCP is the right fit for your project, then get a step-by-step plan to ship it.