xmcp – TypeScript framework for building and shipping MCP applications

4 months ago 3

Designed with DX in mind, it streamlines development and lowers the barrier to entry for anyone looking to create and deploy powerful tools on top of the Model Context Protocol ecosystem.

Bootstrap your xmcp app with one command

Plug into your existing Next.js or Express app

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
Read Entire Article