---
title: "List MCP servers with optional filters"
method: GET
path: "/api/mcp-servers"
tags: ["MCP Servers"]
---

# List MCP servers with optional filters

`GET /api/mcp-servers`

## Query parameters

- `scope` string
- `transport` string
- `ownerAgentId` string
- `enabled` string
- `search` string

## Response `200`

MCP server list

- object
  - `servers` McpServer[], required
    - `id` string, required
    - `name` string, required
    - `description` string, nullable, required
    - `scope` 'global' | 'swarm' | 'agent', required
    - `ownerAgentId` string, nullable, required
    - `transport` 'stdio' | 'http' | 'sse', required
    - `command` string, nullable, required
    - `args` string, nullable, required
    - `url` string, nullable, required
    - `headers` string, nullable, required
    - `envConfigKeys` string, nullable, required
    - `headerConfigKeys` string, nullable, required
    - `extraAuthorizeParams` string, nullable, required
    - `authMethod` 'static' | 'oauth' | 'auto'
    - `isEnabled` boolean, required
    - `version` number, required
    - `createdAt` string, required
    - `lastUpdatedAt` string, required
  - `total` number, required

## Changes

- **2026-08-07** `06cac6a7c5bc` — 1 info
  - added the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/mcp-servers/get.md)

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/revisions/e0acd2155cad/schema)
