Catalog MCP Versions

Update latest MCP version

Changed on

Partially updates the latest version.

patch/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

UpdateCatalogMCPVersion required

Schema to partially update an MCP version (merge-patch).

version, string

User-supplied version label.

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

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

      the type request property const value named was added

    • breaking

      the type request property const value named was added

    • breaking

      the type request property const value positional was added

    33 more changes in this revision