Management API
Get MCP Server Instances
Retrieve all MCP server instances for the authenticated user.
Overview
This endpoint returns all MCP server connections that belong to the authenticated user, providing an overview of their configured integrations.
Prerequisites
- Valid OAuth Token - Bearer token with
mgmt.read
scope
Request
Headers
Header | Type | Required | Description |
---|---|---|---|
Authorization | string | Yes | Bearer token from OAuth authentication |
Content-Type | string | Yes | Must be application/json |
Response
Success Response (200 OK)
Response Fields
Field | Type | Description |
---|---|---|
success | boolean | Whether the request was successful |
data | array | Array of user’s connections |
Connection Object Fields
Each connection in the data
array contains:
Field | Type | Description |
---|---|---|
id | integer | Unique identifier for the connection |
mcp_server_name | string | Human-readable name of the integration |
api_key_verification_status | string | API key validation status (“pending”, “verified”, “failed”) |
oauth2_client_id | string | OAuth2 client ID for MCP server communication |
oauth2_scopes | array | OAuth2 scopes granted for this connection |
agent_enabled | boolean | Whether the connection is enabled for agent use |
disabled_tools | array | List of disabled tool IDs |
created_at | string | ISO timestamp when connection was created |
Error Responses
Unauthorized (401)
Forbidden (403)
Internal Server Error (500)
Examples
Get All User Connections
Response with Multiple Connections
Response with No Connections
Implementation Notes
Access Control
- Users can only see their own connections
- Connection ownership is verified against the authenticated user
- Admin users may have broader access (implementation-dependent)
Data Privacy
- Sensitive information like API keys are not returned
- Only metadata and configuration are included
- OAuth client secrets are never exposed
Connection Status
api_key_verification_status
reflects the current validation stateagent_enabled
indicates if the connection is active for agent usedisabled_tools
shows which tools have been individually disabled
Empty Results
- New users will receive an empty array
- This is a valid response and not an error condition
- The response format remains consistent
Related Endpoints
- Get Available Integrations - List available integrations
- Create Connection - Create a new connection
- Get Connection Details - Get specific connection information
- Get Connection Tools - List tools for a connection