easy-mcp
by zcaceres·★ 194·Score 40
A TypeScript framework for creating MCP servers with simple Express-like API and experimental decorators.
Overview
EasyMCP is a TypeScript framework designed to simplify the creation of Model Context Protocol servers. It provides both an Express-like API for traditional server development and an experimental decorator API for more declarative code. The framework handles the underlying MCP plumbing, allowing developers to focus on functionality rather than protocol implementation. With type safety and context objects for logging and progress reporting, it offers a robust development experience.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose EasyMCP when you're working with TypeScript and want to quickly create MCP servers with minimal boilerplate code, especially if you prefer a declarative approach with decorators or an Express-like API.
When NOT to choose this
Don't choose EasyMCP if you need production-ready decorator API functionality, require MCP sampling or SSE support, or prefer a more mature and stable library with fewer beta limitations.
Tools this server exposes
6 tools extracted from the READMEsimpleFuncnickname: string, height: numberA simple function that returns a nickname and height
middleFuncname: string, active?: string, items?: string[], age?: numberA function with optional parameters for name, active status, items, and age
complexTooldate: string, season: string, year?: numberA function with various parameter types for date, season, and optional year
processDatadataSource: string, context: ContextProcesses data from a data source with progress reporting
greetname: stringGreets a person by name
configured-promptname: stringA configured prompt that generates content based on a name
Comparable tools
Installation
bun install easy-mcpFor Claude Desktop, add to claude_desktop_config.json:
{
"mcpServers": {
"easy-mcp": {
"command": "npx",
"args": ["easy-mcp"]
}
}
}FAQ
- Is the decorator API stable?
- No, the decorator API is experimental and may change or have bugs. The Express-like API is more stable and tested.
- What MCP features are not yet supported?
- EasyMCP currently doesn't support MCP sampling, SSE, resource update notifications, and prompt inputs feel unfinished.
On Hacker News
Recent discussion from the developer community.
- Story by zcaceres · 2025-01-24
Compare easy-mcp with
Last updated · Auto-generated from public README + GitHub signals.