Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update installation instructions for clarity #288

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -73,23 +73,34 @@ The Model Context Protocol allows applications to provide context for LLMs in a

### Adding MCP to your python project

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:
We recommend using [uv](https://docs.astral.sh/uv/) to manage your Python projects. To get started with a new project:

```bash
# Create a new directory for your project
uv init my-mcp-project
cd my-mcp-project

# Install MCP with CLI tools
uv add "mcp[cli]"
```

Alternatively, for projects using pip for dependencies:
For pip-based projects:
```bash
pip install mcp
mcp --help
```

### Running the standalone MCP development tools

To run the mcp command with uv:
### Running an MCP server

```bash
# Running the standalone MCP development tools
uv run mcp

# See available commands
uv run mcp --help

# Run a specific server
uv run mcp dev server.py
```

## Quickstart