From 826c5825984f08ae31376ec1d362f02bb9f42387 Mon Sep 17 00:00:00 2001 From: David Soria Parra <167242713+dsp-ant@users.noreply.github.com> Date: Wed, 20 Nov 2024 23:51:26 +0000 Subject: [PATCH] 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. --- docs/first-server/python.mdx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/first-server/python.mdx b/docs/first-server/python.mdx index 3c7c5bb..73ac3b8 100644 --- a/docs/first-server/python.mdx +++ b/docs/first-server/python.mdx @@ -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: ```bash - python --version # Should be 3.9 or higher + python --version # Should be 3.10 or higher pip --version ``` + + ```bash + brew install uv + uv --version # Should be 0.4.18 or higher + ``` + + ```bash mkdir weather-server @@ -735,4 +742,4 @@ mypy weather_server.py Read more about the Python SDK - \ No newline at end of file +