Model Context Protocol
Model Context Protocol (MCP) is a standard interface that lets large language models (LLMs) communicate with external tools and data sources. It allows developers and tool providers to integrate once and interoperate with any MCP-compatible system.
- Get started with deploying MCP servers on Vercel
- Try out Vercel's MCP server
- Connect eve, AI SDK, or TanStack AI to MCP servers
LLMs don't have access to real-time or external data by default. To provide relevant context, such as current financial data, pricing, or user-specific data, developers must connect LLMs to external systems.
Each tool or service has its own API, schema, and authentication. Managing these differences becomes difficult and error-prone as the number of integrations grows.
MCP standardizes the way LLMs interact with tools and data sources. Developers implement a single integration with MCP, and use it to manage communication with any compatible service.
Tool and data providers only need to expose an MCP interface once. After that, their system can be accessed by any MCP-enabled application.
MCP is like the USB-C standard: instead of needing different connectors for every device, you use one port to handle many types of connections.
MCP uses a client-server architecture for the AI model to external system communication. The user connects to the AI application, referred to as the MCP host, such as IDEs like Cursor, AI chat apps like ChatGPT or AI agents. To connect to external services, the host creates one connection, referred to as the MCP client, to one external service, referred to as the MCP server. Therefore, to connect to multiple MCP servers, one host needs to open and manage multiple MCP clients.
Use mcp-handler to expose your application's tools, resources, and prompts to MCP clients. The package builds on the MCP TypeScript SDK and turns your server definition into a Web-standard HTTP request handler.
You can use mcp-handler with Next.js, Nuxt, SvelteKit, Hono, and other frameworks that support Web-standard Request and Response APIs. Follow the deployment guide to create a tool, test your MCP server, and deploy it on Vercel.
Learn more about Model Context Protocol and explore available MCP servers.
- Deploy your own MCP servers on Vercel
- Explore MCP integrations for eve, AI SDK, and TanStack AI
- Authorize access to OAuth-protected MCP servers with Vercel Connect
- Use the AI SDK to initialize an MCP client on your MCP host to connect to an MCP server
- Use the AI SDK to call tools that an MCP server provides
- Use Vercel's MCP server
- Explore the list from MCP servers repository
Was this helpful?