Skip to content
Read a registered MCP server

Read a registered MCP server

Read a registered MCP server's configuration and current setup status.

GET/api/v1/mcp-integrations/:key

Request#

TypeScript
const response = await fetch("https://api.smallworld.sh/api/v1/mcp-integrations/example-mcp", {
  method: "GET",
  headers: { Authorization: `Bearer ${apiKey}` },
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
const result = await response.json();

Use your server-side apiKey. Replace the example IDs.

Path parameters#

keystringrequired

The saved integration's command key, URL-encoded.

Responses#

Returns identity, URL, sign-in mode, callback URL, scopes, setup status/message, enablement, acknowledged tool changes, and timestamps. OAuth client credentials and end-user credentials are never returned.

200 response
{
  "id": "72b98ef7-4750-4521-b11d-82c114aa56f4",
  "key": "example-mcp",
  "name": "Example MCP",
  "description": "Record tools",
  "url": "https://mcp.example.com/mcp",
  "authMode": "oauth2",
  "authorizationServerUrl": null,
  "oauthAppRequired": true,
  "scopes": [
    "read"
  ],
  "apiKeyHeader": null,
  "redirectUri": "https://api.example.com/api/integrations/oauth/mcp/72b98ef7-4750-4521-b11d-82c114aa56f4/callback",
  "enabled": true,
  "setupStatus": "unverified",
  "setupMessage": "OAuth app configured. Connection not yet tested.",
  "toolChanges": {
    "added": [],
    "changed": [],
    "removed": []
  },
  "createdAt": "2026-10-22T10:00:00.000Z",
  "updatedAt": "2026-10-22T10:00:00.000Z"
}
More about this endpoint

Authenticate with a workspace API key. Unknown body fields and query parameters are rejected.