Menu

v0 API now supports custom MCP servers - Vercel
📰
0

v0 API now supports custom MCP servers - Vercel

Vercel News·Max Leiter·4 days ago
#EugkU0WA
#vercel#server#custom#servers#import#photo
Reading 0:00
15s threshold

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.

Read More