@@ -63,11 +63,11 @@ python3 -m venv .venv
6363# Install mcp-contextforge-gateway
6464pip install mcp-contextforge-gateway
6565
66- # Run mcpgateway with default options, listening on port 4444 with admin:changeme
67- mcpgateway
66+ # Run mcpgateway with default options (binds to 127.0.0.1: 4444) with admin:changeme
67+ mcpgateway # login to http://127.0.0.1:4444
6868
69- # Optional: run in background with configured password/key - login at http://127.0.0.1:4444/admin
70- BASIC_AUTH_PASSWORD=password JWT_SECRET_KEY=my-test-key mcpgateway --host 127 .0.0.1 --port 4444 & bg
69+ # Optional: run in background with configured password/key and listen to all IPs
70+ BASIC_AUTH_PASSWORD=password JWT_SECRET_KEY=my-test-key mcpgateway --host 0 .0.0.0 --port 4444 & bg
7171
7272# List all options
7373mcpgateway --help
@@ -116,6 +116,10 @@ curl -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN" http://localhost:4444/s
116116curl -H " Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN " http://localhost:4444/servers/1
117117
118118# You can now use http://localhost:4444/servers/1 as an SSE server with the configured JWT token in any MCP client
119+
120+ # To stop the running process, you can either:
121+ fg # Return the process to foreground, you can not Ctrl + C, or:
122+ pkill mcpgateway
119123```
120124
121125See [ .env.example] ( .env.example ) for full list of ENV variables you can use to override the configuration.
@@ -658,6 +662,7 @@ echo ${MCPGATEWAY_BEARER_TOKEN}
658662
659663# Quickly confirm that authentication works and the gateway is healthy
660664curl -s -k -H " Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN " https://localhost:4444/health
665+ # {"status":"healthy"}
661666
662667# Quickly confirm the gateway version & DB connectivity
663668curl -s -k -H " Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN " https://localhost:4444/version | jq
0 commit comments