Box Kite

io.github.box-kite由 GitHub 账号 box-kite 发布v2.4.0更新于 Nov 7, 2026

Box Kite's React styling engine as tools: props, components, and whether a value writes CSS.

发布方自己的服务:Kite

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

本地 MCP 服务器,为助手提供 Box Kite React 样式知识,并用真实引擎验证某个样式值是否真的会生成 CSS。

可以做什么
  • 按构建目标检索对应的 prop、组件、嵌套键或规则文档
  • 查询样式 prop 的完整记录:生成的 CSS、可接受的值、实测的数值刻度
  • 查询组件的契约:props 与默认值、子部件、键盘映射、ARIA
  • 把一组 props 交给真实引擎,查看每个 prop 生成的 CSS 或未生成的原因
  • 以索引或全文方式读取该库的编写规则
  • 获取 shadcn 安装的整段区块,如数据表格页、设置表单、仪表盘外壳
适用场景
适合在助手编写或审查 Box Kite React 代码时使用,用于在渲染前确认哪些 props 和取值有效;生产构建中无效取值不会产生任何 CSS,也不会报错。
运行要求
通过 npx 从 npm 包 @box-kite/mcp 以 stdio 在本地运行,需要 Node 22 或更高版本。无需 API 密钥、网络访问或状态,所有答案都来自所安装的库版本。
安装前请注意
不涉及凭据或网络。答案仅反映所安装的库版本,与其他 Box Kite 版本可能不同;该服务器为只读,不会修改代码。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Box Kite,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@box-kite/mcp

The Box Kite MCP server: the retrieval channel for an agent writing Box Kite code. Six tools, at capability level — what may I write, what does this component take, and the one no documentation mirror can answer: does this value actually work.

bash
npx @box-kite/mcp

No key, no network, no state. Everything it answers with was built into it from the library's own repository at the version you install, including the styling engine itself. Node 22 or newer.

Install

Claude Code

bash
claude mcp add box-kite -- npx -y @box-kite/mcp

Cursor, VS Code, Codex, Zed — anything that speaks stdio:

json
{  "mcpServers": {    "box-kite": { "command": "npx", "args": ["-y", "@box-kite/mcp"] }  }}

The tools

toolwhat it answers
search_docsThe prop, component, nesting key or rule for what you are trying to build — ranked across all four, so a goal finds the answer without its name.
get_propsA style prop's whole record: the CSS it writes, every value it accepts, a measured example, and for a numeric prop its scale measured at 1/2/4/8.
get_componentOne component's contract: props and defaults, sub-parts, the keyboard map and the ARIA it writes.
check_stylesA prop bag through the real engine: the CSS each prop writes, or why it wrote none.
get_rulesThe rules the library is written by, as an index or in full.
get_blocksWhole sections the shadcn CLI installs — a data-grid page, a settings form, a dashboard shell.

Why check_styles exists

Box Kite accepts a closed set of values per prop, and a value it does not accept produces no rule and no class name, by design, because a typo must not emit a broken declaration. A development build warns in the console once the page renders; a production one says nothing at all. The way to answer "does bgColor="blue-550" work" before anything renders is to hand it to the engine:

check_styles { "props": { "p": 4, "bgColor": "blue-550", "fontSize": 14, "lineHeight": 1.5, "href": "/about" } }
✅ `p` → `.p-4{padding:1rem}`❌ `bgColor` does not accept "blue-550" — no rule and no class name were written.✅ `fontSize` → `.fontSize-14{font-size:0.875rem}`⚠️ `lineHeight` → `.lineHeight-1\.5{line-height:1.5px}` — lineHeight={1.5} is a 1.5px line: lineHeight is direct pixels, …⚠️ `href` an HTML attribute, not a style prop. It goes in `props={{ "href": … }}`.

The dividers differ per prop — spacing is ÷4, fontSize is ÷16, border width is direct px — which is why get_props measures a scale rather than describing one.

What else the library ships for agents

  • AGENTS.md and docs/ inside the published @box-kite/react package
  • The skill and rules file: npx skills add box-kite/box-kite
  • Every documentation page as markdown at https://www.box-kite.dev/<route>.md, indexed by llms.txt

MIT © Box Kite

来源:mcp/README.md,提交 d901f9d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

11
  1. v2.4.0最新Nov 7, 2026
  2. v2.3.0Nov 4, 2026
  3. v2.2.18Nov 4, 2026
  4. v2.2.17Nov 3, 2026
  5. v2.2.16Nov 3, 2026
  6. v2.2.13Oct 30, 2026
  7. v2.2.12Oct 29, 2026
  8. v2.2.7Oct 19, 2026
  9. v2.2.6Oct 19, 2026
  10. v2.2.5Oct 17, 2026
  11. v2.2.4Oct 13, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Kite 集成