ContaBridge

io.github.ArceeDev由 GitHub 帳號 ArceeDev 發布v0.2.0更新於 Nov 7, 2026

Convert journals between A3, ContaPlus/Sage 50, QuickBooks, Xero and CSV; bank files to entries.

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

在 A3、ContaPlus/Sage、QuickBooks、Xero 與 CSV 之間轉換會計日記帳與銀行對帳單,並提供驗證,面向會計師事務所。

可以做什麼
  • 在 A3、ContaPlus/Sage 50、QuickBooks(IIF、Online CSV)、Xero 與試算表 CSV 之間轉換日記帳,支援科目長度調整與重新命名
  • 依有序規則把 Norma 43 銀行對帳單轉為日記帳分錄,或轉為 Xero、QuickBooks Online 的銀行對帳單 CSV
  • 把助理撰寫的分錄(發票、薪資、應計項目等)產生成任一支援格式
  • 依 A3 與 ContaPlus 匯入時的規則驗證日記帳
  • 使用免費輔助工具調整科目、辨識格式、查詢價格與點數餘額
適用情境
適合客戶眾多的記帳事務所與會計師事務所,在西班牙會計軟體與 QuickBooks 或 Xero 之間搬移日記帳或銀行對帳單,或在匯入前檢查檔案。
執行需求
需要 KeyFlint 授權(LIC-...),透過 KEYFLINT_LICENSE 環境變數傳入,託管 HTTP 模式下以 Bearer 權杖傳入。可作為遠端端點使用,也可透過 uvx 從 PyPI 套件 contabridge-mcp 在本機執行。選用變數可設定閘道位址、公開金鑰、購買連結、價格與檔案大小上限。
安裝前請注意
付費工具按次消耗點數(convert_journal 2、bank_to_journal 3、build_journal 2、bank_statement_csv 1、validate_journal 1);被拒絕的檔案不收費,扣點後失敗會退款。授權屬機密,會傳送給 KeyFlint 閘道,計費也由該閘道處理。檔案按次處理,呼叫之間不保存資料。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ContaBridge,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.ArceeDev%2Fcontabridge-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "contabridge": {
      "type": "http",
      "url": "https://mcp.keyflint.dev/contabridge/mcp"
    }
  }
}

README

contabridge-mcp

An MCP server that moves bookkeeping between Spanish accounting programs and QuickBooks / Xero, built for AI agents that work for gestorías and accounting firms with many clients. It does not store any data between calls, and every result is deterministic.

ToolCreditsWhat it does
convert_journal2Converts a libro diario between a3ASESOR/a3ECO/a3CON (SUENLACE.DAT), Sage ContaPlus / Sage 50 (Diario CSV of 142 fields, or XDiario ASCII) spreadsheet CSV (Holded, Excel, any ERP), QuickBooks (Desktop IIF, Online journal CSV) and Xero (manual journal CSV). It resizes subaccounts (4300001 → 43000001, 430.1 → 43000001), renames accounts and renumbers entries.
bank_to_journal3Turns a Norma 43 bank statement into journal entries against the 572 subaccount. Ordered rules map movements to counterpart accounts (by text, regex, AEB concept or direction), and movements that match no rule go to 555 and are listed.
build_journal2Writes entries the agent composed (invoices, payroll, accruals) in any of the formats.
bank_statement_csv1Turns a Norma 43 statement into a bank statement CSV for Xero (precoded template) or QuickBooks Online (3 columns).
validate_journal1Runs the checks A3 and ContaPlus run on import: balanced entries, debit or credit on each line (never both), PGC groups, fiscal year, mixed account lengths.
resize_account, detect_format, pricing, credits_balance0Free helpers.

Output files are returned as content and as content_base64. The base64 version is Windows-1252 with CRLF line endings (UTF-8 with BOM for CSV), which is what these programs import.

Charging works like this:

  • A file that would be rejected (unbalanced, unreadable, missing columns) is refused before any credits are charged.
  • A failure after charging is refunded.

