Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Search, inspect and install Ballmac UI React and Tailwind components, blocks and templates.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ballmac": {
"command": "npx",
"args": [
"-y",
"@ballmac/mcp"
]
}
}
}在终端中运行这条命令
claude mcp add ballmac -- npx -y @ballmac/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ballmac": {
"command": "npx",
"args": [
"-y",
"@ballmac/mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ballmac": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ballmac/mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 vamsiy78 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.3)于30天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.
The server runs with npx, so there is nothing to install globally. Node.js 20 or later is required.
claude mcp add ballmac -- npx -y @ballmac/mcp
Add this to claude_desktop_config.json (Settings, Developer, Edit config):
{
"mcpServers": { "ballmac": { "command": "npx", "args": ["-y", "@ballmac/mcp"] } } }
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"] } } }
Add this to .vscode/mcp.json:
{
"servers": { "ballmac": { "type": "stdio", "command": "npx", "args": ["-y", "@ballmac/mcp"] } } }
Add the same mcpServers block as Cursor to ~/.codeium/windsurf/mcp_config.json.
Add this to ~/.codex/config.toml:
[mcp_servers.ballmac]
command = "npx" args = ["-y", "@ballmac/mcp"]
| 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.
| 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 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.
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
MIT