ezmcp
@jujumilk3
About ezmcp
Easy-to-use MCP server framework specialized for SSE.
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is ezmcp?
ezmcp is a lightweight framework that makes it easy to create MCP-compatible servers using a FastAPI-like syntax. It provides a decorator-based API for defining tools that can be called by MCP clients, with built-in support for SSE transport.
How to use ezmcp?
Install via pip install ezmcp, then create an application with ezmcp("app-name"), define tools using the @app.tool decorator, and run the server with app.run(host="0.0.0.0", port=8000). After starting, the SSE endpoint is available at /sse and an interactive documentation page at /docs.
Key features of ezmcp
- FastAPI-style decorator API for defining MCP tools
- Automatic parameter validation and type conversion
- Automatic generation of tool schemas from function signatures
- Built-in support for SSE transport
- FastAPI-style middleware support
- Easy integration with existing Starlette applications
- Interactive documentation page for exploring and testing tools
Use cases of ezmcp
- Creating a simple MCP server with an echo tool for testing
- Rapidly building MCP-compatible servers with minimal boilerplate
- Exposing backend functions as MCP tools over SSE
- Prototyping MCP servers with an interactive API documentation UI
FAQ from ezmcp
How do I install ezmcp?
Install via pip: pip install ezmcp.
How do I define a tool in ezmcp?
Use the @app.tool(description="...") decorator on an async function that returns a list of TextContent (or other content) objects.
How do I run the ezmcp server?
Call app.run(host="0.0.0.0", port=8000) on your ezmcp application instance.
Does ezmcp support middleware?
Yes, ezmcp supports FastAPI-style middleware using the @app.middleware decorator.
What is the license for ezmcp?
ezmcp is licensed under the MIT License.
Frequently asked questions
How do I install ezmcp?
Install via pip: `pip install ezmcp`.
How do I define a tool in ezmcp?
Use the `@app.tool(description="...")` decorator on an async function that returns a list of `TextContent` (or other content) objects.
How do I run the ezmcp server?
Call `app.run(host="0.0.0.0", port=8000)` on your ezmcp application instance.
Does ezmcp support middleware?
Yes, ezmcp supports FastAPI-style middleware using the `@app.middleware` decorator.
What is the license for ezmcp?
ezmcp is licensed under the MIT License.
Basic information
More Other MCP servers
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Nginx UI
0xJackyYet another WebUI for Nginx
Comments