Addressing security and quality issues with MCP tools in AI Agent
Vercel just shipped a fix for the MCP security problem nobody saw coming: static tool definitions that won't break your agents in production.

Why it matters
As enterprises adopt Model Context Protocol (MCP) for AI agent tool federation, dynamic tool definitions create hidden security and cost risks. Vercel's mcp-to-ai-sdk CLI addresses this by freezing tool schemas in code, giving teams explicit control over when changes propagate to production agents.
The key facts
11 to knowMCP emerging as standard for federating tool calls between agents
Tool names, descriptions, and schemas can change unexpectedly in production
Risk exists even when upstream MCP servers are not compromised
Vercel shipped mcp-to-ai-sdk CLI to generate static AI SDK tool definitions
Static definitions become part of codebase, only change on explicit updates
Targets enterprises adopting MCP as microservice architecture for AI applications
Model Context Protocol emerging as standard for agent tool federation
Enterprises adopting MCP as microservice architecture for tool reuse
Risk: tool names, descriptions, schemas can change unexpectedly without warning
Static definitions reduce security, cost, and quality issues in production agents
Definitions stored in codebase, only change on explicit updates
Go to the source
Vercel Blogvercel.com
Publisher excerpt: Model Context Protocol (MCP) is emerging as a standard protocol for federating tool calls between agents. Enterprises are starting to adopt MCP as a type of microservice architecture for teams to reuse each other's tools across different AI applications. But there are real risks with using MCP…
