Skip to content

feat: add --host flag for MCP HTTP server#322

Open
nasacontrol-hq wants to merge 1 commit intotobi:mainfrom
nasacontrol-hq:feature/mcp-host-flag
Open

feat: add --host flag for MCP HTTP server#322
nasacontrol-hq wants to merge 1 commit intotobi:mainfrom
nasacontrol-hq:feature/mcp-host-flag

Conversation

@nasacontrol-hq
Copy link

Add a --host option to 'qmd mcp --http' that controls the network interface the HTTP server binds to. Defaults to 'localhost' (current behavior).

This is useful for Docker/container environments where the MCP server needs to be reachable from containers via host.docker.internal:

qmd mcp --http --host 0.0.0.0

The flag is forwarded to daemon mode (--daemon) as well.

Add a --host option to 'qmd mcp --http' that controls the network
interface the HTTP server binds to. Defaults to 'localhost' (current
behavior).

This is useful for Docker/container environments where the MCP server
needs to be reachable from containers via host.docker.internal:

  qmd mcp --http --host 0.0.0.0

The flag is forwarded to daemon mode (--daemon) as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant