REST Sample
Provides Python sample code demonstrating integration between an MCP server and a REST API built with FastAPI.
概要
This project offers a comprehensive Python sample demonstrating seamless integration between an MCP server and a REST API developed with FastAPI. It leverages the `uv` dependency manager for efficient setup and incorporates the Python SDK for MCP to manage the underlying protocol. Designed to serve as a foundational example, it illustrates how to build a unified system capable of handling both RESTful interactions and MCP server functionalities within a single FastAPI application.
主な機能
- Integrates MCP server functionality with a FastAPI-based REST API
- Utilizes the Python SDK for MCP protocol handling
- Manages project dependencies using `uv`
- 1 GitHub stars
ユースケース
- Serving as a reference for integrating MCP servers with FastAPI applications
- Bootstrapping new projects requiring a unified REST and MCP server
- Learning how to implement MCP protocol handling in Python