Express middleware for handling Model Context Protocol (MCP) requests
Connect Express to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Express middleware for handling Model Context Protocol (MCP) requests. The express mcp server is what makes that connection.
A middleware for integrating Model Context Protocol (MCP) with Express applications, enabling seamless communication between LLMs and tools.
Model Context Protocol (MCP) is an open protocol for integrating large language models (LLMs) with external data sources and tools. It enables AI assistants to access real-time data, execute operations, and interact with various services through a standardized interface.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
statefulHandler — The statefulHandler tool exposed by this serverstatelessHandler — The statelessHandler tool exposed by this serversseHandlers — The sseHandlers tool exposed by this serverThe server ships on npm as express-mcp-handler, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Express's toolset — statefulHandler, statelessHandler, sseHandlers — is a fair guide to whether it matches your workflow. It is maintained by jhgaylor; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| statefulHandler | The statefulHandler tool exposed by this server. |
| statelessHandler | The statelessHandler tool exposed by this server. |
| sseHandlers | The sseHandlers tool exposed by this server. |
{
"mcpServers": {
"express": {
"command": "npx",
"args": ["-y", "express-mcp-handler"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.