Catalog MCPs

Returns a paginated list of MCPs for the current organization. Each row includes a managed_by object derived from whether the MCP is linked to an AI Gateway MCP.

get/v1/mcp-servers

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Query parameters

page[size], integer
Example:10

The maximum number of items to include per page. The last page of a collection may include fewer items.

page[number], integer
Example:1

Determines which page of the entities to retrieve.

filter, CatalogMCPFilterParameters

Filter parameters for the MCP list endpoint.

id, UuidFieldFilter

Filter using one of the following operators: eq, oeq, neq

name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

display_name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

labels, LabelsFieldFilter

Filters on the resource's labels field. Filters must use dot-notation to identify the label key that will be used to filter the results. For example:

  • filter[labels.owner]
  • filter[labels.owner][neq]=kong
  • filter[labels.env]=dev
  • filter[labels.env][ocontains]=dev,test
created_at, union

Filters on the given datetime (RFC-3339) field value.

updated_at, union

Filters on the given datetime (RFC-3339) field value.

Filter MCPs returned in the response.

{
  "created_at": {
    "eq": "2022-03-30T07:20:50Z"
  },
  "updated_at": {
    "eq": "2022-03-30T07:20:50Z"
  }
}
sort, string

The asc suffix is optional as the default sort order is ascending. The desc suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').

Example:created_at desc

Sort MCPs by specified fields. Supported sort attributes are:

  • display_name
  • name
  • created_at
  • updated_at

Default sort is display_name in ascending order.

Response

Response schema for a paginated list of MCPs.

object required
meta, PaginatedMeta required

returns the pagination information

data, CatalogMCP[] required

Example response

{
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 100
    }
  },
  "data": [
    {
      "id": "7703e2f2-f9c0-47e3-9146-5fa50486b871",
      "name": "my-mcp",
      "display_name": "My MCP",
      "description": "Description of MCP.",
      "labels": {
        "env": "test"
      },
      "managed_by": {
        "owner": "terraform"
      },
      "created_at": "2022-11-04T20:10:06.927Z",
      "updated_at": "2022-11-04T20:10:06.927Z"
    }
  ]
}

Changes

    • breaking

      the data/items/managed_by/additionalProperties response property's maxLength was increased from 63 to 127 for the response status

    • info

      the data/items/managed_by/additionalProperties response's property pattern was changed from ^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$ to ^[^\s\x00-\x1F\x7F-\x9F]+$ for the status

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    2 more changes in this revision