creating-an-mcp-server
Verified Safeby mustafa861
Overview
This server demonstrates the creation and exposure of simple arithmetic tools via an MCP (Multi-Agent Communication Protocol) endpoint.
Installation
uvicorn server:mcp_app --host 127.0.0.1 --port 8000Security Notes
The provided code implements simple arithmetic functions exposed as tools. There are no 'eval' or 'exec' calls, no obvious hardcoded secrets, and no direct arbitrary code execution vectors in the exposed logic. The underlying 'mcp' library's security is assumed, but the application logic itself appears robust for its intended purpose.
Similar Servers
FerrumMCP
A browser automation server enabling AI assistants to interact with web pages through a standardized Model Context Protocol (MCP) interface for tasks like web scraping, testing, and anti-detection.
mcp
This MCP server advises development agents on modern and performant best practices by identifying inefficient or outdated npm packages and serving migration documentation.
dev-kit-gh-mcp-server
A GitHub Model Context Protocol server designed for automation, bots, and AI agents to perform focused repository operations.
n7m-mcp
Provides AI assistants with geocoding, reverse geocoding, and OpenStreetMap object lookup capabilities via the Model Context Protocol.