File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -61,35 +61,35 @@ On Windows:
61
61
Add a new server block:
62
62
63
63
``` 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
+ }
78
78
}
79
79
}
80
80
}
81
81
```
82
82
83
+
83
84
> Replace ` path-to-mcpgateway-wrapper ` with the actual folder path.
84
85
85
86
### ✅ Environment Variables
86
87
87
88
| Variable | Purpose |
88
89
| ------------------------- | -------------------------------------------------- |
89
- | ` MCP_GATEWAY_BASE_URL ` | Base URL to your MCP Gateway (e.g. localhost:4444) |
90
90
| ` 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
+
93
93
94
94
---
95
95
You can’t perform that action at this time.
0 commit comments