Install
mcify ships as three npm packages on the alpha dist-tag. The CLI is the only thing you invoke directly:
npx @mcify/cli@alpha init my-mcpThat command:
- Downloads the latest
@mcify/cli@alpha. - Scaffolds
./my-mcp/from thefrom-scratchtemplate. - Substitutes
{{name}}withmy-mcpeverywhere.
No global install. No pnpm add -g. The CLI lives in your project’s devDependencies after pnpm install.
Requirements
- Node ≥ 20 — the runtime targets ES2022 and modern Web APIs.
- A package manager: pnpm 9+ (recommended), npm 10+, or yarn 4+. The CLI auto-detects from your lockfile.
Pick a template
# Empty starter (one greet tool)npx @mcify/cli@alpha init my-mcp
# Code-first with Zod schemas centralized in src/schemas.tsnpx @mcify/cli@alpha init my-mcp --template from-zod
# Clone the Khipu connector (Chilean payment links) as a starting pointnpx @mcify/cli@alpha init my-khipu --template example-khipuThere’s no --template from-openapi (yet) — that flow lives behind the generator command instead, so you keep authoring your own mcify.config.ts and only generate the per-spec tool files.
Verify
cd my-mcppnpm installpnpm devYou should see:
✓ my-mcp v0.1.0mcify MCP http://localhost:8888/mcpmcify inspector http://localhost:3001Open http://localhost:3001 — that’s the inspector. The Tools tab lists the one tool the template ships (greet); Playground lets you call it.
Next
- Your first MCP server — add a real tool.
- Connect to Claude / Cursor — point an agent at the dev server.