Ezmcp icon

Ezmcp

Createdjujumilk3

Simplifies the creation of MCP-compatible servers with a FastAPI-like syntax, specialized for SSE.

About

Ezmcp is a lightweight Python framework designed to streamline the development of MCP-compatible servers. Using a familiar FastAPI-style decorator API, it simplifies defining tools callable by MCP clients, automating parameter validation, type conversion, and tool schema generation. With built-in support for SSE transport, FastAPI-style middleware, and easy integration with Starlette applications, ezmcp provides a robust yet intuitive foundation for building interactive MCP services.

Key Features

  • Automatic parameter validation and type conversion
  • FastAPI-style middleware support
  • FastAPI-style decorator API for defining MCP tools
  • Built-in support for SSE transport
  • Automatic generation of tool schemas from function signatures
  • 17 GitHub stars

Use Cases

  • Creating MCP servers with interactive documentation
  • Developing tools that leverage SSE for real-time communication
  • Integrating MCP functionality into existing Starlette applications
Craft Better Prompts with AnyPrompt