eMCP
About
A framework for building simple MCP servers with custom middleware
Details
- Author
- joeymeere
- GitHub stars
- 11
- Downloads
- 273
- Categories
- Other
Jump to
- All existing LiteMCP features preserved
- Built‑in authentication handler for requests
- Custom layered middleware support (runs in registration order)
- Near drop‑in replacement for LiteMCP
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
eMCPCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install via npm or Bun (npm i emcp or bun add emcp). You can run provided examples (bun run example:basic, bun run example:auth, etc.). Create a server instance by passing an authenticationHandler function and use server.use() to add custom middleware that runs before and after the standard MCP handler.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"emcp": {
"emcp": {
"command": "bun",
"args": [
"run",
"example:basic"
]
}
}
}
}
McpServers
{
"emcp": {
"command": "bun",
"args": [
"run",
"example:basic"
]
}
}
eMCP
<div>
<a href="https://www.npmjs.com/package/emcp" target="_blank">
</a>
</div>
<br>
A fork of the LiteMCP TS library with extended features like built-in authentication handling, and custom middleware.
Features
This is designed to be a near drop-in replacement for tools like LiteMCP. Because of this, all added features are currently optional.
- All current LiteMCP features
- Built-in authentication handler
- Custom layered middleware support
Quickstart
Install via Bun or NPM:
```bash
npm i emcp
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



