0n3
MCP servers · shadcn/ui · MCP server

Connect Codex CLI to shadcn/ui

One line gives Codex CLI your shadcn/ui account as tools: 2 endpoints, list components, search components, get component, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.

Get the line for Codex CLIConnect shadcn/ui first

Three steps

  1. Create a free 0n3 account and connect shadcn/ui. Paste a key or sign in; it lands in your vault, encrypted.
  2. Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
  3. Ask Codex CLI: whoami. Then: "Get a component schema in shadcn/ui".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"

Add it to your shell profile so Codex finds it next time.

The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.

What Codex CLI can then do in shadcn/ui

List components · List all official shadcn primitives, grouped by purpose1
Get a component schemaGET /r/styles/new-york/{name}.json
Search components · Fuzzy search components by name or description0
Fuzzy search components by name or description
Get component · Fetch live component schema (files, deps, source) from the registry0
Fetch live component schema (files, deps, source) from the registry
Install command · Generate `npx shadcn@latest add <name>` install command0
Generate `npx shadcn@latest add <name>` install command
List blocks · List curated block patterns (login, dashboard, pricing, FAQ, etc.)0
List curated block patterns (login, dashboard, pricing, FAQ, etc.)
Recommend · Recommend components for a free-text use case0
Recommend components for a free-text use case

All 2 shadcn/ui endpoints →

shadcn/ui in other AI clients

Claude Code + shadcn/uiMCP server + skillClaude (desktop & claude.ai) + shadcn/uiconnectorChatGPT + shadcn/uiconnector · GPT actionGemini CLI + shadcn/uiMCP serverCursor + shadcn/uiMCP serverVS Code (Copilot) + shadcn/uiMCP serverWindsurf + shadcn/uiMCP server

Codex CLI with other apps

Hostinger363 endpointsTelegram132 endpointsPipedrive95 endpointsResend67 endpointsSquare57 endpointsLinkedIn50 endpointsSlack45 endpointsFigma32 endpointsCloudConvert32 endpointseBay25 endpointsQuickBooks21 endpointsCloudflare21 endpoints