MCP_server
Verified Safeby ranjith8847
Overview
This server provides two interfaces for basic arithmetic operations: one via a `fastmcp` framework for tool-calling/agent integration, and another via a standard FastAPI HTTP API.
Installation
python FastAPI_MCP_HTTP/fastapi_mcp_http.pySecurity Notes
The server implements basic arithmetic operations without any dynamic code execution, external dependencies (other than core libraries), or vulnerable patterns. Division by zero is handled gracefully in both implementations, either by raising a ValueError or returning an error message.
Similar Servers
fastapi-mcp-server
An API server built with FastAPI, likely for managing or processing data related to an application or system referred to as 'MCP'.
dora-mcp-server
Provides a server implementation for a Multi-Client Protocol (MCP), likely for managing multiple client connections or game interactions.
ai-examples
A basic weather API server built with FastAPI, demonstrating a Microservice Communication Protocol (MCP) server that provides CRUD operations for weather information.
common-mcp-submodule
A production-ready framework for building HTTP MCP (Model Context Protocol) servers with FastAPI, supporting OAuth 2.1 and Personal Access Token authentication.