Argument

Warning: Arguments construct command-line parameters that may contain user-provided input. This creates potential command injection risks if clients execute commands in a shell environment. For example, a malicious argument value like ‘;rm -rf ~/Development’ could execute dangerous commands. Clients should prefer non-shell execution methods (e.g., posix_spawn) when possible to eliminate injection risks entirely. Where not possible, clients should obtain consent from users or agents to run the resolved command before execution.

Any Of
PositionalArgumentAny Of
PositionalArgumentobject

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

Show Child Parameters
Example

StdioTransport

object
typestringrequired

Transport type

Allowed values:stdio

Example:stdio

Example

StreamableHttpTransport

object
typestringrequired

Transport type

Allowed values:streamable-http

Example:streamable-http

urlstringrequired

URL template for the streamable-http transport. Variables in {curly_braces} are resolved based on context: In Package context, they reference argument valueHints, argument names, or environment variable names from the parent Package. In Remote context, they reference variables from the transport’s ‘variables’ object. After variable substitution, this should produce a valid URI.

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

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

headersarray

HTTP headers to include

Show Child Parameters
Example

SseTransport

object
typestringrequired

Transport type

Allowed values:sse

Example:sse

urlstringrequired

Server-Sent Events endpoint URL template. Variables in {curly_braces} are resolved based on context: In Package context, they reference argument valueHints, argument names, or environment variable names from the parent Package. In Remote context, they reference variables from the transport’s ‘variables’ object. After variable substitution, this should produce a valid URI.

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

Example:https://mcp-fs.example.com/sse

headersarray

HTTP headers to include

Show Child Parameters
Example

LocalTransport

Transport protocol configuration for local/package context

Any Of
typestringrequired

Transport type

Allowed values:stdio

Example:stdio

Example