MCP

Add or update an MCP server

Upserts an MCP server config. If no server with name exists it is installed; otherwise it is updated and restarted. The body name must match the path name. For transport: stdio the stdio block is required; for transport: http-sse the httpSSE block is required.

put/v1/mcp-servers/{name}

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/mcp-servers/{name}
  • Auth: HTTP bearer

Path parameters

namestring required

Request body

idstring uuid required
namestring required
enabledboolean required
transport'stdio' | 'http-sse' required
sourcestring nullable
registryIDstring nullable
createdAtstring date-time required

Response

Server added or updated

namestring required
registryIDstring nullable
transport'stdio' | 'http-sse' required
enabledboolean required
status'running' | 'starting' | 'failed' | 'stopped' required
toolCountinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.