Bestax

io.github.allxsmithv1.14.0更新于 Oct 3, 2026

Props, examples, CSS variables and Agent Skills for bestax-bulma React components (Bulma v1)

已验证STDIO仅桌面Developer ToolsKnowledge & Memory

概览

AI 生成的概览

为编程助手提供 bestax-bulma React 组件的离线参考数据:属性、示例、CSS 变量和技能。

功能
提供 @allxsmith/bestax-bulma(Bulma v1 的 React 组件库)的内置索引。工具可列出全部 87 个组件,搜索组件、属性、示例、CSS 变量和技能,并返回组件的导入方式、属性、tsx 示例、--bulma-* 自定义属性、辅助属性以及 Bulma 类名映射。它还以提示和资源形式提供七个 Agent Skills。
适用场景
在编写或审查使用 bestax-bulma 的 React UI 代码时使用,让助手查询真实的属性、示例和 CSS 变量,而不是凭空猜测。当你希望在不离开编辑器、也不发起网络请求的情况下获得组件指导时,它最有用。
运行要求
通过 stdio 在本地运行,通常使用 npx bestax-mcp@1,因此需要 Node.js 和 npm。应从项目目录启动,以便找到已安装的 @allxsmith/bestax-bulma 版本。无需账号、API 密钥或网络访问;可选变量 BESTAX_MCP_NO_VERSION_CHECK 可跳过版本检查。
安装前请注意
该索引只记录某个特定的 bestax-bulma 版本,并在你安装的版本不一致时发出警告,因此对版本不匹配的结果要谨慎对待。若不使用 @1 版本固定,npx 每次启动都会解析最新版本,破坏性或有问题的版本可能在未经审查的情况下进入助手;固定版本或将其加入开发依赖可避免此问题。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

bestax-mcp

[npm version] [npm downloads] [License: MIT] [Socket Badge] [OpenSSF Scorecard] [OpenSSF Best Practices] [npm provenance] [Security policy]

The official MCP server for @allxsmith/bestax-bulma — React components for Bulma v1.

It gives a coding agent the whole library: every component's props (including compound sub-parts like Navbar.Brand), ~900 working examples, the --bulma-* CSS variables behind every component, the helper props that replace inline styles, and the bestax Agent Skills as invocable prompts.

Offline and version-pinned. The index ships inside the package — no network calls, nothing to rate-limit. It documents one specific bestax-bulma release, and the server checks the version actually installed in your project and warns you when they disagree, rather than confidently describing props you do not have.

Setup

Each release is published to the official MCP Registry as io.github.allxsmith/bestax-mcp, for clients that install from it.

Claude Code

bash
claude mcp add bestax -- npx -y bestax-mcp@1

Cursor, Claude Desktop, Windsurf, Cline

Add to your MCP config (.cursor/mcp.json, claude_desktop_config.json, …):

json
{  "mcpServers": {    "bestax": {      "command": "npx",      "args": ["-y", "bestax-mcp@1"]    }  }}

Run it from your project directory so it can find your installed @allxsmith/bestax-bulma and check it against the indexed version.

The @1 pins the major version. Without it, npx resolves whatever is newest on every launch — so a breaking change, or a compromised release, reaches your agent the next time it starts, with no review step. Add it to your dev dependencies instead if you would rather your lockfile decide.

Tools

Start with list_components — its output names the tool to call next. Reach for search_bestax when you need a component whose name you do not know.

ToolWhat it gives you
list_componentsAll 87 components with a one-line purpose, by category
search_bestaxComponents, props, examples, CSS variables and skills in one ranked list
get_componentImport, summary and props; optionally examples, CSS variables, accessibility, related
get_propsOne prop table, including compound sub-paths (Navbar.Brand)
get_examplesWorking tsx examples from the component's docs page
get_css_variablesThe --bulma-* custom properties a component reads, with Sass names and defaults
get_helper_propsSpacing, colour, typography, flexbox and visibility props — call this before writing an inline style
lookup_bulma_classesThe bestax component and props for a Bulma class string (button is-primary), one row per class
list_skillsThe seven bestax Agent Skills
get_skillA skill's instructions, or one of its reference documents

Prompts

One per skill, so a task can start from the library's own guidance: custom-component, form, theming, layout-scaffold, icons, migrate, optimize.

Resources

bestax://catalog · bestax://components/{name} · bestax://skills/{name} · bestax://skills/{name}/references/{ref}

Environment

VariableEffect
BESTAX_MCP_NO_VERSION_CHECKSet to 1 to skip the installed-version check entirely

Links

Source code licensed MIT

来源:bestax-mcp/README.md,提交 1b63e0d

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v1.14.0最新Oct 3, 2026