codesnippetsforall/MCP-Server-using-Javascript-Arithmetic-Operation-via-Node-and-NPM
If you are the rightful owner of MCP-Server-using-Javascript-Arithmetic-Operation-via-Node-and-NPM and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP Arithmetic Server is a JavaScript-based server that provides arithmetic operations over stdio using the Model Context Protocol (MCP).
Tools
Functions exposed to the LLM to take actions
add
Returns the sum of two numbers.
subtract
Returns the difference between two numbers.
multiply
Returns the product of two numbers.
divide
Returns the quotient of two numbers, errors on division by zero.
power
Returns the result of raising a number to a power.
modulus
Returns the remainder of division of two numbers, errors on modulo by zero.
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client