ezmcp is a simple and efficient framework that facilitates the creation of MCP-compatible servers using a FastAPI-like approach, supporting SSE transport.
ezmcp is a simple and efficient framework that facilitates the creation of MCP-compatible servers using a FastAPI-like approach, supporting SSE transport.
ezmcp is a lightweight framework designed for building MCP-compatible servers with ease. It employs a FastAPI-like syntax, allowing developers to define MCP tools with decorator-based APIs. It features automatic parameter validation, schema generation, built-in SSE support, and middleware integration. This simplifies the process of creating real-time server applications that communicate via Server-Sent Events, making it suitable for developers who want quick deployment and seamless interaction with MCP clients.
Who will use ezmcp?
Developers building real-time MCP servers
Backend developers seeking SSE communication
Integrators needing lightweight MCP solutions
How to use the ezmcp?
Install ezmcp with pip
Create an ezmcp application instance
Define MCP tools using provided decorators
Run the server on desired host and port
Access documentation via /docs endpoint
Connect clients to SSE endpoint for real-time updates
ezmcp's Core Features & Benefits
The Core Features
Decorator-based API for defining MCP tools
Automatic parameter validation and schema generation
Supports SSE transport
FastAPI-style middleware support
Easy integration with Starlette applications
The Benefits
Simplifies MCP server creation
Enhances real-time data transfer
Reduces boilerplate code
Provides built-in documentation
Supports flexible middleware implementation
ezmcp's Main Use Cases & Applications
Developing real-time chat or notification servers
Implementing live data feeds for dashboards
Building custom MCP-compatible APIs with SSE communication
FAQs of ezmcp
What is ezmcp?
What programming language does ezmcp use?
How do I define a new MCP tool?
Does ezmcp support middleware?
Can ezmcp handle real-time updates?
Is there built-in documentation?
Can ezmcp be integrated with existing FastAPI or Starlette apps?