---
title: "List MCPServer (scoped by ?namespace)"
method: GET
path: "/v0/mcpservers"
---

# List MCPServer (scoped by ?namespace)

`GET /v0/mcpservers`

## Query parameters

- `namespace` string — Namespace (defaults to 'default'; 'all' lists across all namespaces).
- `limit` integer — Max items to return (default 50).
- `cursor` string — Opaque pagination cursor.
- `labels` string — Label selector: key=value,key2=value2.
- `tag` string — Restrict the result set to one tag value (tagged artifact kinds only).
- `latestOnly` boolean — Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
- `includeTerminating` boolean — Include rows with a deletionTimestamp.

## Response `200`

OK

- ListOutputMCPServerBody
  - `items` MCPServer[], nullable, required
    - `apiVersion` string, required
    - `kind` string, required
    - `metadata` ObjectMeta, required
      - `annotations` object
      - `createdAt` string, date-time
      - `deletionTimestamp` string, date-time
      - `labels` object
      - `name` string, required
      - `namespace` string
      - `tag` string
      - `uid` string
      - `updatedAt` string, date-time
    - `spec` MCPServerSpec, required
      - `description` string
      - `iconUrl` string
      - `remote` MCPRemote
        - `headers` HTTPHeader[], nullable
          - `name` string, required
          - `value` string
        - `type` string, required
        - `url` string, required
      - `source` MCPServerSource
        - `package` MCPPackage
          - `launch` MCPPackageLaunch
            - `args` MCPArgument[], nullable
              - …
            - `command` string
            - `env` MCPKeyValueInput[], nullable
              - …
          - `origin` MCPPackageOrigin, required
            - `identifier` string, required
            - `npm` MCPPackageOriginNPM
              - …
            - `oci` MCPPackageOriginOCI
              - …
            - `pypi` MCPPackageOriginPyPI
              - …
            - `type` string, required
          - `transport` MCPTransport, required
            - `path` string
            - `port` integer
            - `type` string, required
        - `repository` Repository
          - `branch` string
          - `commit` string
          - `credentialsRef` LocalSecretReference
            - `name` string, required
          - `subfolder` string
          - `url` string
      - `title` string
    - `status` Status
      - `conditions` Condition[], nullable
        - `lastTransitionTime` string, date-time
        - `message` string
        - `reason` string
        - `status` string, required
        - `type` string, required
      - `details` unknown
  - `nextCursor` string

## Other responses

- `default` — Error

## Changes

> 53 revisions in range; 2 could not be searched.

- **2026-08-04** `efe6438524aa` — 1 info
  - added the optional property `items/items/spec/iconUrl` to the response with the `200` status
- **2026-06-08** `63eaef9e6b53` — 1 warning
  - removed the optional property `items/items/spec/openapi` from the response with the `200` status
- **2026-06-08** `ff1b6e975478` — 2 breaking, 8 warning, 2 info
  - removed the required property `items/items/spec/source/package/identifier` from the response with the `200` status
  - removed the required property `items/items/spec/source/package/registryType` from the response with the `200` status
  - removed the optional property `items/items/spec/source/package/environmentVariables` from the response with the `200` status
  - removed the optional property `items/items/spec/source/package/fileSha256` from the response with the `200` status
  - …8 more
- **2026-06-05** `42dc5b140c68` — 1 info
  - added the optional property `items/items/spec/openapi` to the response with the `200` status
- **2026-05-27** `899acd26be42` — 1 info
  - added the optional property `items/items/spec/source/package/serverName` to the response with the `200` status

[Full history](https://skmtc.dev/agentregistry-dev/apis/agentregistry/changes/v0/mcpservers/get.md)

---

[API](https://skmtc.dev/agentregistry-dev/apis/agentregistry.md) · [All operations](https://skmtc.dev/agentregistry-dev/apis/agentregistry/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentregistry-dev/agentregistry/revisions/d34de2400d39/schema)
