Skip to content

Commit 826c582

Browse files
authored
Update python.mdx to use uv
Use uv. In the quickstart we use a nice way to show how to setup requirements. Maybe we need to do that here @zckly as well.
1 parent 4375e68 commit 826c582

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/first-server/python.mdx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,18 @@ Let's build your first MCP server in Python! We'll create a weather server that
1616
You'll need Python 3.10 or higher:
1717

1818
```bash
19-
python --version # Should be 3.9 or higher
19+
python --version # Should be 3.10 or higher
2020
pip --version
2121
```
2222
</Step>
2323

24+
<Step title="Install uv (https://docs.astral.sh/uv/) via homebrew">
25+
```bash
26+
brew install uv
27+
uv --version # Should be 0.4.18 or higher
28+
```
29+
</Step>
30+
2431
<Step title="Create a new project">
2532
```bash
2633
mkdir weather-server
@@ -735,4 +742,4 @@ mypy weather_server.py
735742
<Card title="Python SDK" icon="python" href="/api-reference/python/class-reference">
736743
Read more about the Python SDK
737744
</Card>
738-
</CardGroup>
745+
</CardGroup>

0 commit comments

Comments
 (0)