Repository avatar
Monitoring
v0.1.0
active

autocount-mcp

io.github.z9systems/autocount-mcp

Read-only AutoCount Cloud Accounting data: customers, stock, invoices, payments, open items.

Documentation

AutoCount Cloud Accounting MCP

Ask Claude, ChatGPT or any MCP client about your AutoCount Cloud Accounting books in plain words:

"Which customers still owe us money, and how much?" "What's on invoice I-000123?" "How many WB-5G bottles do we have at HQ?" "Which receipts paid Harbor Lane's invoices this month?"

This is a read-only Model Context Protocol server. It uses AutoCount's official Cloud Accounting Integration API with your own API key. It can look things up; it cannot create, change, void or delete anything.

Unofficial. Not made or endorsed by Auto Count Sdn Bhd. "AutoCount" is their trademark. This server is for AutoCount Cloud Accounting, not the desktop AutoCount Accounting 2.x.

Tools

ToolWhat it does
get_company_profileCompany name, registration and tax numbers, home currency
list_customers / get_customerCustomers (debtors), with extra columns on request
list_suppliers / get_supplierSuppliers (creditors)
list_products / get_productProducts by category, type and status, with variants and bundles
get_stock_balanceBalance quantity of a product per location
list_sales_invoicesSales invoices by date, customer, sales agent or number, with the outstanding amount
list_documentsAny of: sales invoices, credit notes, quotations, purchase invoices, purchase orders, purchase returns, payment vouchers and receipts, journal entries, knock-off entries, stock adjustments, stock transfers
get_documentOne document with all its lines
get_knockoff_detailsWhich receipts or payments settled a document, and the other way round
get_outstanding_itemsOpen items of a customer or supplier account and the net balance
list_referenceChart of accounts, areas, departments, numbering formats, locations, payment methods, sales agents, tax entities

Lists return up to 100 records per page (AutoCount's page size); the tools say when there are more pages. Long document lists are summarized unless you ask for full.

What you need

  1. An AutoCount Cloud Accounting account book. The API is included in every plan, including the free mode.
  2. An API key: in Cloud Accounting open Settings > API Keys > Create API Key and copy the Key ID and API Key.
    • Give the key read permissions only. New keys get "All Permissions". Edit the key, untick All Permissions and the Name box at the top of the list, then tick every permission whose name contains .Get (for example Debtor.GetRecords, Invoice.GetKnockOffDetails, Product.GetBalanceQuantity) plus KnockOffEntry.OutstandingTransactions. Leave every CreateRecord, UpdateRecord, DeleteRecord, Void and UpdateStatus unticked. This server never writes, but a read-only key makes sure of it: with such a key AutoCount answers 403 to any write (checked on 27 November 2026).
  3. Your account book ID: the number after the domain in the address bar, e.g. accounting.autocountcloud.com/12345/...
  4. Node.js 18.17 or newer.

Set up

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "autocount": {
      "command": "npx",
      "args": ["-y", "autocount-mcp"],
      "env": {
        "AUTOCOUNT_ACCOUNT_BOOK_ID": "12345",
        "AUTOCOUNT_KEY_ID": "your key id",
        "AUTOCOUNT_API_KEY": "your api key"
      }
    }
  }
}

Claude Code:

claude mcp add autocount -e AUTOCOUNT_ACCOUNT_BOOK_ID=12345 -e AUTOCOUNT_KEY_ID=... -e AUTOCOUNT_API_KEY=... -- npx -y autocount-mcp

Cursor, Windsurf and other clients use the same command, arguments and environment variables.

Docker:

docker build -t autocount-mcp https://github.com/z9systems/autocount-mcp.git
docker run -i --rm -e AUTOCOUNT_ACCOUNT_BOOK_ID=12345 -e AUTOCOUNT_KEY_ID=... -e AUTOCOUNT_API_KEY=... autocount-mcp

Settings

VariableDefault
AUTOCOUNT_ACCOUNT_BOOK_IDrequired
AUTOCOUNT_KEY_IDrequired
AUTOCOUNT_API_KEYrequired
AUTOCOUNT_BASE_URLhttps://accounting-api.autocountcloud.com
AUTOCOUNT_TIMEOUT_MS20000
AUTOCOUNT_MAX_RETRIES3retries after AutoCount's rate limit (about 100 requests a minute per account book)

Safety

  • Only read methods can be called. The client has a fixed list of AutoCount's GET methods and its "listing" search methods (POST requests that take filters and change nothing); any other method or path is refused before a request is made.
  • Your Key ID and API Key stay on your computer and are sent only to AutoCount's API.
  • Use a key with read permissions only (see above).

Test

npm install
npm test

npm test runs the server against a stand-in for the AutoCount API, built from AutoCount's published API specification, and calls every tool.

To check your own account book (read-only calls only):

node --env-file=.env test/live.mjs

with AUTOCOUNT_ACCOUNT_BOOK_ID, AUTOCOUNT_KEY_ID and AUTOCOUNT_API_KEY in .env.

Status: tested against a real AutoCount Cloud Accounting account book (free mode) on 27 November 2026, with customers, suppliers, products, purchase and sales invoices, a receipt and a knock-off.

Want it set up for you?

Z9 Systems connects AI to AutoCount, SQL Account, Xero, HubSpot and other systems: stock questions on WhatsApp, purchase orders turned into sales orders, payment reminders, and more, with a person approving every key step.

Licence

MIT

NPM
autocount-mcp
Install Command
npm install autocount-mcp