Math Operations MCP Server
A simple Model Context Protocol (MCP) server built with FastMCP 2.0 that provides basic math operations.
Features
This server provides two tools:
add: Add two numbers together
multiply: Multiply two numbers together
Local Development
Install dependencies:
Run the server:
Deployment on Vercel
Install Vercel CLI:
Deploy to Vercel:
Follow the prompts to configure your deployment.
Usage
Once deployed, the MCP server will be available at your Vercel URL. The server exposes two tools:
Add Tool
Function:
add(a: float, b: float) -> floatDescription: Adds two numbers together
Parameters:
a: First number to addb: Second number to add
Returns: The sum of a and b
Multiply Tool
Function:
multiply(a: float, b: float) -> floatDescription: Multiplies two numbers together
Parameters:
a: First number to multiplyb: Second number to multiply
Returns: The product of a and b
Project Structure
This server cannot be installed
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA mathematical computation service that enables users to perform symbolic calculations including basic arithmetic, algebra, calculus, equation solving, and matrix operations through the MCP protocol.Last updated -14MIT License
- -securityFlicense-qualityProvides basic arithmetic operations and advanced mathematical functions through the Model Context Protocol (MCP), with features like calculation history tracking and expression evaluation.Last updated -
- AsecurityFlicenseAqualityA numerical calculator based on Model Context Protocol (MCP) that provides simple arithmetic operations including addition, subtraction, multiplication, division, power, square root and integer factorial calculations.Last updated -71
- -security-license-qualityA server that provides basic mathematical operations (addition, subtraction, multiplication, division, power, square root) through MCP tools for use with AI assistants like Claude.