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
#69 in Developer Tools (69 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

Claim this listing to add current pricing tiers.

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

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
High-growth
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
High-growth
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
High-growth
Contact for pricing
Projektor

Projektor

Projektor is an agent-native issue tracker and wiki designed to run with AI coding agents as first-class clients, deployable as a single Cloudflare Worker and intended for cross-project, fleet-scale self-hosting.

Developer Tools
High-growth
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
High-growth
Freemium
Sign in with your ChatGPT account for free AI

Sign in with your ChatGPT account for free AI

Sign in with ChatGPT lets developers add ChatGPT account authentication to web apps so users can access OpenAI AI capabilities (works across free and paid ChatGPT accounts). It provides React components and helper methods to obtain encrypted, locally stored credentials and call the AI SDK from the signed-in account.

Developer Tools
High-growth
Contact for pricing
Make Sense of Any GitHub PR

Make Sense of Any GitHub PR

MakeSense (powered by LiveReview) gives a concise, easy-to-understand explanation of any public GitHub pull request, classifies issues by severity across security/maintainability/performance/correctness, and includes a short quiz to check understanding — ready in under 30 seconds.

Developer Tools
High-growth
Free
Zlvox

Zlvox

Zlvox is a privacy-first collection of 30+ fast, browser-based developer utilities — AI tools, PDF and image processors, JSON/data utilities, QR and security tools — designed to run client-side with no sign-up or server-side data retention.

Developer Tools
High-growth

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
High-growth
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
Defapi

Defapi

Defapi is an enterprise-grade AI model orchestration platform that provides developers unified access to leading AI models (OpenAI, Anthropic, Google, and more) with intelligent routing, load balancing, usage monitoring, and enterprise-grade security.

Developer Tools
Enterprise-ready
Paid
runpod

runpod

Runpod is an AI Developer Cloud that provides on-demand GPU infrastructure—Pods, Serverless endpoints, and multi-node Clusters—enabling teams to experiment, train, fine-tune, deploy, and scale AI workloads across 31 global regions with support for 30+ GPU SKUs.

Developer Tools
Enterprise-ready High-growth
Paid
coder

coder

Coder provides self-hosted AI-native development infrastructure—workspaces, AI coding agents, and centralized AI governance—designed to let enterprises run, observe, and control LLM-powered development on infrastructure they own.

Developer Tools
Paid
monokit

monokit

MonoKit is a production-ready, AI-friendly full-stack monorepo starter that combines Next.js, Fastify, TypeScript, and a curated set of infrastructure and developer tools to accelerate building and shipping web applications.

Developer Tools

Explore Related Categories

Explore by Outcome