Grant an agent access to an MCP server’s tools.
Authorization: Bearer <token> header.
all or selectedaccess_mode is selected| Code | Description |
|---|---|
201 | Access granted successfully |
400 | Invalid request (validation error) |
401 | Unauthorized - invalid or missing authentication |
404 | MCP server or agent not found |
409 | Agent already has access to this server |