You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mcpgateway-wrapper lets you connect to the gateway over stdio.
173
+
The mcpgateway-wrapper lets you connect to the gateway over stdio, while retaining authentication using the JWT token when the wrapper connect to a remote gateway. You should run this from a MCP client. You can test this from a shell with:
124
174
125
175
```bash
126
176
docker run -i --name mcpgateway-wrapper \
@@ -130,10 +180,15 @@ docker run -i --name mcpgateway-wrapper \
130
180
-e MCP_AUTH_TOKEN=$MCPGATEWAY_BEARER_TOKEN \
131
181
ghcr.io/ibm/mcp-context-forge:latest \
132
182
run --directory mcpgateway-wrapper mcpgateway-wrapper
183
+
# You'll see a message similar to: Installed 21 packages in 6ms - it's now expecting input from an MCP client
133
184
```
134
185
135
186
### Running from a MCP Client
136
187
188
+
The `mcpgateway-wrapper` should be used with an MCP Client that does not support SSE. You can configure it as such.
189
+
190
+
Remember to replace the `MCP_SERVER_CATALOG_URL` with the actual URL of your MCP Gateway. Consider container networking - when running this via a container engine, this should represent a network accessible from Docker/Podman, ex: `http://host.docker.internal:4444/servers/1`
191
+
137
192
```json
138
193
{
139
194
"servers": {
@@ -142,9 +197,10 @@ docker run -i --name mcpgateway-wrapper \
"MCPGATEWAY_BEARER_TOKEN": "<place your token here>"
250
+
}
251
+
}
252
+
}
253
+
}
254
+
```
255
+
256
+
Restart Claude Desktop (exiting from system tray). Go back to `File > Settings > Developer > Edit Config` to check on your configuration and view the logs.
257
+
258
+
For more details, see the [Claude MCP quickstart](https://modelcontextprotocol.io/quickstart/server). For issues, see [MCP Debugging](https://modelcontextprotocol.io/docs/tools/debugging).
259
+
165
260
---
166
261
167
262
## Quick Start (manual install)
168
263
169
264
### Prerequisites
170
265
171
266
***Python ≥ 3.10**
172
-
***GNU Make** (all common workflows are Make targets)
267
+
***GNU Make** (optional, but all common workflows are available as Make targets)
173
268
* Optional: **Docker / Podman** for containerised runs
0 commit comments