About MCPioneer π
MCPioneer is a beginner-oriented Python project that demonstrates building a custom MCP server for AI agents. Its example shows how to expose a tool and install the server in Claude Desktop.
Key features
- 01Python MCP server example
- 02Expose custom tools
- 03UV-based project setup
- 04Claude Desktop installation
Use cases
- 01Learn the basics of creating an MCP server
- 02Try a custom tool with Claude Desktop
MCP support
Demonstrates creating an MCP server that exposes tools, resources, and services to AI agents. The example includes installing the server in Claude Desktop.
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 READMEMCPioneer π
Build Your Own Custom MCP Server for AI Agents
MCPioneer is a beginner-friendly project demonstrating how to create a custom MCP (Message/Command/Processing) server using Python. This server acts as a bridge to extend the capabilities of AI agents, allowing them to perform external tasks like calling APIs, accessing databases, and executing custom tools.
π What is MCP?
An MCP server provides tools, resources, and services that AI agents can access to enhance their functionalities. Think of it as a "toolbox" that an AI can open whenever it needs external help beyond its basic capabilities.
βοΈ Technologies Used
- Python 3.10+
- MXGp Python SDK
- UV Package Manager
- Claude Desktop (for testing)
π Getting Started
1. Install UV (Better Package Manager)
- Windows:
iwr -useb https://mirror.ghproxy.com/https://raw.githubusercontent.com/astral-sh/uv/main/scripts/install.ps1 | iex - Mac/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
2. Initialize Project
uv init .
uv add mcp cli
3. Create a Simple MCP Server
Example main.py:
from mcp_servers.fast_mcp import FastMCP
server = FastMCP(name="DemoServer")
@server.tool
def add_numbers(a: int, b: int) -> int:
return a + b
@server.resource
def greet(name: str) -> str:
return f"Hello, {name}!"
server.run()
4. Install MCP Server into Claude Desktop
uv run mcp install main.py
5. Configure Claude Desktop
- Go to Settings β Developer β Edit Config.
- Add your server to the configurations manually if necessary.
- Restart Claude Desktop if you don't see the MCP server immediately.
π οΈ Project Structure
MCPioneer/
βββ main.py
βββ README.md
βββ .venv/ (created automatically)
βββ uv.toml
β¨ Author
Created with β€οΈ by Nithin.
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.