xmcp

xmcp

xmcp is an open-source TypeScript framework for building and shipping MCP (Model Context Protocol) servers that discover and expose tools, prompts, and resources from your project so developers can quickly ship AI-enabled tool APIs and agent integrations.

xmcp is framework software teams evaluate for developer tools. Use this page to review pricing, integration signals, and the best alternatives before you commit.

Contact for pricing API 70/100
#122 in Developer Tools (122 tools)
Added 1 year ago
Data reviewed Jul 15, 2026

Profile facts come from the vendor source. AiMatch labels unknown pricing or API details instead of estimating them.

Review official source →

Quick Overview

Best for: Developer Tools

What it does

Framework software for decision-makers comparing workflow fit and alternatives.

Best fit

Developer Tools

Pricing snapshot

Contact for pricing

Next step

Compare xmcp with similar tools before you shortlist it.

Compare this tool before you shortlist it

Review alternatives, pricing posture, and workflow fit side by side.

xmcp

xmcp is a TypeScript framework for building and shipping MCP (Model Context Protocol) servers. It handles common boilerplate for defining tools, resources, and prompts by auto-discovering them from the project file system so developers can focus on business logic and ship AI tools quickly. The framework supports multiple transports (HTTP and STDIO), middleware (authentication, logging), adapters for popular Node frameworks (Next.js, Express, Fastify, NestJS), and deployment targets such as Vercel, Cloudflare, Replit, and ALPIC. xmcp is open source and maintained at github.com/basementstudio/xmcp.

An open-source framework designed to streamline development and deployment of powerful tools on the Model Context Protocol ecosystem, with a focus on developer experience.

Own this listing?

Claim this page for a one-time $29 to add pricing, features, screenshots, verified owner details, and a clearly labeled 30-day category position after the profile is live.

Claim this listing for $29

Key Features

File System Routing & Auto-discovery

Automatically register tools, prompts, and resources from src/tools, src/prompts, and src/resources with zero manual registration.

Multiple Transport Support

Supports HTTP and STDIO transports out of the box; HTTP is stateless and suits remote/serverless deployments while STDIO is typical for local clients.

Middlewares

Add authentication, logging, or custom logic to intercept and process requests and responses; ships middleware for API key and JWT authentication.

Extensible Configuration

Customize server behavior via xmcp.config.ts (HTTP port, host, endpoint, CORS, etc.).

Framework Adapters

Adapters for Next.js, Express, Fastify, and NestJS to integrate xmcp into existing applications or run standalone.

Monetization & Auth Integrations

Integrations for monetization (Polar, x402 for pay-per-call USDC payments) and authentication providers (Better Auth, Auth0, Clerk, Scalekit, WorkOS).

Scaffolding & DX

Project scaffolding via `npx create-xmcp-app@latest` and tool scaffolding `xmcp create tool` for fast setup and developer experience.

Pricing

Current pricing details are not available from the vendor source.

Use Cases

Expose LLM-callable tools and actions

Define functions (tools) that LLMs can call to perform actions or fetch data, discovered automatically from your project.

Build agent-facing MCP servers

Create MCP servers that agents and LLMs can query via HTTP or local STDIO transports for tool calls and resources.

Integrate MCP into existing web apps

Add an MCP server to Next.js, Express, Fastify, or NestJS applications to provide AI tool endpoints without rearchitecting the app.

Monetize tool usage

Gate tools behind license-key based monetization (Polar) or pay-per-call micropayments (x402/USDC on Base) as described in the docs.

Integrations

Better Auth

Integration for secure authentication (listed as an integration for secure access).

Polar

Integration for license-key based monetization of MCP tools.

x402 (USDC on Base)

Pay-per-call micropayments integration to charge per tool call using USDC on Base.

Auth0, Clerk, Scalekit, WorkOS

Supported authentication providers and adapters for different auth workflows.

Next.js, Express, Fastify, NestJS

Framework adapters to plug xmcp into existing Node.js applications or run standalone.

Vercel, Cloudflare, Replit, ALPIC

