MCP Servers

Create MCP Server

Changed on

Creates a new MCP server configuration. Limited to 100 servers per user.

post/mcp-servers

Request

  • Base URL
    https://api.v0.dev/v2
  • URL
    https://api.v0.dev/v2/mcp-servers
  • Auth
    HTTP bearer

Request body

namestring required

Display name for the MCP server.

urlstring uri required

URL endpoint of the MCP server.

descriptionstring

Optional description of the MCP server.

enabledboolean required

Whether the server should be enabled.

scope'user' | 'team' required

Scope of the MCP server configuration.

Response

Response for status 200

idstring required

Unique identifier for the MCP server.

namestring required

Display name of the MCP server.

urlstring required

URL endpoint of the MCP server.

descriptionstring required

Optional description of the MCP server.

createdAtstring date-time required

ISO timestamp of when the server was created.

updatedAtstring date-time required

ISO timestamp of the last update.

userIdstring required

ID of the user who created the server.

enabledboolean required

Whether the MCP server is enabled.

scope'user' | 'team' required

Scope of the MCP server configuration.

Changes

    • breaking

      removed subschema #1 subschema #2 subschema #3 subschema #4 from the request property anyOf list

    • breaking

      added subschema #1 subschema #2 subschema #3 subschema #4 to the response property oneOf list for the response status

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      the response's property format changed from uri to no format for status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      the endpoint scheme security apiKey was removed from the API

    • info

      api tag MCP Servers added

    • info

      api tag mcpServers removed

    • info

      added the media type application/x-www-form-urlencoded to the request body

    • info

      added the media type multipart/form-data to the request body

    • info

      the request property with a default value became required

    • info

      the request property with a default value became required

    • info

      the request property with a default value became required

    • info

      added subschema #1 subschema #2 subschema #3 subschema #4 to the request property oneOf list

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added subschema #4 to the request property anyOf list