Skip to content

Support for inline environment variables #92

@jritsema

Description

@jritsema

Many MCP servers have required envvars. It appears that they are not supported in the mcp tools command? For example:

$ mcp tools AWS_REGION=us-east-1 FASTMCP_LOG_LEVEL=ERROR uvx awslabs.aws-api-mcp-server@latest
Error: failed to start stdio transport: failed to start command: exec: "AWS_REGION=us-east-1": executable file not found in $PATH
Example: mcp tools npx -y @modelcontextprotocol/server-filesystem ~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions