Provides a simple Model Context Protocol (MCP) server for basic arithmetic operations like addition, subtraction, multiplication, and division.
Math is a minimal Model Context Protocol (MCP) server built with FastMCP and TypeScript, designed to expose fundamental arithmetic capabilities as accessible endpoints. It offers robust input validation via zod and supports HTTP streaming transport, making it an ideal component for integrating basic numerical computations into AI agents, chatbots, or other applications that require precise and validated math operations.
Características Principales
01Built with TypeScript for type safety and scalability
02Supports HTTP streaming transport on port 8083
03Exposes four math tools as MCP endpoints: add, subtract, multiply, divide
040 GitHub stars
05Ensures input validation with zod
Casos de Uso
01Providing a microservice for simple numerical calculations within a larger system
02Integrating basic arithmetic functions into AI agents or chatbots
03Serving as a foundational example for building new FastMCP servers