West AI Solutions Logo

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 · Professional services

AI churn-risk detection from Microsoft Teams check-in transcripts

A daily Azure pipeline that scores every coach–VA check-in meeting against a 22-signal churn-risk checklist and lets leadership ask questions like “Which VAs are high risk this week?” in plain language.

In productionVirtual assistant staffing agency

AI Agents · Compliance / SaaS

Connie: RAG assistant for compliance documents inside SharePoint

A retrieval-augmented assistant launched from SharePoint that answers questions and helps draft documents from an organisation’s own compliance material, with a delta sync that keeps the index current every six hours.

Working demoCompliance software company

AI Agents · Cybersecurity

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.

Delivered24by7 Security