React MotionKit
Find, plan and install React MotionKit animated components for shadcn/ui from your AI assistant.
Hosted MCP Server
npx add-mcp 'https://mcp.reactmotionkit.com/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Guides
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) andget_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.
Before you start
- Use a project set up for the shadcn CLI, with the
@motionkitregistry incomponents.json. Installation shows how. - For Pro components, also add
@motionkit-proand keep your token inMOTIONKIT_TOKEN(create it in your dashboard). The token is optional for the MCP server.
Claude Code
Add both servers in one file
Create .mcp.json at the root of your project:
{
"mcpServers": {
"motionkit": {
"type": "http",
"url": "https://mcp.reactmotionkit.com/mcp",
"headers": {
"Authorization": "Bearer ${MOTIONKIT_TOKEN}"
}
},
"shadcn": {
"command": "npx",
"args": [
"shadcn@latest",
"mcp"
]
}
}
}
Running npx shadcn@latest mcp init --client claude later keeps the motionkit entry and adds or updates shadcn.
Set the token (optional)
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 Code and approve the servers
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.
Cursor
Add the MotionKit server
Create .cursor/mcp.json in your project:
{
"mcpServers": {
"motionkit": {
"url": "https://mcp.reactmotionkit.com/mcp",
"headers": {
"Authorization": "Bearer ${env:MOTIONKIT_TOKEN}"
}
}
}
}
Cursor reads the token with ${env:MOTIONKIT_TOKEN}.
Add the shadcn server
npx shadcn@latest mcp init --client cursor
{
"mcpServers": {
"shadcn": {
"command": "npx",
"args": [
"shadcn@latest",
"mcp"
]
}
}
}
The command adds shadcn to the same .cursor/mcp.json and keeps motionkit. Restart Cursor to load both servers.
Codex
Codex keeps its MCP servers in one global file, ~/.codex/config.toml.
Add the MotionKit server
Run the command, or add the block to ~/.codex/config.toml yourself:
codex mcp add motionkit --url https://mcp.reactmotionkit.com/mcp --bearer-token-env-var MOTIONKIT_TOKEN
[mcp_servers.motionkit]
url = "https://mcp.reactmotionkit.com/mcp"
bearer_token_env_var = "MOTIONKIT_TOKEN"
Add the shadcn server
The shadcn command prints the block to add to ~/.codex/config.toml:
npx shadcn@latest mcp init --client codex
[mcp_servers.shadcn]
command = "npx"
args = ["shadcn@latest", "mcp"]
Restart Codex to load both servers.
One server at a time
The MotionKit server on its own, for Claude Code. The command adds it without a token; the file is the same setup with the token header:
claude mcp add --transport http motionkit https://mcp.reactmotionkit.com/mcp
{
"mcpServers": {
"motionkit": {
"type": "http",
"url": "https://mcp.reactmotionkit.com/mcp",
"headers": {
"Authorization": "Bearer ${MOTIONKIT_TOKEN}"
}
}
}
}
VS Code and the other clients are on Use with AI.
Ask for what you need
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.
The AI kit
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:
npx shadcn@latest add @motionkit-pro/ai-kit
See Use with AI for what it contains and pricing for the plans.
[
Build an animated data table with shadcn/ui
Install the MotionKit Data Table with the shadcn CLI and build a sortable, searchable, selectable invoices table on TanStack Table v9, step by step.
](https://reactmotionkit.com/docs/guides/animated-data-table)[
Glass Off
Next Page