
Wfirma Mcp
io.github.agente-dev由 GitHub 帳號 agente-dev 發布v1.0.0更新於 Oct 24, 2026
Unofficial read-only MCP server for the wFirma API v2: invoices, contractors, expenses, payments.
概覽
非官方唯讀 MCP 伺服器,讓 AI 助理以型別化方式存取 wFirma 的公司資料:發票、承包商、費用與付款。
- 可以做什麼
- 列出公司並取得其他工具所需的內部 companyId,波蘭 NIP 不能當作公司 ID 使用。列出並取得單張發票。列出並取得單一承包商。列出並取得單筆費用。列出並取得單筆付款。
- 適用情境
- 適合讓助理在對話中查詢或彙整 wFirma 的會計紀錄,例如發票、承包商、費用或付款,且只需要讀取權限時。若需要新增、修改、寄送或財務化單據,則不適用。
- 執行需求
- 以 Node.js stdio 本機程序執行(npm 套件 wfirma-mcp 或建置後的 bundle)。需要三個 wFirma API 憑證,透過環境變數設定:WFIRMA_ACCESS_KEY、WFIRMA_SECRET_KEY 與 WFIRMA_APP_KEY,在 wFirma 面板的 Integrations → API 中建立。需要連線至 wFirma API v2 端點的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Wfirma Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
wFirma MCP
Unofficial, read-only MCP server for the wFirma API v2
(api2.wfirma.pl). Gives MCP-compatible AI assistants typed, read-only access
to company data, invoices, contractors, expenses, and payments — with
credentials that never leave your machine and no commercial middleware between
you and wFirma.
Not affiliated with wFirma. "wFirma" is a trademark of its respective owner.
Tools (9, all read-only)
Every company-scoped tool requires the internal companyId returned by
wfirma_list_companies. A Polish NIP is not accepted as a company id.
Why read-only
The server intentionally contains no add, edit, delete, send, fiscalization,
KSeF, or payment-mutation operation. The full list of excluded categories,
reviewed against the official documentation at
doc.wfirma.pl, is recorded in
coverage-manifest.json. If you need writes, use
wFirma's own tooling — not this server.
Setup
Credentials
wFirma API keys are created in your wFirma panel (Integrations → API). Required environment variables:
WFIRMA_ACCESS_KEYWFIRMA_SECRET_KEYWFIRMA_APP_KEY
See .env.example. Never commit real values.
Build
Claude Desktop / any stdio MCP client
Claude Code / Cursor (scope: project)
Design notes
- No runtime dependencies beyond the MCP SDK and zod. The client uses
Node's stdlib
httpswith a hard 20s timeout and a bounded response-size guard. - Fail-closed error taxonomy. Missing credentials, non-numeric company
ids, oversized responses, and auth failures each raise a distinct
wfirma_*error code instead of a generic failure. - No PII in logs. Tool parameters are never logged.
- Coverage manifest.
coverage-manifest.jsonmaps every tool to its endpoint, risk class, and the test that proves it; a CI test enforces the manifest stays in sync with the source.
License
來源:README.md,提交 00214de
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分