ClaudeCodeMod

All shelves / MCP servers

io.github.vamsiy78/ballmac

io.github.vamsiy78/ballmac · 11 stars · TypeScript · MIT

MCP server Search, inspect and install Ballmac UI React and Tailwind components, blocks and templates.

Install

The repo has no one-line install. Follow its README.

Published as

  • npm@ballmac/mcpstdio

From the server's entry in the official MCP Registry.

Open the repo

Files

packages/mcp/README.md

@ballmac/mcp

An MCP server for Ballmac UI. It lets Claude, Cursor, VS Code, Windsurf, Codex and any other MCP client search the catalog of components, blocks and templates, read an item's props, keyboard behaviour and source, get the exact install command, and plan whole pages from blocks.

It is read-only: it answers questions and returns commands, and never writes files or runs anything on your machine. No account or API key is needed for the free catalog.

Install

The server runs with npx, so there is nothing to install globally. Node.js 20 or later is required.

Claude Code
claude mcp add ballmac -- npx -y @ballmac/mcp
Claude Desktop

Add this to claude_desktop_config.json (Settings, Developer, Edit config):

{
  "mcpServers": {
    "ballmac": {
      "command": "npx",
      "args": ["-y", "@ballmac/mcp"]
    }
  }
}
Cursor

Add this to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every project:

{
  "mcpServers": {
    "ballmac": {
      "command": "npx",
      "args": ["-y", "@ballmac/mcp"]
    }
  }
}
VS Code

Add this to .vscode/mcp.json:

{
  "servers": {
    "ballmac": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@ballmac/mcp"]
    }
  }
}
Windsurf

Add the same mcpServers block as Cursor to ~/.codeium/windsurf/mcp_config.json.

Codex

Add this to ~/.codex/config.toml:

[mcp_servers.ballmac]
command = "npx"
args = ["-y", "@ballmac/mcp"]

What it can do

Tool What it returns
search_items The best matches for a need, such as "chat input with attachments" or "online store". Understands common synonyms (modal, navbar, ecommerce).
list_items Components, blocks or templates, filtered by kind, category or tier.
list_categories Totals and every category with its count, so the agent knows what exists.
get_item Description, when to use and when not to, import line, props, keyboard behaviour, dependencies, template pages and the full source.
get_examples The working examples shown on the item's page.
get_changes What changed in an item, version by version (with since to see only newer changes), and whether anything is breaking.
get_quality_rules The rules a Ballmac app is held to (states, accessibility, tokens, motion, layout) with why and a good and bad example. Read before writing a component.
audit_project Read-only audit of the project's source. Returns findings worst first, each with its fix. Run it before saying a task is done.
make_preset Make a whole design system (colors, radius, typeface, platform feel, motion) from a description, and get its 16-character code and install command.
get_tests The vitest + Testing Library test that ships with an item, to check it still works after an edit.
get_install_command The shadcn CLI commands for pnpm, npm, yarn or bun.
compose_page A page plan from blocks in the right order, install commands, a page.tsx scaffold, and any complete template that already fits. Each section lists the states its block can show, and the scaffold wires data blocks to useResource and form blocks to a state you drive. When the request names macOS, Windows, iOS, Tauri or Electron (or you pass feel), it also returns the platform feel to install, with the wiring notes.
get_setup How to prepare a project (shadcn init, optional theme, and the registry entry older CLIs need).

Resources: ballmac://catalog (every item with a one-line description) and ballmac://items/{name} (one item as Markdown).

Prompts: build_page (plan and build a page from an intent) and choose_component (find and wire up the right component).

Tools that return lists also return structured content, so clients that support it get typed results.

Things to ask

  • "Build a SaaS landing page with pricing and an FAQ using Ballmac UI."
  • "Which Ballmac component should I use for an animated revenue number?"
  • "Add a login screen from Ballmac UI to this app."
  • "Is there a Ballmac template for an online store? Install it."

Options

Variable Default Purpose
BALLMAC_UI_URL https://ui.ballmac.com The catalog to read, for example a local copy of the site.
BALLMAC_LICENSE_KEY none A Ballmac UI Pro licence key. With it, get_item and get_examples return the source of Pro items too.

Pro items

Pro items appear in search with tier: "pro". Their install commands use the @ballmac-pro namespace, and get_install_command returns a proSetup line with the components.json entry the shadcn CLI needs. To let the agent read Pro source, pass your key to the server:

claude mcp add ballmac --env BALLMAC_LICENSE_KEY=your-licence-key -- npx -y @ballmac/mcp

In JSON configs, add "env": { "BALLMAC_LICENSE_KEY": "your-licence-key" } next to args. The key is only sent to the Ballmac UI site. Setup guide: ui.ballmac.com/docs/pro.

npx @ballmac/mcp --help and --version work from a terminal.

Without MCP

Ballmac UI is also a standard shadcn registry, so the official shadcn MCP server can browse it. The shadcn CLI knows @ballmac from the official registry directory, but that MCP server only reads the registries listed in components.json, so add it there:

npx shadcn@latest registry add @ballmac=https://ui.ballmac.com/r/{name}.json

License

MIT

Facts

Kind
MCP server
Repo
vamsiy78/ballmac-ui
Group
Uncategorized
Stars
11
License
MIT
Language
TypeScript
Last push
2026-10-29
Forks
2
MCP Registry
io.github.vamsiy78/ballmac
Homepage
ui.ballmac.com
Topics
accessibility, ai-agents, design-system, mcp, model-context-protocol, nextjs, react, shadcn, shadcn-ui, tailwindcss, ui-components

Next on this shelf

  1. 6191iOS Web Bluetooth (WebBLE)io.github.wklm/ios-web-bluetoothMCP server to ship Web Bluetooth on iPhone Safari via the WebBLE extension.11
  2. 6192AgentPlaybooksai.agentplaybooks/agentplaybooksVendor-neutral home for portable agents: skills, MCP tools, memory, canvas, and secret proxy.11
  3. 6193io.github.JXUE0/opencut-controllerio.github.JXUE0/opencut-controllerProfessional MCP server for video editing automation with OpenCut.11
  4. 6194NoaCG Broadcast Graphics and Playoutio.github.NoaCG/noacgMake broadcast graphics for NoaCG Studio and play them out live on CasparCG, OBS, vMix or OGraf.11
  5. 6195MetricBridge Apple Healthio.github.PhilipAD/health-export-mcpAsk your agent about your own Apple Health data: 194 metrics, 21 tools, local, 0 deps.11
  6. 6196io.github.aplaceforallmystuff/mcp-threatintelio.github.aplaceforallmystuff/mcp-threatintelUnified threat intel - OTX, AbuseIPDB, GreyNoise, abuse.ch, Feodo Tracker11