Skip to content
  • Auto
  • Light
  • Dark
DiscordForumGitHubSign up
View as Markdown
Copy Markdown

Open in Claude
Open in ChatGPT

Mcp Servers

Create Mcp Server
post/v1/mcp-servers/
List Mcp Servers
get/v1/mcp-servers/
Retrieve Mcp Server
get/v1/mcp-servers/{mcp_server_id}
Delete Mcp Server
delete/v1/mcp-servers/{mcp_server_id}
Update Mcp Server
patch/v1/mcp-servers/{mcp_server_id}
Refresh Mcp Server Tools
patch/v1/mcp-servers/{mcp_server_id}/refresh
ModelsExpand Collapse
CreateSseMcpServer = object { server_url, auth_header, auth_token, 2 more }

Create a new SSE MCP server

server_url: string

The URL of the server

auth_header: optional string

The name of the authentication header (e.g., 'Authorization')

auth_token: optional string

The authentication token or API key value

custom_headers: optional map[string]

Custom HTTP headers to include with requests

mcp_server_type: optional "sse"
Accepts one of the following:
"sse"
CreateStdioMcpServer = object { args, command, env, mcp_server_type }

Create a new Stdio MCP server

args: array of string

The arguments to pass to the command

command: string

The command to run (MCP 'local' client will run this command)

env: optional map[string]

Environment variables to set

mcp_server_type: optional "stdio"
Accepts one of the following:
"stdio"
CreateStreamableHTTPMcpServer = object { server_url, auth_header, auth_token, 2 more }

Create a new Streamable HTTP MCP server

server_url: string

The URL of the server

auth_header: optional string

The name of the authentication header (e.g., 'Authorization')

auth_token: optional string

The authentication token or API key value

custom_headers: optional map[string]

Custom HTTP headers to include with requests

mcp_server_type: optional "streamable_http"
Accepts one of the following:
"streamable_http"
SseMcpServer = object { server_name, server_url, id, 4 more }

An SSE MCP server

server_name: string

The name of the MCP server

server_url: string

The URL of the server

id: optional string

The human-friendly ID of the Mcp_server

auth_header: optional string

The name of the authentication header (e.g., 'Authorization')

auth_token: optional string

The authentication token or API key value

custom_headers: optional map[string]

Custom HTTP headers to include with requests

mcp_server_type: optional "sse"
Accepts one of the following:
"sse"
StdioMcpServer = object { args, command, server_name, 3 more }

A Stdio MCP server

args: array of string

The arguments to pass to the command

command: string

The command to run (MCP 'local' client will run this command)

server_name: string

The name of the MCP server

id: optional string

The human-friendly ID of the Mcp_server

env: optional map[string]

Environment variables to set

mcp_server_type: optional "stdio"
Accepts one of the following:
"stdio"
StreamableHTTPMcpServer = object { server_name, server_url, id, 4 more }

A Streamable HTTP MCP server

server_name: string

The name of the MCP server

server_url: string

The URL of the server

id: optional string

The human-friendly ID of the Mcp_server

auth_header: optional string

The name of the authentication header (e.g., 'Authorization')

auth_token: optional string

The authentication token or API key value

custom_headers: optional map[string]

Custom HTTP headers to include with requests

mcp_server_type: optional "streamable_http"
Accepts one of the following:
"streamable_http"
UpdateSseMcpServer = object { server_url, auth_header, auth_token, 2 more }

Update schema for SSE MCP server - all fields optional

server_url: string

The URL of the server

auth_header: optional string

The name of the authentication header (e.g., 'Authorization')

auth_token: optional string

The authentication token or API key value

custom_headers: optional map[string]

Custom HTTP headers to include with requests

mcp_server_type: optional "sse"
Accepts one of the following:
"sse"
UpdateStdioMcpServer = object { args, command, env, mcp_server_type }

Update schema for Stdio MCP server - all fields optional

args: array of string

The arguments to pass to the command

command: string

The command to run (MCP 'local' client will run this command)

env: optional map[string]

Environment variables to set

mcp_server_type: optional "stdio"
Accepts one of the following:
"stdio"
UpdateStreamableHTTPMcpServer = object { server_url, auth_header, auth_token, 2 more }

Update schema for Streamable HTTP MCP server - all fields optional

server_url: string

The URL of the server

auth_header: optional string

The name of the authentication header (e.g., 'Authorization')

auth_token: optional string

The authentication token or API key value

custom_headers: optional map[string]

Custom HTTP headers to include with requests

mcp_server_type: optional "streamable_http"
Accepts one of the following:
"streamable_http"

Mcp ServersTools

List Tools For Mcp Server
get/v1/mcp-servers/{mcp_server_id}/tools
Retrieve Mcp Tool
get/v1/mcp-servers/{mcp_server_id}/tools/{tool_id}
Run Mcp Tool
post/v1/mcp-servers/{mcp_server_id}/tools/{tool_id}/run