List registered MCP-client servers
GET /admin/ai/mcp-clients
Returns every operator-registered MCP server (enabled + disabled). Each entry carries the connection config, the last-known health status from the per-server poller, and the tool-grant whitelist count.
Stored auth secrets are NOT included — each entry carries
auth_secret_set instead (#711).
Requires mcp.client.admin capability.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Server list
object
One registered MCP server. Each registration becomes one
ai.Provider in the router; the operator-chosen name is
the audit-dashboard identifier and the dispatcher slot key.
object
True when an auth secret is currently stored for this
server. The secret itself is NEVER returned — despite the
_ref name on the write side it holds the live bearer
token / header value, and a stored credential has no
read-back workflow, so no capability reads it back
(#711). Set it via POST / PATCH auth_secret_ref.
Authentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completed