1 min read
The v0 API now supports connecting to any custom MCP server. Teams can configure new servers programmatically by providing the necessary endpoint and authentication details.
import { v0 } from "v0-sdk"
const server = await v0.mcpServers.create({ name: "Vercel", url: "https://mcp.vercel.com",})Once configured, you can make these custom servers available directly during a v0 chat session by referencing the server ID:
import { v0 } from "v0-sdk"
await v0.chats.create({ message: "Build a heatmap of my team's Vercel deployments.", mcpServerIds: [server.id],})Visit the v0 API docs.