List Servers
GEThttps://api.confident-ai.com/v2/mcp-servers
Lists the MCP servers registered in your Confident AI project one page at a time, ordered by name. Credentials are never included here — neither the static headers nor the OAuth config — so retrieve a server by id to see its configuration.
curl -X GET "https://api.confident-ai.com/v2/mcp-servers" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"mcpServers": [
{
"id": "<MCP-SERVER-ID>",
"name": "Internal Tools",
"description": "Internal engineering tools",
"transport": "STDIO",
"url": "https://mcp.internal.example.com/sse",
"connected": true
}
],
"totalMcpServers": 3,
"page": 1,
"pageSize": 25
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Query parameters
pageintegerdefault: 1The page to return. Defaults to 1.
pageSizeintegerdefault: 25The number of results per page, at most 100. Defaults to 25.
Response
List Servers succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne page of MCP servers, with the total across all pages.
Show 4 propertiesHide 4 properties
mcpServerslist of objectsThe MCP servers for the current page, ordered by name.
Show 6 propertiesHide 6 properties
idstringThe id of the MCP server, generated by Confident AI.
namestringThe name of the MCP server.
descriptionstring | nullWhat the MCP server is for.
transportenumHow Confident AI reaches the server.
HTTPrequiresurland is the only transport that authenticates;STDIOrequirescommandand launches the server as a local process.Show 2 enum valuesHide 2 enum values
STDIOHTTP
urlstring | nullThe URL of the server. Only set when
transportisHTTP.connectedbooleanWhether the last connection attempt succeeded.
totalMcpServersintegerThe total number of MCP servers in this project.
pageintegerThe page this response covers.
pageSizeintegerThe number of MCP servers per page.
deprecatedbooleanIndicates if this endpoint is deprecated.