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:
6161Add 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
You can’t perform that action at this time.
0 commit comments