Connect AI agents and workflows to Xero: contacts, invoices, bills, payments, bank transactions, journals and reports, with triggers on new and changed records.
Book a demo
Xero for AI agents and workflows.
engini lets your AI agents and workflows work in Xero: find contacts, create and email invoices, enter bills, record payments, post manual journals, read the profit and loss or aged receivables, and start a workflow when an invoice or contact changes. Orders, payments and payroll from your other systems land in the books without anyone keying them in. Connect from Claude, ChatGPT or Cursor over MCP, from your code, or build in Workflow Studio.
Cursor, your code
audit log

in engini
What your agent can do in Xero. Every tool is one you allow or leave out.
The Xero tools in engini, grouped by what they change. Read tools are safe to hand out widely. Write and delete tools go only to the agents that need them.
Read
Find a customer or supplier and their balances.
Read sales invoices and supplier bills, with their status and amount due.
See what was paid, received and credited.
Read the chart of accounts and the codes to post with.
Profit and loss, balance sheet, trial balance, aged receivables and aged payables.
Write
Add or change a customer or supplier.
Bill a customer and send the invoice from Xero.
Enter a supplier bill with the PDF attached.
Record money received or spent against the right account.
Credit a customer and apply it to an invoice.
Post a journal, or raise a purchase order or quote.
Delete
Void an invoice, or remove one that was never sent.
Reverse a payment, or retire a contact.
Any endpoint
Call any Xero API endpoint, with the sign-in added for you.
Triggers
Invoices and bills added or changed.
Customers and suppliers added or changed.
Money in and out, recorded.
A trigger starts a workflow, and a workflow can include an AI agent step. In Code, a trigger delivers the event to your own endpoint.
Connect your AI agent to Xero. Four ways in, one set of permissions.
Claude, ChatGPT, Cursor
Create an MCP server in engini with your Xero connection and only the tools you choose. Add its address to your client and sign in through engini. There is no key to copy.
MCP client setup →Python and TypeScript
Hand your agent a toolset of Xero tools. The SDK gives OpenAI and Anthropic models the tools in the format they expect and runs the ones they pick.
SDK guide →For coding agents
The engini CLI connects Xero and runs its tools from a terminal, with machine-readable output, so an AI coding agent can drive it without getting stuck.
CLI guide →Any language
Every Xero tool is an endpoint. Call it with exact inputs from a scheduled job or a sync, with no model in the loop.
API reference →.cursor/mcp.json. Claude Code: claude mcp add.// .cursor/mcp.json: Cursor, connected to Xero through engini
{
"mcpServers": {
"engini-xero": {
"url": "<your engini MCP server address>"
}
}
}
Create the MCP server in engini with your Xero connection and the tools this agent may use, then paste its address. The client signs in through engini on first use. Claude, VS Code and other clients take the same address: see the MCP client setup guide.
Each request runs through the Xero tools in the agent's toolset or MCP server. If a tool is not allowed, the agent cannot call it.
What teams build on Xero. Agents and workflows, across systems.
Orders into invoices
A paid Shopify or WooCommerce order becomes a Xero invoice with the payment recorded against it.
Bills from the inbox
A supplier invoice that arrives in Outlook or Gmail is read by an agent and entered as a Xero bill, with the PDF attached.
Won deals billed
A deal marked won in HubSpot creates the Xero contact and the first invoice.
Numbers on request
An agent in Claude answers what was billed, what is overdue and what the quarter looks like. Its toolset holds read tools only.
Every integration runs both ways, so any of these flows can also run in reverse. These are examples, not the limit: any flow between Xero and another system engini connects is available.
You decide what each agent may do in Xero. engini enforces it on every call.
Only the tools you allow
A toolset lists the Xero tools an agent may call and the connection each one uses. Give one agent read tools only and another the write it needs. engini refuses any call outside the toolset.
Scoped when you set them up
An MCP server exposes only the connections and tools chosen when it is created, and engini shows who uses each server.
Whose permissions apply
Connect a person's own Xero account and engini acts as that person, with their Xero permissions. Use a shared integration account and it acts as that account. Every run is recorded under the user who started it.
Kept out of prompts
Your agent never needs your credentials: engini stores them and adds them when it runs each call, so keys stay out of prompts and tool inputs.
Every call on record
Every call lands in History and the audit log, which you can export or stream to your SIEM.
Test before production
Workspaces keep teams apart, and development, staging and production environments keep a test agent away from live data.
Connect Xero in three steps. Then decide what each agent may do.
Sign in to Xero
Add a Xero connection, sign in with Xero and choose the organisation the workflows should use. Connect more organisations as separate connections.
Choose the tools
Add the connection to an MCP server or a toolset with only the tools each agent needs.
Build or ask
Use the connection as a step in a workflow, or ask your agent to work in Xero from Claude, ChatGPT, Cursor or your own code.
Xero and engini. Straight answers.
Can an AI agent write to Xero, or only read?
Both. engini has tools to create and update contacts, invoices, bills, payments, credit notes, journals, purchase orders and quotes, and to void or delete them. Whether a given agent may use them is up to you: give it a toolset or an MCP server with read tools only, and it cannot call the rest.
Does it work with more than one Xero organisation?
Yes. Each connection is one organisation. Connect as many as you need and give each agent only the connections it should use.
Does the agent act as me in Xero?
It acts as the Xero user who signed in, with that user's role in the organisation. Every run is recorded under the person who started it.
Can a change in Xero start work?
Yes. Invoice and contact changes start work as Xero reports them, and scheduled triggers check for new payments and bank transactions. A trigger starts a workflow, and that workflow can include an AI agent step.
What if the tool I need is not listed?
Use Send API Request to call any Xero API endpoint through the same connection, and give it only to the agents that need it.