Use MotionKit with Claude Code, Cursor and Codex (MCP)
Connect your AI coding assistant to the MotionKit and shadcn MCP servers so it can find the right component, read its props and install it in your project.
Two MCP servers let an AI coding assistant work with MotionKit:
The MotionKit MCP server finds pieces and explains them. Its tools are
search_components (search by need, in English or Italian), recommend_for_page (the parts
of a page in order, with a piece for each), get_component (props, presets, a usage example
and the install command for your plan) and get_guidelines (motion, temperament, palette and
composition rules). It never returns component source. It is free to use; with your token it
also knows which pieces your license includes.
The shadcn MCP server browses, searches and installs from the registries in your
components.json.
The MotionKit server alone is enough: the assistant then installs with the shadcn CLI.
Use a project set up for the shadcn CLI, with the @motionkit registry in components.json.
Installation shows how.
For Pro components, also add @motionkit-pro and keep your token in MOTIONKIT_TOKEN
(create it in your dashboard). The token is optional for the MCP server.
The Authorization header reads MOTIONKIT_TOKEN from the environment Claude Code starts in,
so the token never goes in the file. Export it in that shell, or leave it unset: without it,
claude mcp list warns that MOTIONKIT_TOKEN is missing. To connect without a token and without
the warning, add the MotionKit server with the command in One server at a time.
Start claude in the project. Servers from a project .mcp.json wait for your approval the
first time; approve motionkit and shadcn. Run /mcp inside Claude Code to see them
connected.
Describe the screen or the need; the assistant searches, reads the component and installs it.
For example:
"Find a MotionKit component for a sortable invoices table with row selection and add it to
app/invoices."
"Plan a settings page for a SaaS dashboard with MotionKit pieces and tell me which ones my plan
includes."
"Read the MotionKit guidelines and set one temperament for the whole app."
The first prompt leads to the free Data Table; the
data table guide builds the same table by hand. Pro results
link to pricing and install only with a license.
Signature licenses include the AI kit: a MotionKit skill for Claude Code and Codex, a Cursor rule,
AGENTS.md, motion and palette rules and ready prompts. It installs like any Pro piece: