Skip to main content
Glama
agente-dev

Invoice4U MCP

by agente-dev

Invoice4U MCP 由 Agente

CI npm

一个非官方的第三方 Model Context Protocol 服务器,为任何兼容 MCP 的代理提供对 Invoice4U 账户的安全、类型化访问——搜索文档和客户,并创建与已付款发票关联的收款单。

  • 非官方: 这是一个社区集成,与 Invoice4U 无关联、未经其认可或支持。Invoice4U 名称仅用于指代服务器所连接的对象。未经许可不使用任何 Invoice4U 商标或徽标。

  • TypeScript / Node.js 24 LTS / MIT · stdio 传输 · 本地自托管 — Agente 绝不保管您的 Invoice4U 凭据。

  • 默认只读: 除非 INVOICE4U_ALLOW_WRITES=true,否则唯一的写入工具(创建收款单)不会在 tools/list 中注册。

  • 英文 README · 希伯来文 README.he.md

快速开始

{
  "mcpServers": {
    "invoice4u": {
      "command": "npx",
      "args": ["-y", "@agente-dev/invoice4u-mcp"],
      "env": {
        "INVOICE4U_API_TOKEN": "your-api-key",
        "INVOICE4U_ENV": "qa",
        "INVOICE4U_ALLOW_WRITES": "false"
      }
    }
  }
}

INVOICE4U_ENV 必须显式设置为 qaproduction——它绝不会静默默认为生产环境。从 QA 开始;这是安全且文档化的起始配置。

Related MCP server: mcp-server-smallinvoice

工具(v0.1 接口)

工具

模式

用途

invoice4u_verify_connection

读取

验证令牌、环境、组织访问权限

invoice4u_search_documents

读取

搜索文档:打开/关闭、日期、客户、类型

invoice4u_get_document

读取

按文档 ID、文档编号或 API 标识符获取

invoice4u_search_customers

读取

搜索/列出客户

invoice4u_get_customer

读取

完整的客户详细信息

invoice4u_list_branches

读取

组织分支机构

invoice4u_validate_linked_receipt

读取

预检拟议的收款单:文档、余额、分配、总计——无写入

invoice4u_create_linked_receipt

写入

创建与一个或多个现有发票关联的收款单(通过强制 apiIdentifier 实现幂等)

读取工具声明 readOnlyHint: true, idempotentHint: true。写入工具声明 readOnlyHint: false, destructiveHint: false, idempotentHint: true——幂等性仅因为强制要求稳定的 apiIdentifier 而成立,重复或不确定的结果通过标识符查找解决。提交写入后发生超时绝不会盲目重试:服务器首先通过 apiIdentifier 查询,仅当查找证明不存在文档时才重试。

在 MCP 边界,金额以十进制字符串表示("12500.00"),绝不使用 JavaScript 浮点数。Invoice4U 响应在返回 HTTP 200 但 Errors 集合中包含应用程序错误时,会被规范化为类型化错误模型——绝不会报告为成功。

配置

凭据仅存在于环境变量中——令牌绝不作为工具参数接受,绝不返回,绝不记录。

变量

默认值

INVOICE4U_API_TOKEN

API 密钥

必需

INVOICE4U_ENV

qaproduction

必需——无静默生产默认值

INVOICE4U_ALLOW_WRITES

falsetrue

false

INVOICE4U_LOG_LEVEL

debuginfowarnerror

info

参见 .env.example。仅联系经过审查的官方 Invoice4U 主机——没有任意的 base-URL 逃生舱口。

安全模型

  • 默认只读 — 除非显式启用写入,否则写入工具完全从 tools/list 中省略。

  • 幂等写入 — 强制稳定的 apiIdentifier;重新提交相同请求不会创建第二张收款单。

  • 已验证写入 — 每次写入都会重新获取收款单和关联发票,以结构化输出返回之前/新的余额和状态。

  • 不盲目重试 不确定的写入结果;通过 apiIdentifier 查找解决。

  • 机密卫生 — 正常级别的日志中不包含令牌或客户 PII;QA 测试夹具不包含真实客户数据。

  • 无资金流动 — 创建收款单仅记录已收到的资金;服务器无法发起付款或扣款。

状态

已实现 — v0.1 接口。 八个工具(7 个读取 + 1 个受控写入)已实现并注册,如上文工具表所述。覆盖率在 coverage-manifest.json 中跟踪,详情见 docs/

  • QA 状态: 读取工具已根据 Invoice4U API 参考和契约测试验证(120 个单元 + 契约测试通过)。实时 QA 集成因缺少凭据而受阻 — 没有公开的 Invoice4U 沙箱,使用 apiqa.invoice4u.co.il 需要真实的 QA 组织账户 + API 令牌。没有令牌时,受控冒烟测试(tests/integration/qa.spec.ts)会被跳过;参见 docs/qa-testing.md

  • npm 包待发布: 发布等待 npmjs.com 上 @agente-dev/invoice4u-mcp 的可信发布链接。

许可证

MIT — 参见 LICENSE。© Agente Dev LTD。与 Invoice4U 无关联。

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    A read-only MCP server for SimpleShop accounting data, enabling AI agents to find documents, download PDFs, inspect products, and review sales exports.
    5
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    MCP server for smallinvoice.ch — Swiss SME invoicing and accounting with 146 tools and OAuth2 BYOC authentication.
    100
    10
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables MCP-capable agents to read Fintaro invoices and transactions, and upload receipts, via a scoped API key with PII-safe projections.
    6
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to manage multiple HighLevel CRM sub-accounts through a single OAuth-based MCP server, providing read-only access to contacts, conversations, opportunities, calendars, payments, blogs, emails, and social media.

View all related MCP servers

Related MCP Connectors

  • Conta Azul ERP MCP — sales, customers, finance and NF-e via OAuth 2.0. Read + write, 35 tools.

  • MCP Server for agents to onboard, pay, and provision services autonomously with InFlow

  • Invoice OCR, document extraction, search and free FileTag tagging for AI agents. OAuth or API key.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agente-dev/invoice4u-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server