AI Agents

Xero MCP server: AI-ready accounting integration on Azure

A Model Context Protocol server that exposes Xero as 22 AI-callable accounting tools, so Copilot Studio, Azure AI Foundry agents and web apps can ask for invoices, bills and P&L in plain language.

Client
Accounting automation client
Industry
Finance
Status
Delivered

The problem

Every team wanting AI access to Xero data had to build its own integration and handle Xero’s OAuth quirks.

What we built

  • Node.js/TypeScript MCP server (JSON-RPC 2.0) with 22 tools: invoices, bills, contacts, payments, bank transactions, P&L, balance sheet, cash flow, aged receivables/payables
  • OAuth2 with single-use refresh tokens persisted in Azure Blob Storage
  • Docker on Azure Container Apps with rate limiting, Helmet headers, Zod validation and Winston logging

Challenges we solved

  • Xero’s single-use refresh tokens
  • Rate limiting behind the Azure proxy
  • MCP compatibility with Copilot Studio

Results

  • One standard endpoint for any MCP-capable client, including Copilot Studio

Technology stack

  • MCP
  • Node.js
  • TypeScript
  • Xero API
  • Azure Container Apps
  • Azure Blob Storage
  • Docker

Need something similar?

Free 30-minute scoping call. We reply within 24 hours.

Talk to us about AI Agents

Related work

AI Agents

AI pentest agent for OWASP LLM Top 10 security testing

A multi-integration Azure AI Foundry agent connected to Xero, Outlook, SharePoint, a helpdesk and web search, built as a realistic testbed for prompt injection, data leakage and excessive-agency testing.

Delivered
Book a call