Documented deployment targets; HTTP transport runs on any Node-compatible host and Vercel is supported with zero configuration.

Benefits

Reduces MCP boilerplate so developers can focus on product logic and tool implementation.
Fast from zero to production with scaffolding, configuration examples, and one-command deploys to Vercel.
Flexible: supports multiple transports, middleware, auth providers, monetization options, and framework adapters for easy integration.

Limitations

HTTP transport is stateless: the server does not retain per-client session memory between requests; clients must repeat any needed metadata (e.g., via headers).
xmcp requires Node.js 20 or later as stated in the docs.

Frequently Asked Questions

What is xmcp?
xmcp is a TypeScript framework for building and shipping MCP (Model Context Protocol) applications. It handles the boilerplate of defining tools, resources, and prompts — auto-discovering them from your project — so you can focus on functionality and ship AI tools on top of the MCP ecosystem.
How do I create a new xmcp project?
Use `npx create-xmcp-app@latest` to scaffold a project (pick package manager, transport, components). To add xmcp to an existing app run `npx init-xmcp@latest`, or install manually with `npm i xmcp zod@^3.25.76`. xmcp requires Node.js 20 or later.
What are tools, resources, and prompts in xmcp?
Tools are functions the LLM can call to perform actions (auto-discovered from `src/tools`). Resources are read-only data sources that provide context (auto-discovered from `src/resources`). Prompts are user-controlled, parameterized instruction templates (auto-discovered from `src/prompts`).
How do I define a tool in xmcp?
Add a file to `src/tools` that exports an optional `schema` (Zod) describing inputs, an optional `metadata` object (name, description, annotations), and a default async function that handles the call. You can scaffold one with `xmcp create tool my-tool`.
What transports does xmcp support?
xmcp supports HTTP and STDIO transports. HTTP is stateless and suited to remote/serverless deployments (defaults to port 3001 and `/mcp` endpoint). STDIO runs on the user's machine for local clients.
Is xmcp open source?
Yes. xmcp is open source and developed in the open at github.com/basementstudio/xmcp.
Can I charge for my MCP tools?
Yes. xmcp integrates with Polar for license-key based monetization and with x402 for pay-per-call payments in USDC on Base.

Getting Started

  1. 1 Step 1: Scaffold a new project with `npx create-xmcp-app@latest` and follow the interactive prompts.
  2. 2 Step 2: Configure your environment via xmcp.config.ts (example shows HTTP port, host, endpoint, and CORS).
  3. 3 Step 3: Add tools, prompts, and resources in src/tools, src/prompts, and src/resources (examples provided) and run or deploy (example uses Vercel CLI).

Support

docs

Primary documentation and guides are available on the official site: https://xmcp.dev/

github

Source repository, issues, and contributions: https://github.com/basementstudio/xmcp

community

Community channels (X, Discord) and package links are listed on the site (labels: NPM, GitHub, X, Discord).

API

Available: Yes
Documentation:

Documentation and examples for transports, configuration, and tools are available at https://xmcp.dev/

Compare xmcp with similar tools

See how it stacks up against alternatives

Freemium
Copperhead

Copperhead

Copperhead is an open-source AI engineering platform and CLI that helps hardware teams design, verify, and ship printed circuit boards by editing KiCad files, running KiCad checks (ERC/DRC), and producing gerbers, firmware, and documentation in a gated, auditable pipeline.

Developer Tools
Top source
Free
Moadim.io

Moadim.io

Moadim is an open-source loop engine that schedules and runs AI agents (Claude, Codex, Hermes, NanoClaw, Pi) against a repository or task on a recurring schedule in isolated workbenches with watchdogs and built-in HTTP/MCP interfaces.

Developer Tools
Top source
Botbin.io

Botbin.io

Botbin.io is a pastebin-style hosting service for AI agent artifacts that lets agents publish HTML artifacts (landing pages, interactive dashboards, rich reports) and share links instead of raw HTML in chat or terminals.

