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.
177
+
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
178
125
179
```bash
126
180
docker run -i --name mcpgateway-wrapper \
@@ -130,10 +184,15 @@ docker run -i --name mcpgateway-wrapper \
130
184
-e MCP_AUTH_TOKEN=$MCPGATEWAY_BEARER_TOKEN \
131
185
ghcr.io/ibm/mcp-context-forge:latest \
132
186
run --directory mcpgateway-wrapper mcpgateway-wrapper
187
+
# You'll see a message similar to: Installed 21 packages in 6ms - it's now expecting input from an MCP client
133
188
```
134
189
135
190
### Running from a MCP Client
136
191
192
+
The `mcpgateway-wrapper` should be used with an MCP Client that does not support SSE. You can configure it as such.
193
+
194
+
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`
195
+
137
196
```json
138
197
{
139
198
"servers": {
@@ -142,9 +201,10 @@ docker run -i --name mcpgateway-wrapper \
"MCPGATEWAY_BEARER_TOKEN": "<place your token here>"
254
+
}
255
+
}
256
+
}
257
+
}
258
+
```
259
+
260
+
Restart Claude Desktop (exiting from system tray). Go back to `File > Settings > Developer > Edit Config` to check on your configuration and view the logs.
261
+
262
+
For more details, see the [Claude MCP quickstart](https://modelcontextprotocol.io/quickstart/server). For issues, see [MCP Debugging](https://modelcontextprotocol.io/docs/tools/debugging).
263
+
165
264
---
166
265
167
266
## Quick Start (manual install)
168
267
169
268
### Prerequisites
170
269
171
270
***Python ≥ 3.10**
172
-
***GNU Make** (all common workflows are Make targets)
271
+
***GNU Make** (optional, but all common workflows are available as Make targets)
173
272
* Optional: **Docker / Podman** for containerised runs
174
273
175
274
### One-liner (dev)
@@ -260,6 +359,8 @@ docker run --name mcp-postgres \
260
359
-p 5432:5432 -d postgres
261
360
```
262
361
362
+
A `make compose-up` target is provided along with a [docker-compose.yml](docker-compose.yml) file to make this process simpler.
0 commit comments