Skip to content

Commit 7cac6f8

Browse files
authored
Uv one liner (#730)
* docs: One-liner using UV in README Branch: UVOneLiner Signed-off-by: Gabe Goodhart <[email protected]> * docs: Add uv to doc site quick start Branch: UVOneLiner Signed-off-by: Gabe Goodhart <[email protected]> --------- Signed-off-by: Gabe Goodhart <[email protected]>
1 parent 5505950 commit 7cac6f8

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,16 @@ MCP Gateway is published on [PyPI](https://pypi.org/project/mcp-contextforge-gat
203203

204204
---
205205

206+
**TLDR;**:
207+
(single command using [uv](https://docs.astral.sh/uv/))
208+
209+
```bash
210+
BASIC_AUTH_PASSWORD=pass \
211+
MCPGATEWAY_UI_ENABLED=true \
212+
MCPGATEWAY_ADMIN_API_ENABLED=true \
213+
uvx --from mcp-contextforge-gateway mcpgateway --host 0.0.0.0 --port 4444
214+
```
215+
206216
<details>
207217
<summary><strong>📋 Prerequisites</strong></summary>
208218

docs/docs/overview/quick_start.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ Pick an install method below, generate an auth token, then walk through a real t
1111

1212
## Installing and starting MCP Gateway
1313

14+
=== "PyPI / uv"
15+
16+
!!! note
17+
**Prereqs**: Install uv (https://docs.astral.sh/uv/getting-started/installation/)
18+
19+
```bash
20+
BASIC_AUTH_PASSWORD=pass \
21+
MCPGATEWAY_UI_ENABLED=true \
22+
MCPGATEWAY_ADMIN_API_ENABLED=true \
23+
uvx --from mcp-contextforge-gateway mcpgateway --host 0.0.0.0 --port 4444
24+
```
25+
1426
=== "PyPI / virtual-env"
1527

1628
### Local install via PyPI

0 commit comments

Comments
 (0)