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
73
73
74
74
### Adding MCP to your python project
75
75
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.
77
77
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
+ ```
81
90
82
91
Alternatively, for projects using pip for dependencies:
83
92
``` bash
You can’t perform that action at this time.
0 commit comments