
Formhaus
io.github.ignsm由 GitHub 帳號 ignsm 發布v0.6.3更新於 Nov 1, 2026
Validate Formhaus form definitions and simulate multi-step paths against the real engine.
概覽
本機 MCP 伺服器,讓助理驗證 Formhaus 表單定義、自動套用安全修正並模擬多步驟路徑,也可在 Formhaus Cloud 發布與管理表單。
- 可以做什麼
- 驗證表單定義,回傳含 JSON 指標、提示與建議修補的問題清單
- 自動套用安全修正並重新檢查剩餘問題
- 以答案、next/back/skip 動作與 overlay 模擬多步驟路徑,輸出可見欄位、錯誤與送出值
- 查詢引擎能力、產生翻譯 overlay 範本、讀取內建範例定義
- 在 Formhaus Cloud 發布表單、列出表單、讀取送出資料、更新設定,以及檢視或揭露 webhook 資訊
- 適用情境
- 適合在開發或除錯 Formhaus 表單時,讓助理依真實引擎檢查定義、測試分支路徑,或在發布前準備翻譯。若希望助理透過 Formhaus Cloud 發布表單並查看送出資料,也可使用。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node 22.12 或更新版本。驗證、修正、模擬、能力查詢、翻譯與範例皆可離線使用,不需帳號或金鑰。雲端工具需在伺服器自身環境設定 FORMHAUS_API_KEY(不讀取專案 .env);帳號金鑰可存取所有表單,代理金鑰僅限其建立的表單。可用 FORMHAUS_API_BASE 覆寫 API 位址。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Formhaus,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@formhaus/mcp
[formhaus-dev/formhaus MCP server]
MCP server that lets AI agents check Formhaus form definitions against the real @formhaus/core engine. Runs over stdio. Requires Node 22.12 or later. The checks need no account or key.
validate_definition, fix_definition, simulate_path, translation_template, capabilities and example_definitions run offline. The other tools publish forms, read submissions and manage settings in Formhaus Cloud. If the app has its own backend, keep the data there and don't publish without the user's consent.
Setup
Claude Code plugin, with the Formhaus skills:
Inside a Claude Code session, /plugin marketplace add formhaus-dev/formhaus and /plugin install formhaus@formhaus do the same after a confirmation prompt.
Claude Code, server only:
Claude Desktop (claude_desktop_config.json) and Cursor (.cursor/mcp.json):
Tools
publish_form, list_forms, get_submissions, update_form_settings, get_webhook and reveal_webhook_secret call Formhaus Cloud at https://api.formhaus.dev. All but publish_form need FORMHAUS_API_KEY in the server environment, and publish_form uses it when set. An account key (fh_live_...) reaches every form and all six tools. An agent key (fh_agent_..., returned once by the first keyless publish_form) reaches only the forms it created, and update_form_settings, get_webhook and reveal_webhook_secret need an account key. The server reads FORMHAUS_API_KEY from its own environment, not from the project .env. Add it to the env of the formhaus server in your MCP client config (for example .mcp.json with ${FORMHAUS_API_KEY} and the value in your shell or a gitignored .env your client loads), then restart the server. FORMHAUS_API_BASE overrides the API URL. The server also sends short usage instructions to the client on connect.
simulate_path applies answers as initial values, with group answers as arrays of item objects, then presses the actions in order, or Next until the last step or the first blocking error. errors covers visited steps only. Custom validators, onStepValidate and lifecycle hooks are not run. The capabilities are also available as the formhaus://capabilities resource.
The tool handlers are exported for use without MCP:
See the MCP guide for example output. A remote MCP server for Formhaus Cloud is also available. npx formhaus sets up the server in the coding agents on your machine; see formhaus.
License
MIT
來源:packages/mcp/README.md,提交 cf472c1
工具
0版本歷史
14- v0.6.3最新Oct 18, 2026
- v0.6.2Oct 18, 2026
- v0.6.1Oct 16, 2026
- v0.5.2Oct 16, 2026
- v0.5.0Oct 15, 2026
- v0.4.2Oct 15, 2026
- v0.4.0Oct 15, 2026
- v0.3.4Oct 14, 2026
- v0.3.3Oct 14, 2026
- v0.3.2Oct 14, 2026
- v0.3.1Oct 12, 2026
- v0.2.1Oct 11, 2026
- v0.2.0Oct 11, 2026
- v0.1.2Oct 9, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分