Catalog MCP Versions
Replace latest MCP version
Changed onReplaces the latest version.
put/v1/mcp-servers/{mcpId}/versions/latest
Request
- Base URLhttps://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
Replace Catalog MCPVersion required
Schema to create an MCP version.
version, string required
User-supplied version label.
tools, Catalog MCPTool[] nullable required
resources, Catalog MCPResource[] nullable required
prompts, Catalog MCPPrompt[] nullable required
remotes, MCPRemote Transport[] 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.
Catalog MCPVersion required
An MCP version resource.
id, string uuid required
The unique identifier of the version.
version, string required
User-supplied version label.
tools, Catalog MCPTool[] nullable required
resources, Catalog MCPResource[] nullable required
prompts, Catalog MCPPrompt[] nullable required
remotes, MCPRemote Transport[] 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
typerequest property const valuenamedwas added - breaking
the
typerequest property const valuenamedwas added - breaking
the
typerequest property const valuepositionalwas added
33 more changes in this revision
- breaking