
Enterich
dev.interlusion由 interlusion.dev 發布v0.4.0更新於 Nov 7, 2026
A service for ERPNext accounting behind OAuth: fixed tools, drafts only, one agent user's rights
概覽
以 OAuth 保護的 ERPNext 會計 MCP 伺服器:提供固定的讀取與僅草稿工具,權限限於單一 ERPNext 代理使用者。
- 可以做什麼
- 列出並讀取物料等主檔資料以及客戶、供應商
- 列出並讀取銷貨發票、進貨發票、稅務範本、應收與應付
- 列出並讀取會計科目、成本中心、日記帳分錄、總帳與試算表
- 列出並讀取銀行帳戶、銀行交易與付款單
- 建立和更新銷貨發票、銷貨退回、進貨發票、進貨退回、日記帳分錄與付款單的草稿
- 適用情境
- 適合讓助理查詢 ERPNext 會計資料,或準備草稿單據交由人員審核並送出,而不必給它通用的 ERPNext API 橋接或過帳權限。
- 執行需求
- 以本機服務方式執行(容器映像,Streamable HTTP),僅限桌面。需要 ERPNext 站台網址、公開網址、公司名稱,以及 ERPNext 代理使用者的 API key 與 secret(ENTERICH_ERPNEXT_API_KEY、ENTERICH_ERPNEXT_API_SECRET)。另需外部 OAuth 授權伺服器:issuer、JWKS 網址、client ID、subject、resource URL,以及選用的 scope 與簽章演算法。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Enterich,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[Enterich's logo: a drake in a cap, holding a microphone, with an MCP chain]
Enterich
An MCP server for ERPNext with hard limits: a short, fixed list of tools, tokens from an external OAuth authorization server, and only the rights of one ERPNext user.
Status: Every operation is tested against a model of ERPNext v16's API, and weekly against a real ERPNext v16 site. The changelog lists the releases.
What it is
- A separate service, not a Frappe app. It calls ERPNext's REST API with the API key of a dedicated agent user and holds no other ERPNext credential. Whatever the service does, ERPNext's role for that user is the upper limit.
- A resource server for the MCP authorization spec. It serves the protected resource metadata, answers a missing token with 401, and checks every access token itself (issuer, audience, client, subject). Sign-in happens at an external authorization server such as Keycloak.
- A fixed list of operations, each with its own purpose and input schema, read and write separated. No generic document access, method calls or file access.
- Client-neutral. It speaks plain MCP (Streamable HTTP) and doesn't rely on any client asking before a write.
What it is not
- Not a general ERPNext API bridge: tools that take a DocType, report name, method name, field list, filter expression or file path as input are out of scope.
- Not a way to post: no tool submits, cancels, amends, deletes or discards a document. The agent prepares drafts; a person reviews and submits them in ERPNext (reviewing drafts).
- Not affiliated with or endorsed by Frappe Technologies. ERPNext and Frappe are their trademarks.
Tools
Enterich offers 37 tools. A deployment may offer fewer (ENTERICH_TOOLS); every tool works on one company, within the rights ERPNext gives the agent user.
Master data (REQ-003)
Items.
Order to cash (REQ-004)
Customers, sales invoices, receivables.
Procure to pay (REQ-005)
Suppliers, purchase invoices, payables.
Record to report (REQ-006)
Accounts, cost centres, journal entries, ledger, trial balance.
Bank and cash (REQ-007)
Bank accounts, bank transactions, payments.
Scope
Enterich is maintained for our own use. Contributions are welcome (contributing); support isn't promised. Report vulnerabilities privately, as the security policy describes.
Documentation
Start at docs/README.md. The most important parts:
- Requirement specifications: the core, and the operations by accounting area
- Architecture and decisions
- Configuration
Licence
Apache-2.0. Why: ADR-006.
來源:README.md,提交 0ff4da7
工具
0版本歷史
3- v0.4.0最新Nov 7, 2026
- v0.3.0Nov 3, 2026
- v0.2.1Nov 1, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分