About PythonCMCPServer
PythonCMCPServer is an example project for building a custom MCP server with Python, aimed at developers learning to set up a local server. Its README shows how to run it with UV and configure it in Claude Desktop.
Key features
- 01Python custom MCP server example
- 02Run the server with UV
- 03Claude Desktop configuration example
Use cases
- 01Learn to configure a Python MCP server
- 02Connect a local MCP server to Claude Desktop
MCP support
The project builds an MCP server and shows how to launch it through Claude Desktop configuration.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEPythonCMCPServer
Building a Custom MCP Server using Python
Install UV
https://docs.astral.sh/uv/getting-started/installation/#installation-methods
Install UV for Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Install Claude Desktop
Edit 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" ] } } }
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.