Skip to content

Commit ed17378

Browse files
authored
Merge pull request #42 from rakdutta/doc
mcpgatway wrapper config update to use Bearer token
2 parents 0f29d5e + 467596f commit ed17378

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

docs/docs/using/mcpgateway-wrapper.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -61,35 +61,35 @@ On Windows:
6161
Add a new server block:
6262

6363
```json
64-
"mcpServers": {
65-
"mcpgateway-wrapper": {
66-
"command": "uv",
67-
"args": [
68-
"--directory",
69-
"path-to-mcpgateway-wrapper",
70-
"run",
71-
"mcpgateway-wrapper"
72-
],
73-
"env": {
74-
"MCP_GATEWAY_BASE_URL": "http://localhost:4444",
75-
"MCP_SERVER_CATALOG_URLS": "http://localhost:4444/servers/2",
76-
"MCP_AUTH_USER": "admin",
77-
"MCP_AUTH_PASS": "changeme"
64+
{
65+
"mcpServers": {
66+
"mcpgateway-wrapper": {
67+
"command": "uv",
68+
"args": [
69+
"--directory",
70+
"path-to-folder/mcpgateway-wrapper",
71+
"run",
72+
"mcpgateway-wrapper"
73+
],
74+
"env": {
75+
"MCP_SERVER_CATALOG_URLS": "http://localhost:4444/servers/1",
76+
"MCP_AUTH_TOKEN": "your_bearer_token"
77+
}
7878
}
7979
}
8080
}
8181
```
8282

83+
8384
> Replace `path-to-mcpgateway-wrapper` with the actual folder path.
8485
8586
### ✅ Environment Variables
8687

8788
| Variable | Purpose |
8889
| ------------------------- | -------------------------------------------------- |
89-
| `MCP_GATEWAY_BASE_URL` | Base URL to your MCP Gateway (e.g. localhost:4444) |
9090
| `MCP_SERVER_CATALOG_URLS` | One or more `/servers/{id}` catalog URLs |
91-
| `MCP_AUTH_USER` | Username for HTTP Basic authentication |
92-
| `MCP_AUTH_PASS` | Password for HTTP Basic authentication |
91+
| `MCP_AUTH_TOKEN` | Bearer Token Authentication |
92+
9393

9494
---
9595

0 commit comments

Comments
 (0)