Provides a minimalist FastAPI server implementation designed to mimic a subset of the Model Context Protocol (MCP) functionality.
This project offers a lightweight FastAPI server that emulates key aspects of the Model Context Protocol (MCP). It features both a straightforward RESTful echo endpoint and a robust JSON-RPC 2.0 interface. The RPC endpoint supports discovering available tools (`mcp.list_tools`) and executing them (`mcp.call_tool`), demonstrating functionality with built-in examples like `echo`, `uppercase`, `query_manse` for database interaction, and `calc_daewoon` for date calculations. Complete with Pydantic models for structured data handling, basic logging, and comprehensive tests, it serves as an excellent starting point for building or integrating with MCP-style services.