Management API
Get MCP Server Instance
Retrieve details of a specific MCP server instance.
GET
Overview
This endpoint retrieves detailed information about a specific MCP server connection, including configuration, status, and metadata.
Prerequisites
- Valid OAuth Token - Bearer token with
mgmt.read
scope - Existing Connection - Valid MCP server connection ID
Request
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
server_id | integer | Yes | The MCP server connection ID |
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.id | integer | Unique identifier for the connection |
data.mcp_server_name | string | Human-readable name of the integration |
data.api_key_verification_status | string | API key validation status (“pending”, “verified”, “failed”) |
data.oauth2_client_id | string | OAuth2 client ID for MCP server communication |
data.oauth2_scopes | array | OAuth2 scopes granted for this connection |
data.agent_enabled | boolean | Whether the connection is enabled for agent use |
data.disabled_tools | array | List of disabled tool IDs |
data.created_at | string | ISO timestamp when connection was created |
Error Responses
Connection Not Found (404)
Unauthorized (401)
Forbidden (403)
Internal Server Error (500)
Examples
Get Connection Details
Response
Implementation Notes
Access Control
- Users can only access 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 in responses
- Only metadata and configuration are included
- OAuth client secrets are never exposed
Status Information
- API key verification status reflects the current state
- OAuth scopes show the permissions granted to this connection
- Agent enabled status indicates if the connection is active
Related Endpoints
- List User Connections - Get all user connections
- Update Connection - Modify connection settings
- Delete Connection - Delete a connection
- Get Connection Tools - List available tools
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Example:
"srv_123abc"
Response
200 - application/json
MCP server connection details
The response is of type object
.