Add a new MCP server to an agent.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
Agent ID
"filesystem"
true
stdio, sse, http "stdio"
"npx"
[
"-y",
"@modelcontextprotocol/server-filesystem",
"/tmp"
]null
{}Success
true