All you need is tools/
Declarative, file-system based DX. The easiest way to ship an MCP server
my-project/
├── src/
│ ├── middleware.ts # Middleware for http request/response processing
│ └── tools/ # Tool files are auto-discovered here
│ ├── greet.ts
│ ├── search.ts
├── dist/ # Built output (generated)
├── package.json
├── tsconfig.json
└── xmcp.config.ts # Configuration file for xmcp
Features
- ⊹ File System Routing - Tools are auto-registered from a `tools/` directory
- ⊹ Hot Reloading - Instant development feedback
- ⊹ Middlewares - Toolkit for shipping authentication and custom middlewares
- ⊹ Extensible Configuration - Customizable configuration for your MCP server
- ⊹ Deploy Anywhere - Flexible deployment across any platform
- ⊹ Vercel Support - Deploy-ready for Vercel out of the box
.png)

