Catalog MCPs

Replaces an MCP.

put/v1/mcp-servers/{mcpId}

Request

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

Path parameters

mcpId, string uuid required
Example:a0119846-f179-4d9f-a168-d701facce7fb

The unique identifier of the MCP.

Request body

ReplaceCatalogMCP required

Request body for creating an MCP.

name, string required

The machine name of the MCP that uniquely identifies it within the catalog.

display_name, string required

The display name of the MCP.

description, string nullable

Optionally provide a description of the MCP.

labels, Labels

Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

Example request

{
  "name": "my-mcp",
  "display_name": "My MCP",
  "description": "Customer support triage model",
  "labels": {
    "env": "test"
  }
}

Response

Response schema for MCPs.

CatalogMCP required

An MCP catalog resource.

id, string uuid required

The unique identifier of the MCP.

name, string required

The machine name of the MCP that uniquely identifies it within the catalog.

display_name, string required

The display name of the MCP.

description, string nullable required

A description of the MCP.

labels, Labels required

Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

managed_by, ManagedBy required

Stores information about what manages this entity, such as the tool or system responsible for its lifecycle (for example, terraform).

Keys must be 1–63 characters long, start and end with an alphanumeric character, and may contain dashes (-), underscores (_), and dots (.). Values must be 1–127 characters long and must not be empty. Keys and values must not contain spaces or control characters.

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "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 managed_by/additionalProperties response property's maxLength was increased from 63 to 127 for the response status

    • info

      the 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