modelcontextprotocol / modelcontextprotocol/python-sdk

Allow installing mcp servers from pypi

Open
#762 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs decision P3
Dominant language
Python
Stars
24.3k
Forks
4k
Avg merge
1d 1h
Merged PRs (30d)
31

Description

Is your feature request related to a problem? Please describe.
Distribution of python mcp servers is not possible via pypi.

Describe the solution you'd like
Right now we can install mcp servers like:
uv run --with mcp[cli] mcp install server.py but that means that the mcp server
has to exist locally

but it'd be helpful to be able to do:

uv run --with mcp[cli], cratedb-mcp install cratedb-mcp, where cratedb-mcp is a mcp server available in pypi, installed with the uv run --with commands.

Describe alternatives you've considered
Extra scripting.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the mcp install CLI entry point and trace how the current server.py argument is resolved and launched. Determine how a PyPI package name should be accepted alongside the local-file form; done means the requested uv run --with command can install and configure a server distributed through PyPI.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.