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

推荐订阅源

Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
MyScale Blog
MyScale Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
爱范儿
爱范儿
P
Proofpoint News Feed
人人都是产品经理
人人都是产品经理
Last Week in AI
Last Week in AI
罗磊的独立博客
G
Google Developers Blog
Y
Y Combinator Blog
博客园 - 【当耐特】
WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
J
Java Code Geeks
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
美团技术团队
宝玉的分享
宝玉的分享
Jina AI
Jina AI
小众软件
小众软件
T
Tailwind CSS Blog
A
About on SuperTechFans

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
OAuth support added to MCP Adapter - Vercel – Vercel
2025-07-15 · via Vercel News

1 min read

Secure your MCP servers with OAuth using version 1.0.0 of the MCP Adapter, which now includes official support for the MCP Authorization spec. This release introduces:

  • Helper functions for OAuth-compliant authorization flows

  • A new withMcpAuth wrapper for securing routes

  • One-click deployable examples with popular auth providers like Better Auth, Clerk, Descope, Stytch, and WorkOS

Here’s an example of how to integrate auth in your MCP server:

app/[transport]/route.ts

import { createMcpHandler, withMcpAuth } from 'mcp-handler';

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}!` }] };

}

);

})

const verifyToken = async (

req: Request,

bearerToken?: string,

) => {

if (!bearerToken) return undefined;

const isValid = bearerToken === '123';

if (!isValid) return undefined;

return {

token: bearerToken,

scopes: ['read:stuff'],

clientId: 'client123',

};

};

const authHandler = withMcpAuth(handler, verifyToken, {

required: true,

});

export { authHandler as GET, authHandler as POST };

Additionally, use the protectedResourceHandler to expose resource server metadata for compliant clients. Learn more in the MCP Auth documentation.

Link to headingStart building secure MCP servers

Deploy an example MCP server by cloning our Next.js MCP template, or explore starter integrations from our auth partners:

MCP Server with Next.js

Get started building your first MCP server on Vercel.

Deploy now