EasyMCP simplifies creating Model Context Protocol (MCP) servers in TypeScript by abstracting boilerplate code. It offers an intuitive API and experimental decorators for defining resources, prompts, and tools with type safety.
EasyMCP simplifies the creation of Model Context Protocol (MCP) servers in TypeScript, abstracting away boilerplate code. It's currently in beta, so bug reports are appreciated.
EasyMCP offers a simple Express-like API for defining Tools, Prompts, Resources, Resource Templates, and Roots. An experimental Decorators API automatically infers tool, prompt, and resource arguments, eliminating the need for manual input schema definitions. A Context object provides access to MCP capabilities like logging and progress reporting within tools. The library emphasizes type safety for enhanced developer experience and fewer runtime errors.
Key features include a simple API, an experimental Decorators API, a Context object, and strong type safety.
Installation is done via bun install
. The README provides quick start examples for both the Decorators API and the Express-like API.
The project is licensed under the MIT License and was created by Zach Caceres, inspired by FastMCP.
zcaceres/easy-mcp
December 26, 2024
March 28, 2025
TypeScript