modelcontextprotocol / modelcontextprotocol/python-sdk
Allow installing mcp servers from pypi
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 24.3k
- Forks
- 4k
- Ø Merge
- 1 T. 1 Std.
- Gemergte PRs (30 T.)
- 31
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne beim CLI-Einstiegspunkt mcp install und verfolge, wie das aktuelle Argument server.py aufgelöst und gestartet wird. Ermittle, wie neben der Form mit einer lokalen Datei auch ein PyPI-Paketname akzeptiert werden sollte; abgeschlossen ist die Aufgabe, wenn der angeforderte Befehl uv run --with einen über PyPI vertriebenen Server installieren und konfigurieren kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100