
xmcp

Zero-config TypeScript framework to build, deploy, and monetize MCP servers. Auto-discover tools, resources, prompts. Supports HTTP/STDIO.
Editor's Verdict
Key Takeaways
- File System Routing
- Integrations
- Middlewares
- Extensible Configuration
In-Depth Review: What is xmcp?
xmcp is a TypeScript framework that simplifies building and shipping MCP (Model Context Protocol) servers. It provides file-system routing for automatic discovery of tools, resources, and prompts, middleware support, multiple transport protocols (HTTP and STDIO), and integrations for authentication and monetization. With a simple CLI, you can scaffold a new project in seconds and deploy to Vercel, Cloudflare, or any Node host.
Core Features
File System Routing
Automatically register tools, prompts, and resources with zero configuration by placing files in specific directories.
Integrations
Secure access with Better Auth integration and monetize tools with Polar for license-key or pay-per-call payments.
Middlewares
Add authentication, logging, or custom logic to intercept and process requests and responses.
Extensible Configuration
Customize every aspect of your MCP server with flexible configuration options.
Multiple Transport Support
Build and deploy servers with HTTP or STDIO transport protocols out of the box.
Plug & Play to Your Apps
Initialize xmcp directly in existing Next.js, Express, Fastify, or NestJS projects with one command.
CLI Scaffolding
Create new projects and scaffold tools, prompts, and resources via CLI commands like create-xmcp-app.
Adapter Support
Adapters for Next.js, Express, Fastify, and NestJS for seamless integration.
Deployment Ready
Deploy to Vercel with zero configuration, plus support for Cloudflare, Replit, and ALPIC.
Monetization Options
Charge for tools using Polar for license keys or x402 for USDC micropayments on Base.
LLM Discovery
Expose /llms.txt and /llms-full.txt endpoints for LLM discoverability and Smithery registry publishing.
Pricing
Open Source
- Full framework access
- Self-hosted deployment
- Community support via GitHub and Discord
- All features included
Pros and Cons
Pros
- Zero Configuration RoutingAutomatically discovers and registers tools, prompts, and resources from the file system, reducing boilerplate.
- Multiple Transport OptionsSupports both HTTP (stateless) and STDIO (stateful) transports to suit different deployment scenarios.
- Easy Integration with Existing FrameworksAdapters for Next.js, Express, Fastify, and NestJS allow adding MCP servers to existing apps seamlessly.
- Built-in Monetization SupportIntegrates with Polar and x402 for pay-per-use or license-key based charging without extra infrastructure.
- Active Open Source CommunityDeveloped in the open with community contributions, documentation, and support channels.
Cons
- Requires Node.js 20+xmcp requires Node.js version 20 or later, which may not be available in all environments.
- HTTP Transport Is StatelessHTTP mode does not retain session state between requests, requiring clients to resend metadata on each call.
- Learning Curve for MCP ProtocolUsers need to understand the Model Context Protocol (MCP) concepts to effectively use the framework.
Use Cases & Recommended Professions
Software Engineer→ View Toolkit
To quickly build and deploy MCP servers with minimal boilerplate, integrating tools and resources into AI workflows.
CTO / Technical Lead→ View Toolkit
To simplify the team's MCP infrastructure, reduce development time, and leverage built-in monetization for AI tools.
Founder / Startup Builder→ View Toolkit
To ship AI-powered features fast, charge for tool usage, and plug into existing apps like Next.js or Express.
AI Agent Developer→ View Toolkit
To create discoverable, deployable MCP tools and resources that LLMs can call programmatically.
DevOps Engineer→ View Toolkit
To deploy MCP servers across multiple transports (HTTP, STDIO) and platforms (Vercel, Cloudflare) with zero config.
Product Engineer→ View Toolkit
To integrate MCP capabilities into existing products like CMS, chat, or search applications with minimal friction.
Frequently Asked Questions
Alternative AI Tools
View Detailed Comparison →ℹ️ Curation Disclosure: The overview and features of xmcp were synthesized using AI and fact-checked by our curation team to ensure accuracy.












