Emcp icon

Emcp

Createdjoeymeere

Extend LiteMCP functionality to build MCP servers with custom authentication and middleware.

About

Emcp is a framework for building Model-Context-Protocol (MCP) servers, extending the functionality of LiteMCP with optional features like built-in authentication handling and custom layered middleware. Designed as a near drop-in replacement for LiteMCP, Emcp allows developers to create robust and customizable MCP server solutions with ease. Its middleware system offers a request-response lifecycle similar to frameworks like Hono, enabling pre- and post-processing of requests.

Key Features

  • Built-in authentication handler
  • Custom layered middleware support
  • Compatible with existing LiteMCP features
  • 11 GitHub stars

Use Cases

  • Adding authentication to existing LiteMCP implementations
  • Implementing custom request processing logic via middleware
  • Timing request-response cycles with custom middleware
Craft Better Prompts with AnyPrompt