Simple

•
8
•

Facilitates the creation of Model Context Protocol (MCP) servers in Python using FastAPI and streamable HTTP.

Simple is a Python-based project focused on building MCP servers. It leverages FastMCP, FastAPI, and streamable HTTP to provide a clear and accessible platform for understanding and working with the Model Context Protocol. The project provides a testing platform for MCP clients and emphasizes the separation between service and client, showcasing the recommended approach for building MCP servers with streamable HTTP transport.

主要功能

01Implements a simple MCP server using FastMCP
02Includes a testing client to verify functionality
03Integrates with FastAPI to serve as a streamable HTTP service
04Provides a basic echo and add tool as examples
05Supports stateful and stateless server configurations
060 GitHub stars

使用案例

01Building MCP servers for LLM applications
02Testing and understanding MCP client interactions
03Integrating MCP functionality into existing FastAPI applications