Demonstrates integrating FastAPI and FastMCP to serve LLM-callable tools via the MCP protocol.
This project provides a practical reference implementation for creating an MCP server using Python's FastAPI framework and the FastMCP library. It specifically illustrates how to define and expose a simple 'add numbers' function, making it accessible to Large Language Models (LLMs) like Claude Code. The repository covers the entire setup process, from installation and server execution to integrating the tool with an LLM and verifying its functionality, serving as a comprehensive guide for developers looking to build custom LLM-friendly APIs.