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) -> float
- Description: 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) -> float
- Description: 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
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables basic mathematical operations through MCP protocol with add and multiply tools. Built with fastmcp 2.0 and optimized for serverless deployment on Vercel.
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 -14PythonMIT 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 -Python
- 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 -71Python
- -securityFlicense-qualityA server that provides basic mathematical operations (addition, subtraction, multiplication, division, power, square root) through MCP tools for use with AI assistants like Claude.Last updated -Python