execute_mcp_tool
Execute any MCP tool across configured servers by providing server name, tool name, and arguments. The proxy handles connection pooling and configuration discovery.
Instructions
Execute any available MCP tool through the proxy.
This is the universal gateway for calling MCP tools. The proxy spawns MCP servers on-demand and maintains a connection pool for efficient reuse. MCP configurations are read from ~/.claude.json or ~/.agentcockpit/mcps.json.
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": {
"mcp_name": "<mcp_name>",
"tool_name": "<tool_name>",
"arguments": "<arguments>"
},
"name": "execute_mcp_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mcp_name | Yes | Name of the MCP server (e.g., "Context7", "sequential-thinking") | |
| arguments | Yes | Tool arguments as a dictionary matching the tool's schema | |
| tool_name | Yes | Name of the tool to execute (e.g., "get-library-docs") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||