Express MCP Server

Express middleware for handling Model Context Protocol (MCP) requests

Local serverstdioTypeScript

What is the Express MCP Server?

Express middleware for handling Model Context Protocol (MCP) requests

What the server does

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.

  • Stateful Handler — Can handle one off requests or maintain long-lived sessions with session IDs and Server-Sent Events (SSE)
  • Stateless Handler — Handles each request in complete isolation for simple, one-off interactions
  • SSE Handler — Handles Model Context Protocol (MCP) over Server-Sent Events (SSE) with dedicated GET and POST endpoints
  • Type-Safe API — Built with TypeScript for reliable integration
  • Flexible Configuration — Customizable error handling, session management, and lifecycle hooks
  • Express Integration — Plugs directly into Express routes with middleware pattern

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
statefulHandler
statelessHandler
sseHandlers

How to install the Express MCP Server

{
  "mcpServers": {
    "express": {
      "command": "npx",
      "args": ["-y", "express-mcp-handler"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use Express to statefulHandler.”
  • “Use Express to statelessHandler.”
  • “Use Express to sseHandlers.”

Frequently asked questions

Express middleware for handling Model Context Protocol (MCP) requests Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.