Who it is forSomeone reviewing a colleague's server.py who does not want to create a Python project for it.
The problemInstalling the SDK into a project just to poke at one server file adds clutter.
The outcomeThe mcp dev, mcp run and mcp install commands available on demand through uv.
What you need first
- Python 3.11 or later
- uv or pip
- The cli extra for the mcp command-line tool
- Optional: the MCP Inspector, which mcp dev opens
Steps
- Install uv if you do not have it
- Use
uv run --with "mcp[cli]" mcp ...to run any mcp command without a project - Open a server in the Inspector with mcp dev, or run it with mcp run
- Use mcp install to install a server for a host, per the README's list of commands
- Install plain mcp instead of the cli extra in projects that do not need the command-line tool
Prompt for your agent
Without creating a project, use the modelcontextprotocol/python-sdk CLI through `uv run --with "mcp[cli]" mcp ...` to open <server file> in the MCP Inspector and list what it exposes.
Caveat. The README lists mcp install but does not say which hosts it supports, so check the docs before relying on it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for modelcontextprotocol/python-sdk and "Try MCP commands without setting up a project"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer