Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Math Calculator Serveradd 15 and 27"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: Calculator MCP Server
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