Skip to content

MCP servers for accounting: how an assistant reaches the ledger

Written by the Ledgorithm team. General information, not tax or legal advice. 6 min read. Published . Updated .

An MCP server is a program that publishes a list of actions, called tools, that an AI assistant is allowed to take in another system. For accounting, that means tools such as "list bank transactions awaiting review", "preview this journal entry" or "run the profit and loss for March". The assistant connects, reads the list, and calls tools on your behalf under your sign-in. MCP stands for Model Context Protocol, an open standard published by Anthropic in November 2024 and now supported by Claude, ChatGPT and other clients.

What the protocol defines

Three things matter for a non-developer.

Tools. Each tool has a name, a plain description and a typed list of inputs. A tool called aging_report might take a kind (invoice or bill) and a number of days. The model reads the description to decide when the tool is useful and fills in the inputs.

Discovery. When a client connects it asks the server for its tool list. Nothing is hard-coded on the assistant's side, so when the vendor adds a tool, every connected assistant sees it on the next session.

Transport and sign-in. A local server runs on your own computer and talks to the assistant directly. A remote server runs on the vendor's infrastructure and is reached over HTTPS, using a transport the specification calls Streamable HTTP. Remote servers normally use OAuth, so you sign in to the vendor in a browser window and approve the connection without ever giving the assistant your password.

For accounting, remote is the practical choice. Nothing is installed, access follows your existing user account, and the vendor can record every call.

What a tool call looks like

Suppose you ask, "Which invoices are more than 60 days overdue?" The assistant picks a tool and sends a request along these lines:

tool: aging_report
input: { "kind": "invoice", "days": 60 }

The server checks that your connection may read that business, runs the query against the ledger and returns rows: customer, invoice number, due date, amount open. The assistant writes its answer from those rows. The figures come from the accounting system. The model has arranged them into sentences.

That division is the reason a connector is more trustworthy than a pasted export. The assistant is not recalling numbers or adding them up. It is quoting a query result, and you can run the same report to check it.

Why accounting needs more than read and write

A generic connector has two kinds of tool: those that read and those that change something. A ledger needs a middle step, because a posted entry should not be undone by deleting it. Well-designed accounting servers give write tools three behaviors.

ModeWhat happensLedger changes
Dry runThe server returns the exact entry that would postNo
ProposeThe entry is saved for a person to approveNo, until approved
CommitThe entry postsYes, if a policy allows it

A dry run for categorizing a $412.00 electricity payment would return something like this, and nothing would be saved:

AccountDebitCredit
Utilities412.00
Checking412.00

The preview lets the assistant, and you, see the consequence before asking for it. Propose is the default for real work. Commit should be available only where the owner has written a rule, for example for small recurring charges from a known payee.

Four details that separate a careful server from a careless one

Idempotency keys. Networks drop connections. If the assistant sends "post this entry" and gets no reply, it will try again. A careful server requires a unique key with each write and guarantees that the same key yields one entry, however many times the request arrives. Without this, a retry can double an expense.

Untrusted text. Bank descriptions, document contents and counterparty names are written by outsiders and can contain instructions aimed at a model. A careful server returns that text in fields explicitly marked untrusted, so the client treats it as data.

Exact amounts. Money should travel as whole cents, usually as strings, so that 0.1 plus 0.2 never becomes 0.30000000000000004 somewhere between the server and the model.

Scoped listings. A server with hundreds of tools overwhelms a model's working memory. Good servers list a small default set and let the client ask for more by area, such as banking or tax.

Connecting one

In Claude or ChatGPT, open the connector settings, choose to add a custom connector, paste the server's address and sign in when the browser opens. Menu names and the plans that allow custom connectors change, so follow your client's current help. Coding tools such as Cursor and Claude Code take the same address in a configuration file or a command.

Before you ask for any work, ask the assistant to list its tools and to tell you which business it is connected to. Then ask for one report and compare it with the same report in the app.

What to ask the vendor first

  1. Is the server hosted by you, and does it use OAuth with my existing account?
  2. Which tools change data, and does each one support a preview?
  3. Can anything post without a person's approval? Who controls that?
  4. How are repeated requests handled?
  5. Is every tool call logged with the connection that made it?
  6. Can I restrict a connection to one company, and how do I revoke it?
  7. Does the same connection work from more than one assistant?

The Ledgorithm server

We make Ledgorithm and run an MCP server for it, so this section is first-hand. The address is https://ledgorithm.com/api/mcp. It is a remote server using Streamable HTTP and OAuth 2.1. At sign-in you choose the businesses the connection may use.

A new connection lists a core set of tools. Other sets are added by naming them in the address, for example with ?toolsets=core,banking, and any tool can be called by name whether or not it is listed. Write tools accept dry_run, propose and commit, and commit applies only where agent policy allows. Commits require an idempotency key. Outside text comes back in untrusted fields. Amounts are cents carried as strings.

A second endpoint takes a bearer API key for unattended use. It exposes four tools and can draft invoices but cannot issue, pay, edit or delete them. A REST API under /api/v1 calls the same services for developers who prefer code.

The connection guide has the steps for each client, and the MCP server reference lists tool names. To see the books an assistant would be working in, open the demo.

Questions

Is an MCP server the same as an API?

No. An API is called by code a developer wrote in advance. An MCP server describes its tools in a form an AI client reads at connection time, and the model decides which to call. Many products offer both over the same underlying services, and Ledgorithm does.

Do I need to install anything to use a remote MCP server?

Not for a remote server. You add its address in your assistant's connector settings and sign in through your browser. Some desktop clients only accept local servers and need a small bridge program, which the vendor's documentation will describe.

Can an MCP server see my bank login?

It should not. Bank connections in accounting software normally run through an aggregator such as Plaid, and the credentials stay there. The MCP server exposes transactions already imported into the ledger.

Start with the free plan

Ledgorithm is full double-entry accounting software on the free plan. Upload your bank statements, enter your opening balances and see your own numbers before you decide anything else.