A simple calculator app with MCP compliant server and client
Overview
What is MCP Calculator?
MCP Calculator is a simple calculator app that utilizes the Model Context Protocol (MCP) to perform basic arithmetic operations such as addition, subtraction, multiplication, division, and modulo.
How to use MCP Calculator?
To use MCP Calculator, set up the environment by activating the virtual environment and running the server. Then, connect to the MCP server using the provided client script to perform calculations.
Key features of MCP Calculator?
- Performs basic arithmetic operations (add, subtract, multiply, divide, modulo)
- Debugging server using MCP Inspector
- MCP-based client for user queries
Use cases of MCP Calculator?
- Performing quick arithmetic calculations.
- Exploring the functionalities of the Model Context Protocol.
- Debugging and testing MCP server-client interactions.
FAQ from MCP Calculator?
- What operations can MCP Calculator perform?
MCP Calculator can perform addition, subtraction, multiplication, division, and modulo operations.
- Is there a way to store previous calculations?
No, the current version does not support storage of previous chat history to maintain simplicity.
- What technologies are used in MCP Calculator?
MCP Calculator uses FastMCP and the anthropic API for its functionalities.