
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 分