my-first-mcp-server
This is a starter project for building modular, event-driven AI services using MCP (Modular Claude Protocol). The server is initialized with uv and comes preconfigured with FastAPI, Starlette, and Pydantic. Ideal for developers who want to quickly prototype Claude-integrated AI agents, business tools, or workflow automation services.
GitHub Stars
0
User Rating
Not Rated
Forks
0
Issues
0
Views
2
Favorites
0
README
š My First MCP Server
This project demonstrates how to set up and run your first MCP server using MCP
and uv
.
š Prerequisites
- Python 3.12+
- macOS with Apple Silicon (ARM64)
pip
anduv
installed
āļø Installation Steps
1. Install MCP and CLI Dependencies
pip install MCP
If you get an error using mcp[cli] in zsh, use the workaround below.
# Workaround for CLI support
pip install --upgrade typer
pip install shellingham
2. Install uv
Copy
Edit
pip install uv
3. Initialize a New MCP Project
Copy
Edit
uv init my-first-mcp-server
cd my-first-mcp-server
This creates the following structure:
css
Copy
Edit
my-first-mcp-server/
āāā main.py
āāā pyproject.toml
āāā README.md
4. Install and Register the Server
Copy
Edit
uv run mcp install main.py
If successful, you'll see a message like:
nginx
Copy
Edit
INFO Successfully installed LeaveManager in Claude app
Author Information
Hi, I'm Madhav ā a 4th-year undergraduate at IIT BHU and an enthusiastic builder in the world of AI & Machine Learning.
https://iitbhu.ac.in/Guwahati,Assam
2
Followers
28
Repositories
0
Gists
2
Total Contributions
Top Contributors
Tags
Threads