MCP servers · shadcn/ui · MCP server
Connect Gemini CLI to shadcn/ui
One line gives Gemini 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 Gemini CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect shadcn/ui. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Gemini CLI. Google's terminal agent. One command at user scope.
- Ask Gemini CLI: whoami. Then: "Get a component schema in shadcn/ui".
Install (user scope)
gemini mcp add --scope user --transport http 0n3 https://0n3.app/mcp -H "Authorization: Bearer <your 0n token>"
The line above carries a placeholder; 0n3.app/install mints a real key named for Gemini CLI and fills it in.
What Gemini CLI can then do in shadcn/ui
List components · List all official shadcn primitives, grouped by purpose1
Get a component schema
GET /r/styles/new-york/{name}.jsonSearch 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
shadcn/ui in other AI clients
Claude Code + shadcn/uiMCP server + skillClaude (desktop & claude.ai) + shadcn/uiconnectorChatGPT + shadcn/uiconnector · GPT actionCodex CLI + shadcn/uiMCP serverCursor + shadcn/uiMCP serverVS Code (Copilot) + shadcn/uiMCP serverWindsurf + shadcn/uiMCP server
