Skip to content

Commit e73df5a

Browse files
committed
Update mcpgateway.translate docs
Signed-off-by: Mihai Criveti <[email protected]>
1 parent d5a5019 commit e73df5a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/docs/using/mcpgateway-translate.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# MCP Gateway StdIO to SSE Bridge (`mcpgateway-translate`)
1+
# MCP Gateway StdIO to SSE Bridge (`mcpgateway.translate`)
22

3-
`mcpgateway-translate` is a lightweight bridge that connects a JSON-RPC server
3+
`mcpgateway.translate` is a lightweight bridge that connects a JSON-RPC server
44
running over StdIO to an HTTP/SSE interface, or consumes a remote SSE stream
55
and forwards messages to a local StdIO process.
66

@@ -31,7 +31,7 @@ Supported modes:
3131
### Expose a local StdIO server over SSE
3232

3333
```bash
34-
mcpgateway-translate \
34+
python3 -m mcpgateway.translate \
3535
--stdio "uvenv run mcp-server-git" \
3636
--port 9000
3737
```
@@ -45,7 +45,7 @@ http://localhost:9000/sse
4545
### Bridge a remote SSE endpoint to a local process
4646

4747
```bash
48-
mcpgateway-translate \
48+
python3 -m mcpgateway.translate \
4949
--sse "https://corp.example.com/mcp" \
5050
--oauth2Bearer "your-token"
5151
```
@@ -55,7 +55,7 @@ mcpgateway-translate \
5555
## Command-Line Options
5656

5757
```
58-
mcpgateway-translate [--stdio CMD | --sse URL | --streamableHttp URL] [options]
58+
python3 -m mcpgateway.translate [--stdio CMD | --sse URL | --streamableHttp URL] [options]
5959
```
6060

6161
### Required (one of)
@@ -110,7 +110,7 @@ Health check endpoint. Always responds with `ok`.
110110
### 1. Browser integration
111111

112112
```bash
113-
mcpgateway-translate \
113+
python3 -m mcpgateway.translate \
114114
--stdio "uvenv run mcp-server-git" \
115115
--port 9000 \
116116
--cors "https://myapp.com"
@@ -125,7 +125,7 @@ http://localhost:9000/sse
125125
### 2. Connect remote server to local CLI tools
126126

127127
```bash
128-
mcpgateway-translate \
128+
python3 -m mcpgateway.translate \
129129
--sse "https://corp.example.com/mcp" \
130130
--oauth2Bearer "$TOKEN" \
131131
--logLevel debug

0 commit comments

Comments
 (0)