Skip to main content
The xmcp CLI provides a set of commands to develop, build, and scaffold MCP server components.

Installation

The CLI is included when you install the xmcp package:
npm install xmcp

Available commands

dev

Start development mode with hot reload

build

Build for production deployment

create

Scaffold new tools, resources, prompts, or widgets

Usage

Run commands using npx or add them to your package.json scripts:
npx xmcp dev
Or add to package.json:
package.json
{
  "scripts": {
    "dev": "xmcp dev",
    "build": "xmcp build"
  }
}

Build docs developers (and LLMs) love