Express Starter
An Express MCP server using xmcp's adapter
Framework
Explore template A NestJS MCP server using xmcp's adapter
A NestJS application with xmcp mounted through the NestJS adapter.
/mcp/health and /userssrc/tools/experimental.adapter: "nestjs"Requires Node.js 22.12 or newer. pnpm install also installs @xmcp-dev/compiler, the dev dependency that runs xmcp dev and xmcp build.
The NestJS server starts at http://localhost:3000, and the MCP endpoint is available at /mcp.
The MCP route is exposed through a regular NestJS controller:
Create a new .ts file in src/tools/. The tool is automatically discovered: