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., "@Basic Math MCP Serversum 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.
Basic Math MCP Server
A simple Model Context Protocol (MCP) server that provides basic mathematical operations.
Features
This MCP server provides two tools:
sum: Add two numbers together
subtraction: Subtract the second number from the first number
Related MCP server: MCP Calculator Server
Installation
Install dependencies:
Build the TypeScript code:
Usage
Testing the server directly
Connecting to AI clients (Claude Desktop, etc.)
Copy the
mcp.jsonconfiguration to your AI client's MCP configuration directoryUpdate the path in
mcp.jsonto point to your server's locationRestart your AI client
Configuration for Claude Desktop
Add this to your Claude Desktop MCP configuration file:
Available Tools
sum
Description: Add two numbers together
Parameters:
a(number): First numberb(number): Second number
Returns: The sum of the two numbers
subtraction
Description: Subtract the second number from the first number
Parameters:
a(number): First number (minuend)b(number): Second number (subtrahend)
Returns: The result of a - b
Development
Build:
npm run buildStart:
npm startDevelopment:
npm run dev(builds and starts)