diff --git a/docs/first-server/python.mdx b/docs/first-server/python.mdx index 73ac3b8..5d38acb 100644 --- a/docs/first-server/python.mdx +++ b/docs/first-server/python.mdx @@ -11,6 +11,10 @@ Let's build your first MCP server in Python! We'll create a weather server that ## Prerequisites + + The following steps are for macOS. Guides for other platforms are coming soon. + + You'll need Python 3.10 or higher: @@ -21,7 +25,9 @@ Let's build your first MCP server in Python! We'll create a weather server that ``` - + + See https://docs.astral.sh/uv/ for more information. + ```bash brew install uv uv --version # Should be 0.4.18 or higher @@ -54,14 +60,8 @@ Let's build your first MCP server in Python! We'll create a weather server that ## Create your server - - ```bash - touch weather_server.py - ``` - - - In `weather_server.py`: + Create a file `weather_server.py` and add the following: ```python import os