cURL
curl --request POST \ --url http://localhost:63372/api/captain/agents/{id}/mcp/servers/{name}/test \ --cookie captain_session=
{ "ok": true, "message": "Connected successfully, 5 tool(s) available", "tools": [ { "name": "read_file", "description": "Read contents of a file" } ] }
Test the MCP server connection and list available tools.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
Agent ID
MCP server name
Connection test result
"Connected successfully, 5 tool(s) available"
Show child attributes