Manage your MCP servers.
/api/servers
GET
/api/servers
POST
name
(string, required): The unique name for the server.config
(object, required): The server configuration object.
type
(string): stdio
, sse
, streamable-http
, or openapi
.command
(string): Command to execute for stdio
type.args
(array of strings): Arguments for the command.url
(string): URL for sse
, streamable-http
, or openapi
types.openapi
(object): OpenAPI configuration.
url
(string): URL to the OpenAPI schema.schema
(object): The OpenAPI schema object itself.headers
(object): Headers to send with requests for sse
, streamable-http
, and openapi
types.keepAliveInterval
(number): Keep-alive interval in milliseconds for sse
type. Defaults to 60000.owner
(string): The owner of the server. Defaults to the current user or ‘admin’./api/servers/:name
PUT
:name
(string, required): The name of the server to update.config
(object, required): The updated server configuration object. See “Create a New Server” for details./api/servers/:name
DELETE
:name
(string, required): The name of the server to delete./api/servers/:name/toggle
POST
:name
(string, required): The name of the server to toggle.enabled
(boolean, required): true
to enable the server, false
to disable it./api/servers/:serverName/tools/:toolName/toggle
POST
:serverName
(string, required): The name of the server.:toolName
(string, required): The name of the tool.enabled
(boolean, required): true
to enable the tool, false
to disable it./api/servers/:serverName/tools/:toolName/description
PUT
:serverName
(string, required): The name of the server.:toolName
(string, required): The name of the tool.description
(string, required): The new description for the tool.