Developer Tools
Free
Docs.dev Your Own Hosted Docs Platform in Minutes

Docs.dev Your Own Hosted Docs Platform in Minutes

Docs.dev is a deployable documentation template that runs as a Cloudflare Worker in your account, using your GitHub repo as the source of truth and agent-powered drafting (e.g., Claude Code or Codex) to generate reviewable docs branches that your team publishes via commit.

Developer Tools
Free
Bullet · Fast, by design.

Bullet · Fast, by design.

Bullet is a fast coding agent and developer tool that routes, searches, and executes code-focused tasks with a tight loop to minimize latency — offered as a macOS download and currently available in private beta.

Developer Tools
Contact for pricing
statuslin.es

statuslin.es

statuslin.es is a community gallery of Claude Code status lines—copyable, previewed scripts and themes for terminal/status-bar displays that show Claude model stats (tokens, cost, limits), git info, and other runtime metrics.

Developer Tools
Free
Codify

Codify

Codify is a cross-platform tool that declares and automates developer environments as code—via a CLI and dashboard—so teams and individuals can standardize, reproduce, and apply development setups on macOS, Linux, and WSL.

Developer Tools
Contact for pricing
Waku

Waku

Waku is a native macOS app that consolidates coding agents and their activity into a single local timeline—sessions, transcripts, tool activity, and checkpoints—while running entirely on your machine with a GPU-accelerated native UI.

Developer Tools

Premium Alternatives

Paid
OTP Inspired actor supervisor based full stack templates

OTP Inspired actor supervisor based full stack templates

ShipStacks provides production-grade, OTP-inspired full-stack SaaS templates that include supervisors/actor patterns, auth, payments, uploads, AI chat and agent playbooks, and Docker-ready deployment in multiple languages and frameworks.

Developer Tools
Paid
TokenDelivery.ai

TokenDelivery.ai

TokenDelivery.ai (Token Delivery Network) is an OpenAI-compatible model API and playground that offers reproducible, deterministic model outputs, streaming responses, multimodal inputs (images and short videos), and exposed sampling parameters. It is free during preview and provides API keys, a playground, and a documented base URL for developers.

Developer Tools
Enterprise-ready
Paid
1endpoint

1endpoint

1endpoint is a low-cost AI model gateway that provides a single API to run many models with transparent, usage-based token pricing, prompt caching, and tools for high-volume workloads.

Developer Tools
Enterprise-ready
Paid
ratio1

ratio1

Ratio1 is a blockchain-powered, decentralized AI operating system and edge/cloud computing platform that enables rapid development and deployment of AI apps, a tokenized GPU compute marketplace, and node-based infrastructure via Node Deeds and the $R1 utility token.

Developer Tools
Enterprise-ready
Paid
Finetunefast

Finetunefast

FinetuneFast provides finetuning boilerplates, inference templates, and deployment tooling to accelerate building and shipping ML models (text-to-image, LLMs, RAG, TTS) — aimed at developers, indie makers and businesses who want production-ready examples and fast time-to-deploy.

Developer Tools
Enterprise-ready
Paid
supanext

supanext

Supanext is a paid Next.js + Supabase starter kit and boilerplate optimized for building AI and SaaS applications quickly, providing pre-built auth, billing, AI examples, SEO-friendly landing and blog pages, and source code for commercial use.

Developer Tools
Paid
wrapfast

wrapfast

WrapFast is a SwiftUI boilerplate and starter kit for building iOS apps and AI wrappers quickly. It includes an Xcode SwiftUI project, a Node.js Express backend to secure AI API keys, AI integrations (OpenAI & Anthropic), monetization flows, cloud database support, documentation, and a Discord community aimed at indie makers and solo founders.

Developer Tools
Enterprise-ready
Paid
builderkit

builderkit

BuilderKit is a modular Next.js AI boilerplate and starter kit that provides deployable TypeScript code, pre-built AI apps, UI components, auth, payments, and integrations to accelerate building and shipping AI SaaS products.

Developer Tools

Explore Related Categories

Explore by Outcome