mcp_add_server
Register a new MCP server configuration to enable dynamic invocation of its tools via the mcp_invoke tool.
Instructions
Add a new MCP server configuration. Use this to register MCP servers that can then be invoked via mcp_invoke.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier for the server | |
| cwd | No | Working directory (for stdio) | |
| env | No | Environment variables (for stdio) | |
| url | No | URL (required for sse/http-stream) | |
| args | No | Command arguments (for stdio) | |
| name | Yes | Human-readable name | |
| tags | No | Tags for categorization | |
| command | No | Command to run (required for stdio) | |
| enabled | No | Whether server is enabled | |
| headers | No | HTTP headers (for sse/http-stream) | |
| persist | No | Save to config file | |
| transport | Yes | Transport type | |
| description | No | Description of the server |