|
@@ -163,7 +163,7 @@ def search_meters(
|
|
|
|
|
|
|
|
|
|
|
|
|
def main() -> None:
|
|
def main() -> None:
|
|
|
- host = os.getenv("MCP_HOST", "127.0.0.1").strip() or "127.0.0.1"
|
|
|
|
|
|
|
+ host = os.getenv("MCP_HOST", "0.0.0.0").strip() or "0.0.0.0"
|
|
|
port = int(os.getenv("MCP_PORT", "8500"))
|
|
port = int(os.getenv("MCP_PORT", "8500"))
|
|
|
path = os.getenv("MCP_PATH", "/mcp").strip() or "/mcp"
|
|
path = os.getenv("MCP_PATH", "/mcp").strip() or "/mcp"
|
|
|
mcp.run(transport="http", host=host, port=port, path=path)
|
|
mcp.run(transport="http", host=host, port=port, path=path)
|