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

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

# AnthropicPackage

Package definition in Anthropic v0.1 protocol format.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Portal
  version: 3.3.0
components:
  schemas:
    AnthropicLocalTransport:
      description: Transport protocol configuration for local/package context in
        Anthropic v0.1 format.
      anyOf:
        - $ref: "#/components/schemas/AnthropicStdioTransport"
        - $ref: "#/components/schemas/AnthropicHttpTransport"
      title: AnthropicLocalTransport
    AnthropicArgument:
      anyOf:
        - $ref: "#/components/schemas/AnthropicPositionalArgument"
        - $ref: "#/components/schemas/AnthropicNamedArgument"
      title: AnthropicArgument
    AnthropicKeyValueInput:
      allOf:
        - $ref: "#/components/schemas/AnthropicInputWithVariables"
        - type: object
          required:
            - name
          properties:
            name:
              description: Name of the header or environment variable.
              type: string
              example: SOME_VARIABLE
      title: AnthropicKeyValueInput
    AnthropicStdioTransport:
      type: object
      properties:
        type:
          description: Transport type
          type: string
          example: stdio
          enum:
            - stdio
      example:
        type: stdio
      required:
        - type
      title: AnthropicStdioTransport
    AnthropicHttpTransport:
      type: object
      properties:
        type:
          description: Transport type
          type: string
          example: streamable-http
          enum:
            - streamable-http
            - sse
        url:
          description: Endpoint URL template for the transport.
          type: string
          example: https://api.example.com/mcp
          pattern: ^https?://[^\s]+$
        headers:
          description: HTTP headers to include
          type: array
          items:
            $ref: "#/components/schemas/AnthropicKeyValueInput"
      example:
        type: streamable-http
        url: https://api.example.com/mcp
      required:
        - type
        - url
      title: AnthropicHttpTransport
    AnthropicPositionalArgument:
      description: A positional input is a value inserted verbatim into the command line.
      example:
        type: positional
        valueHint: file_path
      allOf:
        - $ref: "#/components/schemas/AnthropicInputWithVariables"
        - type: object
          required:
            - type
          properties:
            type:
              type: string
              example: positional
              enum:
                - positional
            valueHint:
              description: An identifier for the positional argument.
              type: string
              example: file_path
            isRepeated:
              description: Whether the argument can be repeated multiple times.
              type: boolean
              default: false
        - anyOf:
            - type: object
              required:
                - valueHint
            - type: object
              required:
                - value
      title: AnthropicPositionalArgument
    AnthropicNamedArgument:
      description: A command-line `--flag={value}`.
      example:
        type: named
        name: --port
      allOf:
        - $ref: "#/components/schemas/AnthropicInputWithVariables"
        - 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
            isRepeated:
              description: Whether the argument can be repeated multiple times.
              type: boolean
              default: false
      title: AnthropicNamedArgument
    AnthropicInputWithVariables:
      allOf:
        - $ref: "#/components/schemas/AnthropicInput"
        - type: object
          properties:
            variables:
              description: A map of variable names to their values.
              type: object
              additionalProperties:
                $ref: "#/components/schemas/AnthropicInput"
      title: AnthropicInputWithVariables
    AnthropicInput:
      type: object
      properties:
        description:
          description: A description of the input.
          type: string
        isRequired:
          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
        isSecret:
          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: AnthropicInput
    AnthropicPackage:
      description: Package definition in Anthropic v0.1 protocol format.
      type: object
      properties:
        registryType:
          description: Registry type indicating how to download packages (e.g., `npm`,
            `pypi`, `oci`, `nuget`, `mcpb`).
          type: string
          example: npm
        registryBaseUrl:
          description: Base URL of the package registry.
          type: string
          format: uri
          example: https://registry.npmjs.org
        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
        fileSha256:
          description: SHA-256 hash of the package file for integrity verification.
          type: string
          example: fe333e598595000ae021bd27117db32ec69af6987f507ba7a63c90638ff633ce
          pattern: ^[a-f0-9]{64}$
        runtimeHint:
          description: A hint to help clients determine the appropriate runtime for the
            package.
          type: string
          example: npx
        transport:
          allOf:
            - $ref: "#/components/schemas/AnthropicLocalTransport"
            - description: Transport protocol configuration for the package
        runtimeArguments:
          description: A list of arguments to be passed to the package's runtime command.
          type: array
          items:
            $ref: "#/components/schemas/AnthropicArgument"
        packageArguments:
          description: A list of arguments to be passed to the package's binary.
          type: array
          items:
            $ref: "#/components/schemas/AnthropicArgument"
        environmentVariables:
          description: Environment variables to be set when running the package.
          type: array
          items:
            $ref: "#/components/schemas/AnthropicKeyValueInput"
      required:
        - registryType
        - identifier
        - transport
      title: AnthropicPackage
```
