---
title: "Create MCP version"
method: POST
path: "/v1/mcp-servers/{mcpId}/versions"
tags: ["Catalog MCP Versions"]
---

# Create MCP version

`POST /v1/mcp-servers/{mcpId}/versions`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v1/mcp-servers/{mcpId}/versions`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Creates the `latest` version. Currently, a MCP only has a single version. Returns `409` if a version already exists.

## Path parameters

- `mcpId` string, uuid, required

## Request body

- CreateCatalogMCPVersion: Schema to create an MCP version.
  - `version` string, required: User-supplied version label.
  - `tools` CatalogMCPTool[], nullable, required
    - `name` string, required: Machine/programmatic name of the tool.
    - `title` string: Human-readable name of the tool.
    - `description` string: Detailed description of the tool's functionality.
    - `input_schema` CatalogMCPToolInputSchema, required: Input schema for an MCP tool.
    - `output_schema` CatalogMCPToolOutputSchema: Output schema for an MCP tool.
      - [`CatalogMCPToolInputSchema`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FCatalogMCPToolInputSchema)
    - `annotations` CatalogMCPToolAnnotations
      - `title` string: Human-readable name of the tool.
      - `destructive_hint` boolean: Indicates if the tool performs destructive actions.
      - `idempotent_hint` boolean: Indicates if the tool is idempotent.
      - `open_world_hint` boolean: Indicates if the tool interacts with external entities.
      - `read_only_hint` boolean: Indicates if the tool is read-only.
  - `resources` CatalogMCPResource[], nullable, required
    - `name` string, required: Machine/programmatic name of the resource.
    - `title` string: Human-readable name of the resource.
    - `uri` string, required: The URI of the resource.
    - `description` string: Detailed description of what the resource represents.
    - `mime_type` string: The MIME type of the resource, if known.
    - `annotations` CatalogMCPAnnotations
      - `audience` string[]: Describes the intended customer of the annotated object/data.
      - `priority` number: Describes how important the data is for operating the MCP. A value of 1 means "most important," and indicates the data is effectively required, while 0 means "least important," and indicates the data is entirely optional.
      - `last_modified` string, date-time: The moment the resource was last modified, in ISO-8601 format.
    - `size` number: The size of the raw resource content, in bytes, if known.
  - `prompts` CatalogMCPPrompt[], nullable, required
    - `name` string, required: Machine/programmatic name of the prompt.
    - `title` string: Human-readable name of the prompt.
    - `description` string: Detailed description of the prompt's purpose and usage.
    - `arguments` CatalogMCPPromptArgument[]: List of arguments to use for templating the prompt.
      - `name` string, required: Machine/programmatic name of the prompt argument.
      - `title` string: Human-readable name of the prompt argument.
      - `description` string: Detailed description of the prompt argument.
      - `required` boolean: Indicates if the prompt argument is required.
  - `remotes` MCPRemoteTransport[], nullable, required
    - union
      - intersection
        - object: Transport protocol configuration for remote context
          - `variables` object: Configuration variables that can be referenced in URL template {curly_braces}.
        - [`MCPStreamableHttpTransport`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPStreamableHttpTransport)
      - intersection
        - object: Transport protocol configuration for remote context
          - `variables` object: Configuration variables that can be referenced in URL template {curly_braces}.
        - [`MCPSseTransport`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPSseTransport)
  - `packages` MCPPackage[], nullable, required
    - `registry` object, required: Package registry details
      - `type` string, required: Registry type indicating how to download packages (e.g., 'npm', 'pypi', 'oci', 'nuget', 'mcpb')
      - `base_url` string, uri: Base URL of the package registry
    - `identifier` string, required: Package identifier — either a package name or URL
    - `version` string: Package version. Must be a specific version.
    - `file_sha256` string: SHA-256 hash of the package file for integrity verification.
    - `transport` intersection, required: Transport protocol configuration for the package
      - [`MCPTransport`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPTransport)
    - `runtime` object: Runtime configuration for executing the package
      - `hint` string: A hint to help clients determine the appropriate runtime for the package.
      - `arguments` MCPArgument[]: A list of arguments to be passed to the package's runtime command.
        - union
          - MCPPositionalArgument: A positional input is a value inserted verbatim into the command line.
            - [`MCPInputWithVariables`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPInputWithVariables)
            - union
              - …
          - MCPNamedArgument: A command-line `--flag={value}`.
            - [`MCPInputWithVariables`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPInputWithVariables)
            - object
              - …
    - `package_arguments` MCPArgument[]: A list of arguments to be passed to the package's binary.
      - union
        - MCPPositionalArgument: A positional input is a value inserted verbatim into the command line.
          - [`MCPInputWithVariables`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPInputWithVariables)
          - union
            - object
              - …
            - object
              - …
        - MCPNamedArgument: A command-line `--flag={value}`.
          - [`MCPInputWithVariables`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPInputWithVariables)
          - object
            - `type` 'named', required
            - `name` string, required: The flag name, including any leading dashes.
            - `is_repeated` boolean: Whether the argument can be repeated multiple times.
    - `environment_variables` MCPKeyValueInput[]: Environment variables to be set when running the package.
      - MCPKeyValueInput
        - [`MCPInputWithVariables`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPInputWithVariables)
        - object
          - `name` string, required: Name of the header or environment variable.

## Response `201`

Response schema for MCP versions.

- CatalogMCPVersion: 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
    - `name` string, required: Machine/programmatic name of the tool.
    - `title` string: Human-readable name of the tool.
    - `description` string: Detailed description of the tool's functionality.
    - `input_schema` CatalogMCPToolInputSchema, required: Input schema for an MCP tool.
    - `output_schema` CatalogMCPToolOutputSchema: Output schema for an MCP tool.
      - [`CatalogMCPToolInputSchema`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FCatalogMCPToolInputSchema)
    - `annotations` CatalogMCPToolAnnotations
      - `title` string: Human-readable name of the tool.
      - `destructive_hint` boolean: Indicates if the tool performs destructive actions.
      - `idempotent_hint` boolean: Indicates if the tool is idempotent.
      - `open_world_hint` boolean: Indicates if the tool interacts with external entities.
      - `read_only_hint` boolean: Indicates if the tool is read-only.
  - `resources` CatalogMCPResource[], nullable, required
    - `name` string, required: Machine/programmatic name of the resource.
    - `title` string: Human-readable name of the resource.
    - `uri` string, required: The URI of the resource.
    - `description` string: Detailed description of what the resource represents.
    - `mime_type` string: The MIME type of the resource, if known.
    - `annotations` CatalogMCPAnnotations
      - `audience` string[]: Describes the intended customer of the annotated object/data.
      - `priority` number: Describes how important the data is for operating the MCP. A value of 1 means "most important," and indicates the data is effectively required, while 0 means "least important," and indicates the data is entirely optional.
      - `last_modified` string, date-time: The moment the resource was last modified, in ISO-8601 format.
    - `size` number: The size of the raw resource content, in bytes, if known.
  - `prompts` CatalogMCPPrompt[], nullable, required
    - `name` string, required: Machine/programmatic name of the prompt.
    - `title` string: Human-readable name of the prompt.
    - `description` string: Detailed description of the prompt's purpose and usage.
    - `arguments` CatalogMCPPromptArgument[]: List of arguments to use for templating the prompt.
      - `name` string, required: Machine/programmatic name of the prompt argument.
      - `title` string: Human-readable name of the prompt argument.
      - `description` string: Detailed description of the prompt argument.
      - `required` boolean: Indicates if the prompt argument is required.
  - `remotes` MCPRemoteTransport[], nullable, required
    - union
      - intersection
        - object: Transport protocol configuration for remote context
          - `variables` object: Configuration variables that can be referenced in URL template {curly_braces}.
        - [`MCPStreamableHttpTransport`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPStreamableHttpTransport)
      - intersection
        - object: Transport protocol configuration for remote context
          - `variables` object: Configuration variables that can be referenced in URL template {curly_braces}.
        - [`MCPSseTransport`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPSseTransport)
  - `packages` MCPPackage[], nullable, required
    - `registry` object, required: Package registry details
      - `type` string, required: Registry type indicating how to download packages (e.g., 'npm', 'pypi', 'oci', 'nuget', 'mcpb')
      - `base_url` string, uri: Base URL of the package registry
    - `identifier` string, required: Package identifier — either a package name or URL
    - `version` string: Package version. Must be a specific version.
    - `file_sha256` string: SHA-256 hash of the package file for integrity verification.
    - `transport` intersection, required: Transport protocol configuration for the package
      - [`MCPTransport`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPTransport)
    - `runtime` object: Runtime configuration for executing the package
      - `hint` string: A hint to help clients determine the appropriate runtime for the package.
      - `arguments` MCPArgument[]: A list of arguments to be passed to the package's runtime command.
        - union
          - MCPPositionalArgument: A positional input is a value inserted verbatim into the command line.
            - [`MCPInputWithVariables`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPInputWithVariables)
            - union
              - …
          - MCPNamedArgument: A command-line `--flag={value}`.
            - [`MCPInputWithVariables`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPInputWithVariables)
            - object
              - …
    - `package_arguments` MCPArgument[]: A list of arguments to be passed to the package's binary.
      - union
        - MCPPositionalArgument: A positional input is a value inserted verbatim into the command line.
          - [`MCPInputWithVariables`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPInputWithVariables)
          - union
            - object
              - …
            - object
              - …
        - MCPNamedArgument: A command-line `--flag={value}`.
          - [`MCPInputWithVariables`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPInputWithVariables)
          - object
            - `type` 'named', required
            - `name` string, required: The flag name, including any leading dashes.
            - `is_repeated` boolean: Whether the argument can be repeated multiple times.
    - `environment_variables` MCPKeyValueInput[]: Environment variables to be set when running the package.
      - MCPKeyValueInput
        - [`MCPInputWithVariables`](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4/schema?at=%2Fcomponents%2Fschemas%2FMCPInputWithVariables)
        - object
          - `name` string, required: Name of the header or environment variable.
  - `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.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict

## Changes

- **2026-11-16** `a209c8bfa7b7`: 18 breaking, 18 info
  - the `type` request property const value `named` was added
  - the `type` request property const value `named` was added
  - the `type` request property const value `positional` was added
  - the `type` request property const value `positional` was added
  - …32 more
- **2026-11-12** `d8bd04cfbaf7`: 18 breaking, 9 warning, 18 info
  - request property `packages/items/package_arguments/items/anyOf[subschema #1: MCPPositionalArgument]/allOf[subschema #2]/type` was restricted to a list of enum values
  - request property `packages/items/package_arguments/items/anyOf[subschema #2: MCPNamedArgument]/allOf[subschema #2]/type` was restricted to a list of enum values
  - request property `packages/items/runtime/arguments/items/anyOf[subschema #1: MCPPositionalArgument]/allOf[subschema #2]/type` was restricted to a list of enum values
  - request property `packages/items/runtime/arguments/items/anyOf[subschema #2: MCPNamedArgument]/allOf[subschema #2]/type` was restricted to a list of enum values
  - …41 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v1/mcp-servers/:mcpId/versions/post.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4?raw)
