
Onexur Manager MCP
io.github.onexurOSS由 GitHub 帳號 onexurOSS 發布v1.1.0更新於 Oct 24, 2026
MCP server for Manager.io bookkeeping: read-first with opt-in scoped task and write tools
概覽
將 AI 助理連接到 Manager.io 記帳實例,可讀取帳務資料、執行診斷與對帳,並可選擇性地執行受範圍限制的寫入操作。
- 可以做什麼
- 讀取與瀏覽 Manager 記錄:列出資源與記錄、取得單筆記錄和固定資產,並查看伺服器身分與已啟用的範圍。執行報表捷徑與重建報表:應收應付帳齡、銀行餘額、試算表、損益表、資產負債表、稅務彙總、分類帳交易及重建報表。執行診斷與對帳:找出失效發票參照、未分配或重複交易、核對發票餘額、檢視科目分類帳與銀行活動、辨識暫記科目候選並執行期間對帳。提出並套用更正、重新分配和發票重建,需獨立的確認步驟並寫入稽核日誌。啟用寫入範圍後可使用以意圖設計的工作工具(如開票、收款、付款、記帳傳票)以及依資源劃分的建立、更新和刪除工具。
- 適用情境
- 適合在 Manager.io 記帳、希望助理說明餘額、找出未付發票、彙總科目活動、執行對帳與診斷檢查,或重建歷史日期報表而不必撰寫腳本的情境。寫入預設關閉,也適合只需要唯讀分析的使用者。
- 執行需求
- 本機需 Python 3.10 以上與 uv,透過 uvx 執行。需在 MANAGER_API_URL 提供可連線的 Manager API 基礎位址,並在 MANAGER_API_KEY 提供 Manager 設定中建立的存取權杖(以 X-API-KEY 傳送)。寫入與刪除權限須分別透過 MANAGER_MCP_WRITE_SCOPES 和 MANAGER_MCP_DELETE_SCOPES 開啟。一個程序只連接一個 Manager 實例。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Onexur Manager MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Onexur Manager MCP
An MCP (Model Context Protocol) server that connects AI assistants such as Claude and ChatGPT to a Manager accounting instance. It exposes Manager's data and operations as a set of scoped tools. The default is read-only, with reporting, diagnostic and reconciliation tools available out of the box and every write capability behind explicit configuration.
This project began as a fork of manager-mcp 0.2.6. See Attribution below.
1. Project description
Onexur Manager MCP lets an AI assistant read and, where explicitly permitted, act on a Manager accounting instance through a structured tool interface rather than free-form API calls. The server enforces a tiered permission model so that read access and write access are each opted into separately, and delete access is opted into separately again.
Typical uses:
- Ask an assistant to explain a balance, find unpaid invoices, or summarise account activity.
- Run reconciliation and diagnostic checks (duplicate transactions, unallocated payments, broken invoice references, suspense account candidates) without writing a script.
- Rebuild a trial balance, profit and loss or aged balances as at a past date from Manager's ledger, clearly labelled as a reconstruction and not an official report.
- Propose and, after review, apply corrections to specific transaction types, always through an explicit propose then apply pattern rather than a direct write.
Nothing that changes Manager is registered by default. Every write request is also checked against a permanent denylist before any scope is consulted (see Configuration).
2. Installation
The package is named mcp-manager.io, the Python module is manager_mcp, and the commands are manager-mcp and manager-mcp-dev. It requires Python 3.10 or later and uv.
Until the first release is published to PyPI, run it from a clone:
After publication, no clone is needed:
The server speaks MCP over stdio. To use it from a client, configure the client to run one of the commands above with your Manager connection details as environment variables, for example:
Client integrations in this repository:
mcpb/holds the manifest for a Claude Desktop extension bundle. Built bundles are not committed. The manifest runs the publishedmcp-manager.iopackage throughuv, so it works once the package is published..cursor-plugin/plugin.jsonis a Cursor plugin manifest.- For other clients, such as a
.cursor/mcp.jsonor.vscode/mcp.jsonentry in your own project, use the pattern above.
ChatGPT Apps need a hosted HTTP endpoint. This package is stdio only.
3. Configuration
One process talks to one Manager instance, configured through environment variables:
The older MANAGER_MCP_ALLOW_WRITES, ALLOW_WRITES and MANAGER_MCP_WRITES variables are rejected with an error that points to the two scope variables above.
Never commit your API key. Keep it in the environment of the MCP client or in a private env file.
Transports
stdio is the default and the only transport a registry-launched (uvx) process uses. HTTP is additive and opt-in for self-hosted deployments that need this server reachable over a network rather than only through local stdio pipes:
HTTP mode exposes the exact same tools, the exact same scope/policy enforcement, and the exact same single-Manager-instance-per-process model as stdio -- only the transport changes. It does not add multi-tenancy or multiple Manager instances per process; that belongs in a separate gateway service in front of this one.
Security note: MANAGER_MCP_HTTP_AUTH_TOKEN is a single shared secret for the whole process, checked at the transport layer -- it is not per-caller identity, OAuth, or a replacement for a real auth boundary. When it is unset, HTTP mode has no transport-level authentication at all: any client that can reach the configured host:port can call every tool this process exposes, subject only to the scope/denylist policy above (which governs what can be done, not who may connect). That is only safe when network placement -- loopback binding, a private Docker network, a VPN, or a gateway/reverse proxy that performs the real authentication -- is genuinely the sole access control. The server prints a warning to stderr at startup when running in HTTP mode with no token configured, rather than staying silent about it. Given this server can expose real bookkeeping data (and, depending on configured scopes, write/delete access to it), operators are strongly encouraged to set the token, place the server behind a gateway, or both.
Permission scopes
Valid scopes are quotes, orders, parties, items, sales, purchases, banking, payroll and ledger, plus raw, an escape hatch that enables the full create and update (or delete) set for every domain. A recommended starting point for day-to-day bookkeeping is banking,sales,parties.
With no scopes set, 30 read-only tools are registered. Enabling a scope registers only the tools for that domain. Scopes are additive and independent, and unknown scope names are refused at startup. With every write and delete scope enabled, up to 126 tools are registered.
Every request that would change Manager passes a policy check first. Requests to paths such as access tokens, the chart of accounts, tax codes, exchange rates, starting balances, bank reconciliation, custom fields, email settings and the customer portal are permanently denied, whatever scopes are enabled.
4. Tool descriptions
Read tools (registered by default, 30 in total)
- Discovery and raw access:
list_resources,list_records,get_record,get_fixed_assetandget_server_info(server identity, process, git state, registered tools and active scopes). - Legacy report shortcuts:
aged_receivables,aged_payables,bank_balances,trial_balance,profit_and_loss,balance_sheetandtax_summary. These return Manager's current state or raw feeds and are not finished reports (see Reporting limitations). - Reporting layer (
reporting.py):manager_report_catalogue,get_report_definition,ledger_transactions,reconstructed_trial_balance,reconstructed_profit_and_loss,reconstructed_aged_receivablesandreconstructed_aged_payables. - Diagnostics (
diagnostics.py):find_records,find_broken_invoice_references,find_unallocated_transactions,find_duplicate_transactions,verify_invoice_balance,account_ledger,bank_activity,find_suspense_candidate_accountsandgeneral_ledger_summary. - Reconciliation (
reconciliation.py):reconcile_period. list_incomplete_reconstructions(corrections.py): invoice-reconstruction attempts that started but have not completed, from the local audit log only.
Write tools (registered only when the matching scope is enabled)
- Task tools (
task_tools.py) shaped around an intent, for exampleissue_sales_invoice,issue_purchase_invoice,record_customer_payment,record_supplier_payment,record_expense,transfer_between_accountsandpost_journal_entry. These are the recommended write path. - Per-resource
create_*andupdate_*tools for each enabled scope, anddelete_*tools for each enabled delete scope.create_fixed_assetandupdate_fixed_asset(fixed_assets.py) need theledgerscope. - Corrections (
corrections.py):propose_correctionandapply_correction,propose_*_reconstructionandapply_*_reconstructionfor purchase and sales invoices,reallocate_payment_lineandreallocate_receipt_line, andsnapshot_and_void, which is preferred over the plainvoid_documenttool. Nothing here writes without a separate apply step after a proposal, and each corrective write is recorded in the audit log.
Descriptions and schemas for every registered tool are available from your MCP client, and get_server_info reports which are active.
5. Reporting limitations
Manager's API does not return finished reports. The report view routes are application only and answer HTTP 401 to an API key, and this project neither calls nor imitates them. The reporting tools work from what the API does return, and label what they return. The full guide is docs/reporting.md.
- Reconstructions are never authoritative.
reconstructed_trial_balance,reconstructed_profit_and_loss,reconstructed_aged_receivablesandreconstructed_aged_payablesare calculated by this server from Manager's account level ledger. Each result carriesauthoritative: falseandofficial_manager_report: false, with its source, calculation method, as-at date and ledger completeness. A match with a figure in Manager does not make a reconstruction official. - Reconstructed ageing can differ from Manager's. Ageing here uses transaction dates and applies payments oldest first, whereas Manager uses due dates and actual allocations, so bucket splits can differ. Party totals are checked only against the control account total.
- Current state tools reject dates.
aged_receivables,aged_payables,bank_balancesandtax_summaryshow balances as they are today. If you pass a date or period they refuse the request, and they never return today's figures for a past date. - Dates on the ledger are filtered here. Manager ignores date parameters on its
/transactionsledger feed, so the server fetches the complete ledger and filters it itself. Results are never silently truncated. Paged results report totals and a next position, and feeds report whether they are complete. - Not available from the API: Manager's own group and subtotal layout, invoice due dates and allocations as at a past date, VAT returns, and finished report output.
Do not treat any reporting tool as a substitute for Manager's own reports where precision matters, for example VAT or tax filings.
6. Licensing
Onexur Manager MCP is distributed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later).
This project incorporates material from manager-mcp 0.2.6, which remains licensed under the MIT License. Incorporating that material under this project's distribution does not transfer or extinguish the existing MIT rights and copyright in the upstream-derived portions; those rights remain in effect for recipients. See NOTICE for the full attribution statement and PROVENANCE.json for a file-level breakdown of which parts of this repository are upstream-derived (MIT) and which are original to Xalterra Ltd, trading as Onexur (AGPL-3.0-or-later).
A commercial license, covering use of Xalterra Ltd's Onexur-owned code without the obligations of the AGPL, is available. Contact [email protected] for terms.
The complete AGPL-3.0-or-later text is reproduced in LICENSE-AGPL, and the complete MIT License text is reproduced in LICENSE-MIT.
7. Attribution
This project incorporates material from manager-mcp 0.2.6, released under the MIT License, copyright (c) 2026 manager-mcp contributors.
A detailed, file-level breakdown of which parts of this repository are upstream-derived and which are original to Xalterra Ltd, trading as Onexur, is maintained in PROVENANCE.json, alongside a human-readable summary in PROVENANCE_SUMMARY.md. Historical upstream release notes (versions 0.1.0 through 0.2.6) are preserved unchanged in docs/upstream-history.md. Current release notes are in CHANGELOG.md.
The complete MIT License text is reproduced in LICENSE-MIT. See NOTICE for the full attribution statement.
8. Trademark disclaimer
"Manager" and any associated logos are trademarks of their respective owner. This project is an independent, third-party integration and is not affiliated with, endorsed by, or sponsored by Manager or its publisher. No Manager branding, logos, or proprietary API description material are distributed with this project.
Contributing
See CONTRIBUTING.md and CLA.md. Contributions to files identified in PROVENANCE.json as upstream-derived remain subject to the upstream MIT license; contributions to Onexur-original files are covered by the project's Contributor License Agreement (version 1.0), which you accept by posting a comment on your pull request, as CONTRIBUTING.md describes.
Further reading
- docs/reporting.md: reporting and authority guide
- CHANGELOG.md: current release notes
- docs/upstream-history.md: historical upstream release notes
PROVENANCE.jsonandPROVENANCE_SUMMARY.md: file-level licensing provenanceSECURITY.md: vulnerability disclosure policy
來源:README.md,提交 666207b
工具
0版本歷史
2- v1.1.0最新Sep 28, 2026
- v1.0.1Sep 27, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分