About My First Mcp Server
A Python leave-management MCP server setup described as a starter project. It uses a mock leave database and is intended for trying leave-related tools in Claude Desktop.
Key features
- 01Leave-management tools
- 02Mock leave database
- 03Python project setup
Use cases
- 01Try HR leave-management queries
- 02Set up a starter server in Claude Desktop
MCP support
The server responds to MCP client queries about leave management using a mock database. The README describes installing it 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 README1.Go to your desired project folder 2.Initialize the project using(uv init my-first-mcp-server) 3. Move into the new project folder(cd my-first-mcp-server) 4. Create and activate a virtual environment (if not already done) [python -m venv .venv & then .venv\Scripts\Activate.ps1] 5. Install MCP CLI inside this project using uv add "mcp[cli]" 6. pip install --upgrade typer 7. Add your main.py leave management code 8. Install your server using (uv run mcp install main.py) Finally, Restart Claude Desktop if needed.
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.