EdgeZ MCP
OfficialProvides read-only MCP tools for listing accounts, sales invoices, purchase invoices, and journal entries from a configured ERPNext company via the ERPNext REST API, with limit/offset pagination.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Accounting: ERPNext + EdgeZ MCP
Run ERPNext locally from official prebuilt Docker images, with an independent Python MCP adapter calling its REST API. ERPNext owns the ledger, invoices, accounting rules and database. This repository owns deployment configuration and the adapter.
First step: start ERPNext
Requires Docker Engine/Desktop with Compose v2. No ERPNext source build is needed.
python3 scripts/init-env.py
docker compose --profile setup pull
docker compose up -d
docker compose --profile setup run --rm create-siteOpen http://localhost:8080. Log in as Administrator using ERP_ADMIN_PASSWORD from your private .env file. Complete ERPNext's setup wizard and create your company. Site initialization may take several minutes. Re-running initialization skips an existing site; a failed/partial initialization needs inspection before retrying. Normal restarts only need docker compose up -d.
The stack pins frappe/erpnext:v16.62.0 and includes MariaDB, Redis, workers, scheduler, WebSocket service, backend and frontend. Only frontend port 8080 is published, bound to loopback. Named volumes persist sites, files, database, queue data and logs. docker compose down preserves data; down --volumes deletes it.
Related MCP server: xero-payroll-au-mcp
GitHub Actions
Validate ERPNext and MCP runs on pushes, pull requests and manual dispatch. It tests and builds the adapter, validates Compose, pulls the upstream ERPNext image, creates a disposable site, and verifies installation and Administrator login. Temporary passwords are generated inside the runner; databases and secrets are removed after the job. CI verifies a temporary deployment, not your local host or public edge route.
Optional MCP adapter
In ERPNext create a dedicated API user with read access to Account, Sales Invoice, Purchase Invoice and Journal Entry. Restrict its company access with ERPNext User Permissions; avoid using Administrator.
Generate that user's API key and secret. Set
ERPNEXT_API_KEY,ERPNEXT_API_SECRET, andERPNEXT_COMPANY(the exact company name) privately in.env.Start the optional adapter:
docker compose -f compose.yaml -f compose.mcp.yaml up --build -dERPNext continues to use the prebuilt image; only our small independent adapter is built. MCP is available at http://localhost:8090/mcp with the generated ACCOUNTING_DEV_TOKEN as a bearer token. Tools are list_accounts, list_sales_invoices, list_purchase_invoices, and list_journal_entries. Each supports limit (1–200) and offset. All are read-only, scoped to the configured company. ERPNext amounts use major currency units; journal totals use the company's currency. Draft status is included and must not be interpreted as a posted transaction.
The adapter uses one service identity and company, shared among permitted MCP users. Its allowlist is not a multi-tenant authorization system. /healthz reports process/configuration status; it does not prove upstream ERPNext connectivity.
For native adapter development:
uv sync --frozen
set -a
. ./.env
set +a
uv run uvicorn accounting.app:create_app --factory --host 127.0.0.1 --port 8090 --reload
uv run pytest
uv run ruff check .Edge and ChatGPT
Browser → existing edge named domain → peer TCP forward → ERPNext:8080
ChatGPT → separate edge named domain → peer TCP forward → MCP adapter:8090
→ private ERPNext REST APISee deployment for routing and OAuth. Public exposure is not automatically provisioned. The initial local Docker installation is not production hardening. Back up the ERPNext database and site files using Bench's supported backup tooling, copy backups off-device and verify restoration before storing real records.
Licenses
Our independently written adapter is MIT. ERPNext is GPLv3 and is run as a separate, unmodified upstream image. Compose is adapted from the MIT-licensed frappe_docker example; attribution is in third_party/frappe-docker-LICENSE. Bundled image components retain their own licenses. This repository does not relicense ERPNext.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read Ambrook books: P&L, balance sheets, unpaid invoices, bills due, and transactions. Read-only.
Fortnox accounting for one company: invoices, reports, ledger, documents. Read-only until enabled.
Read-only access to a Median customer's ledger, financial reports and transactions. OAuth sign-in.
Read-only NuMetric.work accounting & ERP data: statements, KPIs, reports, invoices, documents.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables MCP clients to read and write Bokio accounting data for one company through 85 tools covering invoices, customers, suppliers, journal entries, chart of accounts, fiscal years, items, tags, uploads, SIE export, and bank payments.40MIT
- AlicenseNot gradedqualityDmaintenanceProvides read-only MCP access to Xero accounting data, with strict safeguards against mutations and sensitive field leakage, while Australian payroll pay run, payslip, and superannuation tools are planned but not yet exposed.MIT

epago MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceEnables MCP-capable clients to read and write directly in epago accounting, including chart of accounts, transactions, invoices, payments, receipts, and tax reports.MIT- AlicenseNot gradedqualityBmaintenanceEnables reading reports and accounting data, searching transactions, inspecting accounts, categories, payees, and rules, and optionally authorizing undoable bookkeeping changes through MCP.MIT