The v0 API now supports connecting to custom MCP (Model Context Protocol) servers programmatically.
- •Teams can configure new MCP servers by providing an endpoint URL and authentication details via the v0 SDK.
- •The v0.mcpServers.create() method accepts a name and URL to register a custom server.
- •Registered servers can be attached to v0 chat sessions using their server ID via the mcpServerIds parameter.
- •This enables use cases like querying team-specific infrastructure data, such as building a heatmap of Vercel deployments.
This summary was automatically generated by AI based on the original article and may not be fully accurate.