connect_mcp_server
Connects to another MCP server by specifying its name, command, and optional arguments or environment variables, enabling request routing and orchestration across servers.
Instructions
Connect to another MCP server.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server_name": "<server_name>",
"command": "<command>"
},
"name": "connect_mcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| args | No | ||
| command | Yes | ||
| server_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |