Skip to main content
PUT
Update MCP Server

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

server_id
string<uuid>
required

Unique identifier of the MCP server.

Body

application/json

Pydantic model for MCP server CRUD operations.

name
string
required

Human-readable name for this MCP server.

command
string
required

Executable command, such as npx or node.

args
string[]

Command arguments.

env
Env · object | null

Environment variables.

enabled
boolean
default:true

Whether this MCP server is active.

Response

Successful Response

Response model for MCP server configs returned from the API.

id
string
required

Unique identifier of the MCP server.

name
string
required

Human-readable name for this MCP server.

command
string
required

Executable command, such as npx or node.

args
string[]
required

Command arguments.

enabled
boolean
required

Whether this MCP server is active.

created_at
string
required

ISO 8601 timestamp when the MCP server was created.

updated_at
string
required

ISO 8601 timestamp when the MCP server was last updated.

env
Env · object | null

Environment variables.