PythonCMCPServer
About
PythonCMCPServer is a tutorial for building a custom MCP (Model Context Protocol) server using Python. It demonstrates how to run an MCP server via uv and configure it with Claude Desktop.
Details
- Author
- maneeshsit
- Downloads
- 234
- Categories
- Other
Jump to
- Uses Python and the mcp[cli] package.
- Run with uv run --with mcp[cli] mcp run <script>.
- Integrates with Claude Desktop via MCP.
- Supports multiple server definitions in config.
Install UV and Claude Desktop, then edit claude_desktop_config.json with the provided configuration, specifying the path to your Python script.
PythonCMCPServer
Building a Custom MCP Server using PythonInstall UV
https://docs.astral.sh/uv/getting-started/installation/#installation-methodsInstall UV for Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Install Claude Desktop
https://claude.ai/downloadEdit Config
claude_desktop_config.json { "mcpServers": { "Demo": { "command": "uv", "args": [ "run", "--with", "mcp[cli]", "mcp", "run", "C:\\Users\\User\\Desktop\\MCPServerTutorial\\main.py" ] }, "AI Sticky Notes": { "command": "uv", "args": [ "run", "--with", "mcp[cli]", "mcp", "run", "C:\\PythonCMCPServer\\main.py" ] } } }Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



