New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@chakra-ui/react-mcp

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/react-mcp

The official MCP server for Chakra UI

latest
Source
npmnpm
Version
2.1.1
Version published
Weekly downloads
1.9K
-8.49%
Maintainers
2
Weekly downloads
 
Created
Source

Chakra UI MCP Server

An MCP server providing AI assistants with access to Chakra UI components, examples, migration patterns, and premium templates.

Features

  • Component Library: Get components, props, and usage examples
  • Migration Support: v2 to v3 upgrade guidance with before/after code snippets
  • Design Tokens: Access semantic tokens and text styles for consistent theming
  • Premium Templates: Chakra UI Pro blocks and component templates (requires API key)

Available Tools

  • get_components - List all Chakra UI components
  • get_component_props - Get component properties and configuration
  • get_component_example - Retrieve usage examples and code patterns
  • get_theme - Get theme tokens, semantic tokens, text styles and layer styles
  • list_blocks - List Chakra UI Pro blocks
  • get_component_templates - Get premium component templates (Pro)
  • v2_to_v3_code_review - Migration guidance with code snippets

Setup

Claude Desktop / Cursor

Add 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"
      }
    }
  }
}

OpenAI Codex

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.

Environment Variables

  • CHAKRA_PRO_API_KEY (optional) - For accessing premium templates and blocks

Development

pnpm install
pnpm build
pnpm dev

License

MIT @ Chakra Systems

Keywords

chakra-ui

FAQs

Package last updated on 03 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts