AnthropicPackage

object

Package definition in Anthropic v0.1 protocol format.

registryTypestringrequired

Registry type indicating how to download packages (e.g., npm, pypi, oci, nuget, mcpb).

Example:npm

registryBaseUrlstring(uri)

Base URL of the package registry.

Example:https://registry.npmjs.org

identifierstringrequired

Package identifier — either a package name or URL.

Example:@modelcontextprotocol/server-brave-search

versionstring

Package version. Must be a specific version.

>= 1 characters

Example:1.0.2

fileSha256string

SHA-256 hash of the package file for integrity verification.

Match pattern:^[a-f0-9]{64}$

Example:fe333e598595000ae021bd27117db32ec69af6987f507ba7a63c90638ff633ce

runtimeHintstring

A hint to help clients determine the appropriate runtime for the package.

Example:npx

transportAny Of
required
AnthropicStdioTransportobject

Transport protocol configuration for the package

Example:{"type":"stdio"}

Show Child Parameters
runtimeArgumentsAny Of
array

A list of arguments to be passed to the package’s runtime command.

AnthropicPositionalArgumentAny Of
AnthropicPositionalArgumentobject

A positional input is a value inserted verbatim into the command line.

Example:{"type":"positional","valueHint":"file_path"}

Show Child Parameters
packageArgumentsAny Of
array

A list of arguments to be passed to the package’s binary.

AnthropicPositionalArgumentAny Of
AnthropicPositionalArgumentobject

A positional input is a value inserted verbatim into the command line.

Example:{"type":"positional","valueHint":"file_path"}

Show Child Parameters
environmentVariablesarray

Environment variables to be set when running the package.

Show Child Parameters
Example

AnthropicHttpTransport

object
typestringrequired

Transport type

Allowed values:streamable-httpsse

Example:streamable-http

urlstringrequired

Endpoint URL template for the transport.

Match pattern:^https?://[^\s]+$

Example:https://api.example.com/mcp

headersarray

HTTP headers to include

Show Child Parameters
Example

AnthropicStdioTransport

object
typestringrequired

Transport type

Allowed values:stdio

Example:stdio

Example

AnthropicLocalTransport

Transport protocol configuration for local/package context in Anthropic v0.1 format.

Any Of
typestringrequired

Transport type

Allowed values:stdio

Example:stdio

Example

AnthropicInput

object
descriptionstring

A description of the input.

isRequiredboolean

Default:false

formatstring

Specifies the input format.

Allowed values:stringnumberbooleanfilepath

Default:string

valuestring

The value for the input.

isSecretboolean

Indicates whether the input is a secret value.

Default:false

defaultstring

The default value for the input.

placeholderstring

A placeholder for the input to be displayed during configuration.

choicesarray[string]

A list of possible values for the input.

Example:[]

Example