v0 Platform APIAPI ReferenceMCP Servers
Delete MCP Server
Deletes an MCP server and removes any associated OAuth tokens. This action is irreversible.
DEL/v1/mcp-servers/{mcpServerId}
Usage
TypeScript Example
import { v0 } from 'v0-sdk'const result = await v0.mcpServers.delete({ mcpServerId: 'mcp_123',})console.log(result)API Signature
Request
Path Parameters
mcpServerId: string
The ID of the MCP server to delete. Provided as a path parameter.
Response
id: string
object: 'mcp_server'
deleted: 'true'
Update MCP Server
Updates the configuration of an existing MCP server, including its name, URL, authentication, or enabled status. Supports partial updates.
Get Usage Report
Retrieves detailed usage events for the authenticated user or team, including costs, event types, models used, and metadata. Shows the same data as displayed in the usage dashboard. Can be filtered by chatId to show usage for a specific chat, or by userId to show usage for a specific user.