Skip to content

Commit fe20e2e

Browse files
committed
Update README to clarify installing mcp to project vs running mcp
uv add is for adding dependency to uv managed python projects, and folks not familiar with uv may mistaken the command for running mcp. Added wordings that clarifies this.
1 parent ad7f7a5 commit fe20e2e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,27 @@ The Model Context Protocol allows applications to provide context for LLMs in a
6767

6868
## Installation
6969

70-
We recommend using [uv](https://docs.astral.sh/uv/) to manage your Python projects:
70+
### Adding MCP to your python project
71+
72+
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:
7173

7274
```bash
7375
uv add "mcp[cli]"
7476
```
7577

76-
Alternatively:
78+
Alternatively, for projects using pip for dependencies:
7779
```bash
7880
pip install mcp
7981
```
8082

83+
### Running the standalone MCP development tools
84+
85+
To run the mcp command with uv:
86+
87+
```bash
88+
uv run mcp
89+
```
90+
8191
## Quickstart
8292

8393
Let's create a simple MCP server that exposes a calculator tool and some data:

0 commit comments

Comments
 (0)