Skip to content

Fix setup instructions for Claud and MCP #425

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 24 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ 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.
We recommend using [uv](https://docs.astral.sh/uv/) to manage your Python projects.

If you haven't created a uv-managed project yet, create one:

Expand Down Expand Up @@ -127,14 +127,34 @@ def get_greeting(name: str) -> str:
return f"Hello, {name}!"
```

You can install this server in [Claude Desktop](https://claude.ai/download) and interact with it right away by running:
### Installing in Claude Desktop

You can install this server in [Claude Desktop](https://claude.ai/download) by running:

```bash
mcp install server.py
uv run mcp install server.py
```

Then open Claude Dekstop app, open Settings / Developer / Edit Config, edit the config JSON file and replace

```json
"command": "uv",
```

with full path to `uv` executable on your machine, for Mac it's usually:

```json
"command": "/Users/YOUR_USERNAME/.local/bin/uv",
```

Save the file and restart Claude Desktop.

### Running the server with MCP Inspector

Alternatively, you can test it with the MCP Inspector:

```bash
mcp dev server.py
uv run mcp dev server.py
```

## What is MCP?
Expand Down