File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -73,11 +73,20 @@ The Model Context Protocol allows applications to provide context for LLMs in a
7373
7474### Adding MCP to your python project
7575
76- We recommend using [ uv] ( https://docs.astral.sh/uv/ ) to manage your Python projects. In a uv managed python project, add mcp to dependencies by:
76+ We recommend using [ uv] ( https://docs.astral.sh/uv/ ) to manage your Python projects.
7777
78- ``` bash
79- uv add " mcp[cli]"
80- ```
78+ If you haven't created a uv-managed project yet, create one:
79+
80+ ``` bash
81+ uv init mcp-server-demo
82+ cd mcp-server-demo
83+ ```
84+
85+ Then add MCP to your project dependencies:
86+
87+ ``` bash
88+ uv add " mcp[cli]"
89+ ```
8190
8291Alternatively, for projects using pip for dependencies:
8392``` bash
You can’t perform that action at this time.
0 commit comments