Calculator icon

Calculator

Provides a suite of mathematical functions accessible via a Model Context Protocol (MCP) server.

소개

Explore the capabilities of the Model Context Protocol (MCP) with this example server, which exposes a range of calculator tools. Built using the FastMCP framework in Python, this project demonstrates how to create and serve modular functions like addition, factorial calculation, and primality testing, making them discoverable and callable by MCP clients. It includes both the server and a simple client to illustrate the protocol's usage and integration.

주요 기능

  • 0 GitHub stars
  • Utilizes streamable HTTP transport for communication
  • Includes a client example for easy testing and interaction
  • Implements an MCP server using the FastMCP framework
  • Exposes common mathematical functions (add, factorial, is_prime)
  • Provides robust development practices including testing and code formatting

사용 사례

  • Developing and testing modular tools with FastMCP
  • Learning how to implement Model Context Protocol (MCP) servers
  • Integrating remote calculation capabilities into applications