MCP Configs
Manage MCP (Model Context Protocol) server configurations. All endpoints require Bearer Token authentication.
Create MCP Config
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name |
transport | string | Yes | stdio/http_sse/streamable_http |
url | string | Conditional | Required when transport != stdio |
bearer_token | string | No | HTTP authentication token (stored encrypted) |
command | string | Conditional | Required when transport == stdio |
args | []string | No | Command line arguments |
cwd | string | No | Working directory |
env | object | No | Extra environment variables |
inherit_parent_env | bool | No | Whether to inherit parent process environment variables |
call_timeout_ms | int | No | Call timeout (ms), default 10000 |
Response 201 Created
has_authbeingtrueindicates thatbearer_tokenis configured, but the plaintext token is not returned in the response.
List MCP Configs
Update MCP Config
Request Body
| Field | Type | Description |
|---|---|---|
name | string | |
url | string | null | |
bearer_token | string | null | null to clear the token |
call_timeout_ms | int | |
is_active | bool | Enable/Disable |