Disconnect Mcp
POST/v1/agents/:agent_id/mcp/disconnect
Disconnect from MCP server.
Closes any active connection and cleans up resources.
This does NOT remove the saved mcp_config from the agent.
Example Response:
{
"status": "disconnected",
"agent_id": "abc123-..."
}
Request
Responses
- 200
- 422
Successful Response
Validation Error