Express
Plug xmcp into your existing Express application.
Installation
xmcp can work on top of your existing Express project. To get started, run the following command in your project directory:
After setting up the project, your build and dev command should look like this:
When running dev or build command, xmcp will bundle your tools into .xmcp/adapter.
You should add the /mcp endpoint in your existing server.
middleware.ts is not supported in this mode.