MCP Server Deepdive Deployment
A Model Context Protocol (MCP) server example that provides basic mathematical operations.
Features
- add: Add two numbers together
Installation
From GitHub
Add the following configuration to your MCP settings (e.g., Claude Desktop config):
{
"mcpServers": {
"mcp-server-deepdive-deployment": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/Stauffacher/mcpserverexample.git",
"mcp-server"
]
}
}
}
Local Development
- Clone the repository:
git clone https://github.com/Stauffacher/mcpserverexample.git
cd mcpserverexample
- Install dependencies:
uv sync
- Run the server:
uv run mcp-server
Project Structure
├── src/
│ └── mcpserver/
│ ├── __init__.py
│ ├── __main__.py # Entry point
│ └── deployment.py # MCP tools
├── pyproject.toml # Project configuration
└── README.md
Requirements
- Python >= 3.11
- mcp[cli] >= 1.26.0
License
See LICENSE file for details.
