Gemini connects to Xero when you add DeepLedger's hosted MCP server as a custom app: one custom app reaches every Xero organisation you can access, and you switch between them by asking Gemini. Google limits custom apps to certain accounts, so this guide starts with eligibility, then covers setup, switching and prompts for people who run several Xero organisations.
Xero support in DeepLedger is in beta. If Connect to Xero is not offered on a company's Connections tab, contact support.
For QuickBooks Online and Gemini Spark, see Connect Gemini to QuickBooks Online. The custom app is the same one.
Can you use Gemini with Xero?
Check this first. Google's custom app requirements (checked November 9, 2026):
| Requirement | Custom apps in Gemini |
|---|---|
| Account | Personal Google Account |
| Work or school accounts | Not supported for now |
| Location | United States |
| Age | 18 or over |
| Language | English |
| Keep Activity | On |
| Where you add it | Gemini web app; then it also works on mobile |
That makes Gemini a good fit for an owner or a US-based finance lead who uses a personal Google Account and runs a few Xero organisations, for example an operating company, a property entity and a holding company. A firm that works in Google Workspace cannot add custom apps yet. Use the Claude, ChatGPT or Copilot guide instead; your DeepLedger companies are the same in every app.
What you are connecting
https://mcp.deepledger.ai/mcp
The address is DeepLedger's hosted Xero MCP server. DeepLedger holds each Xero connection, made once through Xero's own sign-in, and offers Gemini tools for the active organisation: reports, invoices, bills, credit notes, payments, bank transactions, transfers, manual journals, contacts and tracking categories, plus Tasks, AI Brain and the month-end close. Gemini signs in to DeepLedger as you and never sees a Xero password.
Why one sign-in for all your Xero organisations
People with several entities tend to ask questions that cross them: which entity is short of cash, whether the loan between two of them agrees, what the group earned last month. One custom app per organisation would make each of those a juggling act.
DeepLedger's custom app is tied to your DeepLedger user, so it reaches every company you can access. You move between them in the chat, and Gemini can read one organisation, switch, read the next and put the results side by side. Your active company is shared with any other AI app you use with DeepLedger, so check the company name in each answer.
Before you start
- A DeepLedger account (no card for the trial).
- Each Xero organisation connected: Companies → the company → Connections → Connect to Xero.
- A Google Account that meets the requirements above.
- Pricing: $20 per Xero connection per month, the same as QuickBooks Online, with unlimited users and a 14-day free trial with no credit card. See pricing.
How do I connect Gemini to Xero?
- Go to gemini.google.com on a computer.
- Open Settings, then Connected Apps. If you do not see it, open Personal Intelligence, then Connected Apps.
- Under Custom apps, click the Add a custom app field.
- Enter
https://mcp.deepledger.ai/mcpand select Next. Include the/mcpat the end. - Accept the connection dialog and sign in with your DeepLedger account.
- Review the app name and the available actions, then select Connect. The actions include writes to your books.
- In a new chat, type @, choose DeepLedger, and ask:
Which company am I in? List my Xero companies.
DeepLedger supports dynamic client registration, so you do not need the Advanced features credentials fields.
Switch companies by asking
DeepLedger's companies tool lists your companies (list), names the active one (current) and moves to another (switch, by name or id).
@DeepLedger list my companies.
Switch to Maple Ridge Properties and show unpaid bills over 30 days.
Now do the same for Maple Ridge Holdings.
Use the exact company name. If a name matches more than one company, or none, DeepLedger refuses the switch; ask the AI to list your companies and switch by the company id. You can also pick the active company in the DeepLedger portal with Make this the company my AI works in.
Multi-organisation prompts to try
Group cash position
For each of my Xero companies, show cash at bank and the bills due in the next 14 days. Which company is tightest?
Intercompany loan
Show the loan from Maple Ridge Holdings to Maple Ridge Properties in both organisations at October 31. Do the balances agree?
Rent roll check
Switch to Maple Ridge Properties. List October invoices by contact and flag any regular tenant with no October invoice.
Group profit
Show October profit and loss for each Xero company, accrual basis, in one table. If the companies use different currencies, show each in its own currency and do not add them together. This is a side-by-side view, not a consolidation.
Overdue across entities
List overdue invoices across all my Xero companies, largest first, with the company name on each line.
Draft a bill
In Maple Ridge Properties, create a draft bill for the attached plumbing invoice after checking it is not already in Xero. Do not approve it.
Is it safe to let Gemini work in Xero?
- Drafts by default for new invoices, bills, credit notes and manual journals. Payments, spend money, receive money and transfers post straight away.
- Confirmation before Xero actions that cannot be undone, such as voids.
- Read-only access is set in DeepLedger, not in the prompt. A member with read-only access cannot write from any AI app.
- Audit history in DeepLedger records each tool call per company.
- Your Gemini settings. Google requires Keep Activity for custom apps; check Google's privacy settings and decide what you are comfortable sharing.
- Revoke by removing the custom app in Connected Apps, revoking the grant under Settings → Connected apps in DeepLedger, or disconnecting Xero on the company's Connections tab.
Troubleshooting
No Custom apps section. Your account does not meet Google's requirements, most often because it is a work account or Keep Activity is off.
Gemini answers without DeepLedger. Mention it with @ at the start of the prompt.
Wrong organisation. Ask which company is active and switch. Another AI app may have moved it.
"Reconnect Xero." That organisation's Xero authorisation lapsed; reconnect it on the company's Connections tab.
Frequently asked questions
How do I connect Gemini to Xero?
Connect your Xero organisations to DeepLedger, then in Gemini on the web open Settings, Connected Apps, and add a custom app with the URL https://mcp.deepledger.ai/mcp. Sign in to DeepLedger, select Connect, then type @ in a chat, pick DeepLedger and ask which company is active.
Who can add custom apps in Gemini?
Google's help page says custom apps need a personal Google Account, age 18 or over, the US, English and Keep Activity turned on. Work and school accounts are not supported for now. These rules come from Google and can change.
Can I use Gemini with Xero on a Google Workspace account?
Not through a custom app at the moment, because Google does not yet support custom apps on work or school accounts. If your firm works in Google Workspace, use DeepLedger from Claude, ChatGPT, Copilot, Cursor or Grok instead; the address and your companies are the same.
Can Gemini switch between Xero organisations?
Yes. One DeepLedger custom app reaches every company you can access. Ask Gemini to list your companies, then switch to one by name, and every later request goes to that organisation until you switch again.
Does the Gemini mobile app work with DeepLedger?
Yes, after setup. Google says custom apps are added in the Gemini web app and then also work in the Gemini mobile app. Mention DeepLedger with @ in the chat as you would on the web.
Related guides
- Xero MCP server guide
- Connect Gemini to QuickBooks Online
- Multiple companies, one AI sign-in
- Connect Claude to Xero
- Connect Grok to Xero
See every supported app on AI platforms and integrations and pricing.