Skip to content

Support for inline environment variables #92

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 ~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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