McpServers

Partially update MCP server

Changed on

Partially update an MCP server object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.

patch/v1/mcp_server/{mcp_server_id}

Request

  • Base URL
    https://api.braintrust.dev
  • Auth
    • HTTP bearer
    • or none

Path parameters

mcp_server_idstring uuid required

McpServer id

Request body

namestring nullable

Name of the MCP server. Within a project, MCP server names are unique

urlstring nullable

URL of the MCP server endpoint

descriptionstring nullable

Textual description of the MCP server

Response

Returns the MCP server object

idstring uuid required

Unique identifier for the MCP server

project_idstring uuid required

Unique identifier for the project that the MCP server belongs under

user_idstring uuid nullable

Identifies the user who created the MCP server

createdstring date-time nullable

Date of MCP server creation

deleted_atstring date-time nullable

Date of MCP server deletion, or null if the MCP server is still active

namestring required

Name of the MCP server. Within a project, MCP server names are unique

descriptionstring nullable

Textual description of the MCP server

urlstring required

URL of the MCP server endpoint

Changes