Merge pull request #13 from modelcontextprotocol/dsp-ant-patch-3
Update python.mdx to use uv
This commit is contained in:
commit
3628a9126b
1 changed files with 9 additions and 2 deletions
|
|
@ -16,11 +16,18 @@ Let's build your first MCP server in Python! We'll create a weather server that
|
||||||
You'll need Python 3.10 or higher:
|
You'll need Python 3.10 or higher:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python --version # Should be 3.9 or higher
|
python --version # Should be 3.10 or higher
|
||||||
pip --version
|
pip --version
|
||||||
```
|
```
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
|
<Step title="Install uv (https://docs.astral.sh/uv/) via homebrew">
|
||||||
|
```bash
|
||||||
|
brew install uv
|
||||||
|
uv --version # Should be 0.4.18 or higher
|
||||||
|
```
|
||||||
|
</Step>
|
||||||
|
|
||||||
<Step title="Create a new project">
|
<Step title="Create a new project">
|
||||||
```bash
|
```bash
|
||||||
mkdir weather-server
|
mkdir weather-server
|
||||||
|
|
@ -735,4 +742,4 @@ mypy weather_server.py
|
||||||
<Card title="Python SDK" icon="python" href="/api-reference/python/class-reference">
|
<Card title="Python SDK" icon="python" href="/api-reference/python/class-reference">
|
||||||
Read more about the Python SDK
|
Read more about the Python SDK
|
||||||
</Card>
|
</Card>
|
||||||
</CardGroup>
|
</CardGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue