cURL
curl --request GET \ --url http://localhost:63372/api/captain/agents/{id}/mcp/servers \ --cookie captain_session=
{ "mcp_servers": [ { "name": "filesystem", "enabled": true, "transport": "stdio", "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/tmp" ], "url": null, "env": {} } ] }
List all MCP servers configured for an agent.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
Agent ID
MCP servers list
Show child attributes