Skip to content

Feature request: Add --host flag (and HOST env var) to configure bind address for streamable-http #24

@garabit

Description

@garabit

uvx mcp-run-python --port <port> streamable-http only accepts --port and binds to 127.0.0.1 by default. There is no way to choose the bind address, which prevents LAN/container access without external proxies.

Request: add a --host CLI option and honor a HOST env var (default stays 127.0.0.1). This would make it possible to start mcp-run-python as follows:

uvx mcp-run-python --port 9000 --host 0.0.0.0 streamable-http
# or
HOST=0.0.0.0 uvx mcp-run-python --port 9000 streamable-http

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions