Simple-MCP
Verified Safeby ameympatil
Overview
Demonstrates building and exposing simple tools (dice rolling, arithmetic) via the Model Context Protocol (MCP) using Python and fastmcp for AI clients like Claude Desktop.
Installation
uv run fastmcp run main.pySecurity Notes
The server exposes basic arithmetic and dice rolling tools. No `eval()` or `exec()` is used, and no hardcoded secrets are present in the provided source code. The default `0.0.0.0:8000` binding (when run directly via `main.py`) is standard for local development but would require proper network isolation if deployed in a production environment. The `fastmcp` framework itself would handle the underlying protocol security.
Similar Servers
mcp-python-starter
A feature-complete Model Context Protocol (MCP) server template in Python for developing AI applications and agents.
claude-faf-mcp
Optimizes AI understanding of software projects by providing persistent context, fixing context-drift, and enabling bi-directional synchronization between project metadata and AI documentation.
mcp-server
A template for building custom Model Context Protocol (MCP) servers to extend AI model capabilities.
MCP-Servers-using-Python
Demonstrates how to build Model Context Protocol (MCP) servers using `fastmcp` and `fastapi_mcp` libraries through various examples.