Catalog MCP Versions

Replace latest MCP version

Changed on

Replaces the latest version.

put/v1/mcp-servers/{mcpId}/versions/latest

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

ReplaceCatalogMCPVersion required

Schema to create an MCP version.

version, string required

User-supplied version label.

tools, CatalogMCPTool[] nullable required
resources, CatalogMCPResource[] nullable required
prompts, CatalogMCPPrompt[] nullable required
remotes, MCPRemoteTransport[] nullable required
packages, MCPPackage[] nullable required

Example request

{
  "version": "1.0.0",
  "tools": [
    {
      "name": "my-tool"
    }
  ],
  "resources": [
    {
      "name": "my-resource"
    }
  ],
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://api.example.com/mcp"
    }
  ],
  "packages": [
    {
      "registry": {
        "type": "npm",
        "base_url": "https://registry.npmjs.org"
      },
      "identifier": "@modelcontextprotocol/server-brave-search",
      "version": "1.0.2",
      "file_sha256": "fe333e598595000ae021bd27117db32ec69af6987f507ba7a63c90638ff633ce",
      "transport": {
        "type": "stdio"
      },
      "runtime": {
        "hint": "npx",
        "arguments": [
          {
            "type": "positional",
            "value_hint": "file_path"
          }
        ]
      },
      "package_arguments": [
        {
          "type": "positional",
          "value_hint": "file_path"
        }
      ],
      "environment_variables": [
        {
          "choices": [],
          "name": "SOME_VARIABLE"
        }
      ]
    }
  ]
}

Response

Response schema for MCP versions.

CatalogMCPVersion required

An MCP version resource.

id, string uuid required

The unique identifier of the version.

version, string required

User-supplied version label.

tools, CatalogMCPTool[] nullable required
resources, CatalogMCPResource[] nullable required
prompts, CatalogMCPPrompt[] nullable required
remotes, MCPRemoteTransport[] nullable required
packages, MCPPackage[] nullable required
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": "9c4a1b2c-3d4e-5f60-7182-93a4b5c6d7e8",
  "version": "1.0.0",
  "tools": [
    {
      "name": "my-tool"
    }
  ],
  "resources": [
    {
      "name": "my-resource"
    }
  ],
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://api.example.com/mcp"
    }
  ],
  "packages": [
    {
      "registry": {
        "type": "npm",
        "base_url": "https://registry.npmjs.org"
      },
      "identifier": "@modelcontextprotocol/server-brave-search",
      "version": "1.0.2",
      "file_sha256": "fe333e598595000ae021bd27117db32ec69af6987f507ba7a63c90638ff633ce",
      "transport": {
        "type": "stdio"
      },
      "runtime": {
        "hint": "npx",
        "arguments": [
          {
            "type": "positional",
            "value_hint": "file_path"
          }
        ]
      },
      "package_arguments": [
        {
          "type": "positional",
          "value_hint": "file_path"
        }
      ],
      "environment_variables": [
        {
          "choices": [],
          "name": "SOME_VARIABLE"
        }
      ]
    }
  ],
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • breaking

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

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status