@@ -19,7 +19,7 @@ The mcp-cli supports **stdio** connections out-of-the-box through the bundled **
19
19
20
20
* ** Python ≥ 3.11**
21
21
* ** uv** (recommended) or pip for dependency management
22
- * ** MCP Context Forge Gateway** running locally or remotely (default: http://localhost:8000 )
22
+ * ** MCP Context Forge Gateway** running locally or remotely (default: http://localhost:4444 )
23
23
* ** JWT or Basic Auth credentials** for Gateway access
24
24
* ** LLM Provider API keys** (optional, for chat mode):
25
25
* OpenAI: ` OPENAI_API_KEY ` environment variable
@@ -62,7 +62,7 @@ cd mcp-context-forge
62
62
63
63
# Install and start the gateway
64
64
make venv install serve
65
- # Gateway will be available at http://localhost:8000
65
+ # Gateway will be available at http://localhost:4444
66
66
```
67
67
68
68
---
@@ -81,7 +81,7 @@ Create a `server_config.json` file to define your MCP Context Forge Gateway conn
81
81
"args" : [" -m" , " mcpgateway.wrapper" ],
82
82
"env" : {
83
83
"MCP_AUTH_TOKEN" : " eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIn0.qQDiQwWsVy_FP4mUu0hUUTLNrCPbAxP1NgRIebW6tjo" ,
84
- "MCP_SERVER_CATALOG_URLS" : " http://localhost:8000 " ,
84
+ "MCP_SERVER_CATALOG_URLS" : " http://localhost:4444 " ,
85
85
"MCP_TOOL_CALL_TIMEOUT" : " 120"
86
86
}
87
87
}
@@ -101,7 +101,7 @@ Create a `server_config.json` file to define your MCP Context Forge Gateway conn
101
101
" --rm" ,
102
102
" -i" ,
103
103
" -e" ,
104
- " MCP_SERVER_CATALOG_URLS=http://host.docker.internal:8000 " ,
104
+ " MCP_SERVER_CATALOG_URLS=http://host.docker.internal:4444 " ,
105
105
" -e" ,
106
106
" MCP_AUTH_TOKEN=${MCPGATEWAY_BEARER_TOKEN}" ,
107
107
" --entrypoint" ,
@@ -129,7 +129,7 @@ python -m mcpgateway.utils.create_jwt_token -u admin --exp 10080 --secret my-tes
129
129
130
130
> ** ⚠️ Important Notes**
131
131
> - Use the ** full path** to your virtual environment's Python to avoid import errors
132
- > - Make sure your MCP Context Forge Gateway is running on the correct port (default: 8000 )
132
+ > - Make sure your MCP Context Forge Gateway is running on the correct port (default: 4444 )
133
133
> - The wrapper requires ` MCP_SERVER_CATALOG_URLS ` environment variable
134
134
135
135
---
@@ -321,7 +321,7 @@ In interactive mode, use these commands:
321
321
``` bash
322
322
# MCP Context Forge Gateway connection
323
323
export MCP_AUTH_TOKEN=" your-jwt-token"
324
- export MCP_SERVER_CATALOG_URLS=" http://localhost:8000 "
324
+ export MCP_SERVER_CATALOG_URLS=" http://localhost:4444 "
325
325
326
326
# LLM Provider API keys
327
327
export OPENAI_API_KEY=" sk-your-openai-key"
@@ -450,7 +450,7 @@ The mcp-cli integrates with MCP Context Forge Gateway through multiple connectio
450
450
1 . ** Start the Gateway:**
451
451
``` bash
452
452
cd mcp-context-forge
453
- make dev # Starts on http://localhost:8000
453
+ make serve # Starts on http://localhost:4444
454
454
```
455
455
456
456
2 . ** Configure mcp-cli:**
@@ -462,7 +462,7 @@ The mcp-cli integrates with MCP Context Forge Gateway through multiple connectio
462
462
"args" : [" -m" , " mcpgateway.wrapper" ],
463
463
"env" : {
464
464
"MCP_AUTH_TOKEN" : " your-jwt-token" ,
465
- "MCP_SERVER_CATALOG_URLS" : " http://localhost:8000 "
465
+ "MCP_SERVER_CATALOG_URLS" : " http://localhost:4444 "
466
466
}
467
467
}
468
468
}
@@ -481,7 +481,7 @@ Use the official Docker image for production environments:
481
481
``` bash
482
482
# Start the gateway
483
483
docker run -d --name mcpgateway \
484
- -p 8000 :4444 \
484
+ -p 4444 :4444 \
485
485
-e HOST=0.0.0.0 \
486
486
-e JWT_SECRET_KEY=my-secret-key \
487
487
-e BASIC_AUTH_USER=admin \
@@ -492,7 +492,7 @@ docker run -d --name mcpgateway \
492
492
export MCPGATEWAY_BEARER_TOKEN=$( docker exec mcpgateway python3 -m mcpgateway.utils.create_jwt_token --username admin --exp 10080 --secret my-secret-key)
493
493
494
494
# Test connection
495
- curl -H " Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN " http://localhost:8000 /tools
495
+ curl -H " Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN " http://localhost:4444 /tools
496
496
```
497
497
498
498
---
@@ -552,10 +552,10 @@ Your MCP Context Forge Gateway provides these tool categories:
552
552
553
553
- [ ] Install mcp-cli: ` pip install -e ".[cli,dev]" `
554
554
- [ ] Install MCP Context Forge Gateway
555
- - [ ] Start gateway: ` make dev ` (runs on localhost:8000 )
555
+ - [ ] Start gateway: ` make serve ` (runs on localhost:4444 )
556
556
- [ ] Create ` server_config.json ` with correct Python path
557
557
- [ ] Generate JWT token for authentication
558
558
- [ ] Test connection: ` mcp-cli ping --server mcpgateway-wrapper `
559
559
- [ ] Install Ollama and pull a compatible model (recommended)
560
560
- [ ] Start chat: ` mcp-cli chat --server mcpgateway-wrapper --provider ollama --model mistral-nemo:latest `
561
- - [ ] Try asking: "What tools are available?" or "What issues have been assigned to me?"
561
+ - [ ] Try asking: "What tools are available?" or "What issues have been assigned to me?"
0 commit comments