Formats and sources

  • A3: "Enlace contable de entrada. Descripción de registros" (Wolters Kluwer). Record type 0, format 5 (512 bytes) and format 4 (256 bytes). When reading, invoice records (types 1, 2 and 9) are skipped and reported in a warning.
  • ContaPlus: "Protocolo de comunicación de programas de gestión con ContaPlus" (Sage, 2023). Writes Asien, Fecha, SubCta, Contra, Concepto, Documento, MonedaUso=2, EuroDebe and EuroHaber. The fixed-width ASCII variant (32 fields) uses the same layout as the open-source BulmaGés exporter.
  • QuickBooks Desktop IIF: GENERAL JOURNAL transactions (!TRNS/!SPL/!ENDTRNS, tab separated). Debits are positive and credits negative, so the TRNS amount is minus the sum of its SPL lines. Other IIF lists (accounts, customers) are skipped with a warning.
  • QuickBooks Online: "Import journal entries" CSV with Journal No., Journal Date, Account Name, Debits, Credits, Description, Name.
  • Xero: "Import a manual journal" template (*Narration, *Date, Description, *AccountCode, *TaxRate, *Amount, tracking). Lines with the same Narration and Date form one journal. xero_tax_rate sets the TaxRate as named in that organisation (UK No VAT, AU BAS Excluded, NZ No GST, US Tax Exempt).
  • QuickBooks and Xero dates follow date_style: mdy (default for QuickBooks), dmy (default for Xero) or iso. Amounts use a decimal point, and a comma is always read as a thousands separator. Their accounts are names or codes, so they are validated against their own chart, not the PGC. Use account_map to translate them when converting to or from A3/ContaPlus.
  • CSV: columns are detected in Spanish and English (fecha, cuenta, debe, haber, importe+d/h…), or set with column_map. A file without an entry number is grouped into entries by accumulating lines until they balance.

Install

All you need is your KeyFlint license (LIC-...). The gateway URL, its public key and the checkout link have defaults.

Claude Desktop, one click: download contabridge-mcp-X.Y.Z.mcpb from the latest release, double-click it and paste your license. No terminal, no JSON.

Claude Code:

bash
claude mcp add contabridge -e KEYFLINT_LICENSE=LIC-... -- uvx contabridge-mcp

Cursor, Windsurf, Claude Desktop (JSON):

json
{  "mcpServers": {    "contabridge": {      "command": "uvx",      "args": ["contabridge-mcp"],      "env": { "KEYFLINT_LICENSE": "LIC-..." }    }  }}

Optional: KEYFLINT_URL, KEYFLINT_PUBLIC_KEYS (fetched from the gateway and cached in ~/.keyflint/keyring.json when unset), KEYFLINT_CHECKOUT_URL.

Hosted mode: CONTABRIDGE_TRANSPORT=http contabridge-mcp --http (license per request, Authorization: Bearer LIC-...).

Tuning: CONTABRIDGE_PRICES (convert_journal=3,bank_to_journal=5), CONTABRIDGE_MAX_BYTES.

Visual cards (MCP Apps)

In Claude, ChatGPT, VS Code and Goose every paid tool and credits_balance renders as an interactive card in the chat: credit balance with a refill bar and a buy button, or a result summary (key figures, issues, table preview and credits charged). It is the ui://contabridge/card.html resource, self-contained with no network access. Other clients keep getting the same JSON as before.

Claude skill

skills/contabridge/SKILL.md (zipped in distribution/contabridge-skill.zip) tells the agent which tool to use, which account length to ask for, and how to save the file.

Tests

bash
pip install -e '.[test]' && pytest

The tests use a fake KeyFlint gateway and locally signed licenses, so they need no network. A3 and ContaPlus layouts are checked position by position against the official specifications.

License

Business Source License 1.1. Source available; production use needs a KeyFlint license (or must be non-commercial). Each version becomes Apache 2.0 four years after release. See LICENSE.

來源:README.md,提交 b19f797

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v0.2.0最新Nov 7, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。