diff --git a/docs/first-server/python.mdx b/docs/first-server/python.mdx index da7fdef..8936a9d 100644 --- a/docs/first-server/python.mdx +++ b/docs/first-server/python.mdx @@ -33,17 +33,16 @@ Let's build your first MCP server in Python! We'll create a weather server that ``` - + ```bash - mkdir weather-service - cd weather-service - uv init --package --app --name weather-service + uvx create-mcp-server --path weather_service + cd weather_service ``` - + ```bash - uv add mcp requests python-dotenv + uv add requests python-dotenv ``` @@ -59,13 +58,6 @@ Let's build your first MCP server in Python! We'll create a weather server that ## Create your server - - ```bash - mkdir -p weather_service/src/weather_service - touch weather_service/src/weather_service/server.py - ``` - - In `weather_service/src/weather_service/server.py` ```python