apps/mcp/README.md
An MCP server providing AI assistants with access to Chakra UI components, examples, migration patterns, and premium templates.
get_components - List all Chakra UI componentsget_component_props - Get component properties and configurationget_component_example - Retrieve usage examples and code patternsget_theme - Get theme tokens, semantic tokens, text styles and layer styleslist_blocks - List Chakra UI Pro blocksget_component_templates - Get premium component templates (Pro)v2_to_v3_code_review - Migration guidance with code snippetsAdd to your Claude Desktop or Cursor configuration file:
{
"mcpServers": {
"chakra-ui": {
"command": "npx",
"args": ["-y", "@chakra-ui/react-mcp"],
"env": {
"CHAKRA_PRO_API_KEY": "your-api-key-here"
}
}
}
}
Add to your ~/.codex/config.toml file:
[mcp_servers.chakra-ui]
command = "npx"
args = ["-y", "@chakra-ui/react-mcp"]
startup_timeout_ms = 20_000
# Optional: Add Chakra Pro API key if using premium features
# [mcp_servers.chakra-ui.env]
# CHAKRA_PRO_API_KEY = "your-api-key-here"
Or use the CLI command:
codex mcp add chakra-ui -- npx -y @chakra-ui/react-mcp
Note: Requires Codex CLI v0.34.0 or later.
CHAKRA_PRO_API_KEY (optional) - For accessing premium templates and blockspnpm install
pnpm build
pnpm dev
MIT @ Chakra Systems