Custom MCP Server Support
The v0 API now supports connecting to custom MCP servers, enabling teams to extend v0's capabilities with domain-specific tools and data sources. This opens up new possibilities for AI-assisted development by allowing MCP servers to be provisioned and utilized directly within v0 chat sessions.
How It Works
Creating a custom MCP server is straightforward. Teams can now configure servers programmatically by providing the server name, endpoint URL, and necessary authentication details:
const server = await v0.mcpServers.create({
name: "Vercel",
url: "https://mcp.vercel.com",
})
Once configured, these servers become available as references during chat sessions. Developers simply pass the server ID when initiating a chat to make those custom tools accessible to v0:
await v0.chats.create({
message: "Build a heatmap of my team's Vercel deployments.",
mcpServerIds: [server.id],
})
Developer Impact
This feature enables teams to integrate internal tools, APIs, and data sources directly into v0's AI-assisted development workflow. Instead of relying only on v0's built-in capabilities, teams can now leverage custom MCP servers to provide AI with access to proprietary systems, monitoring tools, or domain-specific utilities.
For more details and implementation guidance, see the v0 API documentation.