惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
WordPress大学
WordPress大学
C
Check Point Blog
GbyAI
GbyAI
U
Unit 42
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
Blog — PlanetScale
Blog — PlanetScale
J
Java Code Geeks
I
InfoQ
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Hugging Face - Blog
Hugging Face - Blog
Vercel News
Vercel News
博客园 - 【当耐特】
美团技术团队
小众软件
小众软件
S
SegmentFault 最新的问题
Jina AI
Jina AI
阮一峰的网络日志
阮一峰的网络日志
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The Cloudflare Blog
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog

Vercel News

Vercel Open Source Program: Winter 2026 cohort How Notion Workers run untrusted code at scale with Vercel Sandbox How we run Vercel's CDN in front of Discourse From idea to secure checkout in minutes with Stripe Building Slack agents can be easy Scaling redirects to infinity on Vercel Advancing Python typing Gamma builds design-first agents with Vercel How Avalara turns pipe dreams into patent-pending with v0 Keeping community human while scaling with agents How OpenEvidence built a healthcare AI that physicians actually trust Security boundaries in agentic architectures Skills Night: 69,000+ ways agents are getting smarter Video Generation with AI Gateway We Ralph Wiggumed WebStreams to make them 10x faster How Stably ships AI testing agents in hours, not weeks How we built AEO tracking for coding agents Anyone can build agents, but it takes a platform to run them Introducing Geist Pixel The Vercel AI Accelerator is back with $6m in credits Making agent-friendly pages with content negotiation The Vercel OSS Bug Bounty program is now available Introducing the new v0 Run untrusted code with Vercel Sandbox, now generally available How Stripe built a game-changing app in a single flight with v0 How Sensay went from zero to product in six weeks AGENTS.md outperforms skills in our agent evals Agent skills explained: An FAQ Testing if "bash is all you need" AWS databases are now live on the Vercel Marketplace and v0
MCP server support on Vercel - Vercel – Vercel
2025-05-07 · via Vercel News

2 min read

Model Context Protocol (MCP) is a way to build integrations for AI models.

Vercel now supports deploying MCP servers (which AI models can connect to) as well as MCP clients (AI chatbot applications which call the servers).

Get started with our Next.js MCP template today.

Link to headingHow is MCP different than APIs?

APIs allow different services to communicate together. MCP is slightly different.

Rather than thinking about MCP like a REST API, you can instead think about it like a tailored toolkit that helps an AI achieve a particular task. There may be multiple APIs and other business logic used behind the scenes for a single MCP tool.

If you are already familiar with tool-calling in AI, MCP is a way to invoke tools hosted on a different server.

MCP now supports a protocol similar to other web APIs, namely using HTTP and OAuth. This is an improvement from the previous stateful Server-Sent Events (SSE) protocol.

Link to headingDeploying MCP servers to Vercel

To simplify building MCP servers on Vercel, we’ve published a new package, @vercel/mcp-adapter, which supports both the older SSE transport and the newer stateless HTTP transport.

app/[transport]/route.ts

import { createMcpHandler } from '@vercel/mcp-adapter';

const handler = createMcpHandler(server => {

server.tool(

'roll_dice',

'Rolls an N-sided die',

{ sides: z.number().int().min(2) },

async ({ sides }) => {

const value = 1 + Math.floor(Math.random() * sides);

return { content: [{ type: 'text', text: `🎲 You rolled a ${value}!` }] };

}

);

});

export { handler as GET, handler as POST, handler as DELETE };

An example MCP server with a single tool call.

The majority of MCP clients currently only support the SSE transport option. To handle state required for the SSE transport, you can integrate a Redis server through any provider in our marketplace like Upstash and Redis Labs.

We’ve already seen customers successfully deploying MCP servers in production. One customer has seen over 90% savings using Fluid compute on Vercel versus traditional serverless. Fluid enables you to have full Node.js or Python compatibility, while having a more cost effective and performant platform for AI inference and agentic workloads.

Link to headingGet started with MCP

Vercel's AI SDK has built-in support for connecting your Node.js or Next.js apps to MCP servers.

We’re looking forward to future MCP servers built with the HTTP transport and starting to explore the latest developments like OAuth support.

Other Vercel projects like shadcn/ui are exploring ways to integrate MCP. If you have suggestions for MCP server use cases on Vercel, you can share your feedback in our community.

MCP Server with Next.js

Get started building your first MCP server on Vercel.

Deploy now