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