@@ -63,11 +63,11 @@ python3 -m venv .venv
63
63
# Install mcp-contextforge-gateway
64
64
pip install mcp-contextforge-gateway
65
65
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
68
68
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
71
71
72
72
# List all options
73
73
mcpgateway --help
@@ -116,6 +116,10 @@ curl -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN" http://localhost:4444/s
116
116
curl -H " Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN " http://localhost:4444/servers/1
117
117
118
118
# 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
119
123
```
120
124
121
125
See [ .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}
658
662
659
663
# Quickly confirm that authentication works and the gateway is healthy
660
664
curl -s -k -H " Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN " https://localhost:4444/health
665
+ # {"status":"healthy"}
661
666
662
667
# Quickly confirm the gateway version & DB connectivity
663
668
curl -s -k -H " Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN " https://localhost:4444/version | jq
0 commit comments