---
title: "MCPPackage"
url: "https://nov18-dev.movespot.fyi/apis/portal-dev-3/versions/0ea1a7e4-e18f-432b-8fae-5d43a97118ce/schemas/MCPPackage"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/portal-dev-3/versions/0ea1a7e4-e18f-432b-8fae-5d43a97118ce.md

# MCPPackage

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Portal
  version: 3.3.0
components:
  schemas:
    MCPLocalTransport:
      description: Transport protocol configuration for local/package context
      anyOf:
        - $ref: "#/components/schemas/MCPStdioTransport"
        - $ref: "#/components/schemas/MCPStreamableHttpTransport"
        - $ref: "#/components/schemas/MCPSseTransport"
      title: MCPLocalTransport
    MCPArgument:
      anyOf:
        - $ref: "#/components/schemas/MCPPositionalArgument"
        - $ref: "#/components/schemas/MCPNamedArgument"
      title: MCPArgument
    MCPKeyValueInput:
      allOf:
        - $ref: "#/components/schemas/MCPInputWithVariables"
        - type: object
          required:
            - name
          properties:
            name:
              description: Name of the header or environment variable.
              type: string
              example: SOME_VARIABLE
      title: MCPKeyValueInput
    MCPStdioTransport:
      type: object
      properties:
        type:
          description: Transport type
          type: string
          example: stdio
          enum:
            - stdio
      example:
        type: stdio
      required:
        - type
      title: MCPStdioTransport
    MCPStreamableHttpTransport:
      type: object
      properties:
        type:
          description: Transport type
          type: string
          example: streamable-http
          enum:
            - streamable-http
        url:
          description: URL template for the streamable-http transport.
          type: string
          example: https://api.example.com/mcp
          pattern: ^https?://[^\s]+$
        headers:
          description: HTTP headers to include
          type: array
          items:
            $ref: "#/components/schemas/MCPKeyValueInput"
      example:
        type: streamable-http
        url: https://api.example.com/mcp
      required:
        - type
        - url
      title: MCPStreamableHttpTransport
    MCPSseTransport:
      type: object
      properties:
        type:
          description: Transport type
          type: string
          example: sse
          enum:
            - sse
        url:
          description: Server-Sent Events endpoint URL template.
          type: string
          example: https://mcp-fs.example.com/sse
          pattern: ^https?://[^\s]+$
        headers:
          description: HTTP headers to include
          type: array
          items:
            $ref: "#/components/schemas/MCPKeyValueInput"
      example:
        type: sse
        url: https://mcp-fs.example.com/sse
      required:
        - type
        - url
      title: MCPSseTransport
    MCPPositionalArgument:
      description: A positional input is a value inserted verbatim into the command line.
      example:
        type: positional
        value_hint: file_path
      allOf:
        - $ref: "#/components/schemas/MCPInputWithVariables"
        - type: object
          required:
            - type
          properties:
            type:
              type: string
              example: positional
              enum:
                - positional
            value_hint:
              description: An identifier for the positional argument.
              type: string
              example: file_path
            is_repeated:
              description: Whether the argument can be repeated multiple times.
              type: boolean
              default: false
        - anyOf:
            - type: object
              required:
                - value_hint
            - type: object
              required:
                - value
      title: MCPPositionalArgument
    MCPNamedArgument:
      description: A command-line `--flag={value}`.
      example:
        type: named
        name: --port
      allOf:
        - $ref: "#/components/schemas/MCPInputWithVariables"
        - type: object
          required:
            - type
            - name
          properties:
            type:
              type: string
              example: named
              enum:
                - named
            name:
              description: The flag name, including any leading dashes.
              type: string
              example: --port
            is_repeated:
              description: Whether the argument can be repeated multiple times.
              type: boolean
              default: false
      title: MCPNamedArgument
    MCPInputWithVariables:
      allOf:
        - $ref: "#/components/schemas/MCPInput"
        - type: object
          properties:
            variables:
              description: A map of variable names to their values.
              type: object
              additionalProperties:
                $ref: "#/components/schemas/MCPInput"
      title: MCPInputWithVariables
    MCPInput:
      type: object
      properties:
        description:
          description: A description of the input.
          type: string
        is_required:
          type: boolean
          default: false
        format:
          description: Specifies the input format.
          type: string
          default: string
          enum:
            - string
            - number
            - boolean
            - filepath
        value:
          description: The value for the input.
          type: string
        is_secret:
          description: Indicates whether the input is a secret value.
          type: boolean
          default: false
        default:
          description: The default value for the input.
          type: string
        placeholder:
          description: A placeholder for the input to be displayed during configuration.
          type: string
        choices:
          description: A list of possible values for the input.
          type: array
          items:
            type: string
          example: []
      title: MCPInput
    MCPPackage:
      type: object
      properties:
        registry:
          description: Package registry details
          type: object
          properties:
            type:
              description: Registry type indicating how to download packages (e.g., 'npm',
                'pypi', 'oci', 'nuget', 'mcpb')
              type: string
              example: npm
            base_url:
              description: Base URL of the package registry
              type: string
              format: uri
              example: https://registry.npmjs.org
          required:
            - type
        identifier:
          description: Package identifier — either a package name or URL
          type: string
          example: "@modelcontextprotocol/server-brave-search"
        version:
          description: Package version. Must be a specific version.
          type: string
          example: 1.0.2
          minLength: 1
          not:
            enum:
              - latest
        file_sha256:
          description: SHA-256 hash of the package file for integrity verification.
          type: string
          example: fe333e598595000ae021bd27117db32ec69af6987f507ba7a63c90638ff633ce
          pattern: ^[a-f0-9]{64}$
        transport:
          allOf:
            - $ref: "#/components/schemas/MCPLocalTransport"
            - description: Transport protocol configuration for the package
        runtime:
          description: Runtime configuration for executing the package
          type: object
          properties:
            hint:
              description: A hint to help clients determine the appropriate runtime for the
                package.
              type: string
              example: npx
            arguments:
              description: A list of arguments to be passed to the package's runtime command.
              type: array
              items:
                $ref: "#/components/schemas/MCPArgument"
        package_arguments:
          description: A list of arguments to be passed to the package's binary.
          type: array
          items:
            $ref: "#/components/schemas/MCPArgument"
        environment_variables:
          description: Environment variables to be set when running the package.
          type: array
          items:
            $ref: "#/components/schemas/MCPKeyValueInput"
      required:
        - registry
        - identifier
        - transport
      title: MCPPackage
```
