List MCP servers with optional filters and pagination
Changed onRetrieves a paginated list of MCP servers associated with the authenticated project. Results can be filtered by name, toolkit, or authentication configuration ID. MCP servers are used to provide Model Control Protocol integration points for connecting AI assistants to your applications and services.
Request
- Base URLhttps://backend.composio.dev
- URLhttps://backend.composio.dev/api/v3.1/mcp/servers
- AuthAPI key in header x-api-key
Query parameters
Name substring to filter servers by
Filter MCP servers by name (case-insensitive partial match)
Comma-separated list of toolkit slugs to filter servers by
Comma-separated list of auth config IDs to filter servers by
Field to use for ordering the results
Field to order results by
Sort direction (ascending or descending)
Direction of ordering
Page number to retrieve
Page number for pagination (1-based)
Number of servers to return per page
Number of items per page (default: 10)
Response
Successfully retrieved MCP servers. Returns a paginated list of server configurations including connection details and command instructions.
Example response
{
"items": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "GitHub Integration Server",
"auth_config_ids": [
"ac_1a2b3c4d5e6f",
"ac_7g8h9i0j1k2l"
],
"allowed_tools": [
"GITHUB_CREATE_AN_ISSUE",
"GITHUB_GET_A_REPOSITORY"
],
"mcp_url": "https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john",
"commands": {
"cursor": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client cursor",
"claude": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client claude",
"windsurf": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?user_id=john\" --client windsurf"
},
"toolkits": [
"github",
"jira",
"slack"
],
"toolkit_icons": {
"github": "https://assets.composio.dev/logos/github.png",
"jira": "https://assets.composio.dev/logos/jira.png",
"slack": "https://assets.composio.dev/logos/slack.png"
},
"updated_at": "2023-06-15T14:30:00.000Z",
"created_at": "2023-06-10T09:15:00.000Z",
"server_instance_count": 5,
"managed_auth_via_composio": true
}
],
"total_pages": 5,
"current_page": 1
}Changes
- breaking
for the
queryrequest parameterlimit, the type changed fromnumbertointeger - breaking
for the
queryrequest parameterpage_no, the type changed fromnumbertointeger - warning
for the
queryrequest parameterlimit, the exclusiveMinimum was set totrue - warning
for the
queryrequest parameterpage_no, the exclusiveMinimum was set totrue - warning
for the
queryrequest parameterlimit, the min was set to0.00 - warning
for the
queryrequest parameterpage_no, the min was set to0.00 - info
api operation id
getV3_1McpServersremoved and replaced withgetMcpServers - info
api tag
Serversremoved - info
endpoint deprecated
- breaking
- info
added the non-success response with the status
- info