Quick Start
Get Primitiv running in three commands.
Install
npm install @ai-by-design/primitivor
bun add @ai-by-design/primitiv1. Initialize your project
Run init in your project root:
bunx @ai-by-design/primitiv initPrimitiv detects your framework, TypeScript, Tailwind, Figma token files, and Storybook automatically and generates a tailored primitiv.config.js.
2. Build your contract
bunx @ai-by-design/primitiv build3. Start the MCP server
bunx @ai-by-design/primitiv serveprimitiv init writes a .mcp.json to your project root automatically, so Cursor, Claude Code, and any other MCP-compatible tool will pick up the server without manual config.
From this point, every agent that builds UI in your codebase calls get_design_context first and gets your resolved design contract back.