Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Get a Virtual MCP server

GET/api/v1/mcp/configs/{config_id}

Returns a single MCP configuration for the current environment by ID.

Authorization

Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.

Path parameters

config_idstringrequired
ID of the MCP configuration to fetch

Response 200

configobject
The requested MCP configuration
Show 5 child attributes
connection_tool_mappingsarray of object
List of connection-to-tool mappings for this MCP config. Maximum 25 entries.
Show 6 child attributes
connected_account_idstring
Connected account backing this connection in the MCP instance context
connected_account_statusstring
Authentication status for the connected account
connection_idstring
Unique ID of the connection
connection_namestring
Developer-assigned connection name
providerstring
Provider name for this connection
toolsarray of string
List of tool names linked to this connection (empty = all tools)
descriptionstring
Description of the MCP configuration
idstring
Unique ID of the MCP config
mcp_server_urlstring
The URL MCP clients connect to for this server. Every user and session shares it; the session token identifies the user.
namestring
Unique name for the MCP configuration. Must be 1–100 characters. Allowed characters: lowercase letters (a–z), digits (0–9), hyphens (-), and underscores (_).

Errors

Every error has the same body: code, message and details. See Errors and rate limits.

400Invalid request
401Authentication required
404Not Found - MCP configuration does not exist