Attach MCP server
attach_mcp_serverAttach an existing MCP server so its tools are available to the agent.
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": {
"agent_id": "<agent_id>",
"server_id": "<server_id>"
},
"name": "attach_mcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Target agent's id (from list_agents / create_agent / get_catalog view=agents). | |
| server_id | Yes | Id of the MCP server (from get_catalog view=mcp_servers). |