Connect
Optimize
Secure
Announcing StackOne Defender: leading open-source prompt injection guard for your agent • Read More →
Production-ready Xero MCP server with 71 extensible actions — plus built-in authentication, security, and optimized execution.
Coverage
Create, read, update, and delete across Xero — and extend your agent's capabilities with custom actions.
Authentication
Per-user OAuth in one call. Your Xero MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Every Xero tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Xero call.
Tools Discovery →A Xero MCP server lets AI agents read and write Xero data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Xero MCP server ships with 71 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
Every action from Xero's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Create a new account in the chart of accounts
Retrieve the chart of accounts
Retrieve a single account by ID
Update an existing account
Delete an account from the chart of accounts
Create a spend or receive money bank transaction
Retrieve a list of bank transactions
Retrieve a single bank transaction by ID
Update an existing spend or receive money transaction
Delete a spend or receive money transaction
Create a new contact
Retrieve a list of contacts with optional filtering and pagination
Retrieve a single contact by ID
Update an existing contact
Create a credit note
Retrieve a list of credit notes
Retrieve a single credit note by ID
Update an existing credit note
Create a new employee
Retrieve a list of employees
Retrieve a single employee by ID
Create one or more invoices
Retrieve a list of invoices with optional filtering and pagination
Retrieve a single invoice by ID
Update an existing invoice
Create a new item (product/service)
Retrieve a list of items (products/services)
Retrieve a single item by ID or Code
Update an existing item
Delete an item
Retrieve a list of journals
Retrieve a single journal by ID or number
Create a new manual journal
Retrieve a list of manual journals
Retrieve a single manual journal by ID
Update an existing manual journal
Create a payment for an invoice, credit note, prepayment, or overpayment
Retrieve a list of payments
Retrieve a single payment by ID
Delete (reverse) a payment
Create a new purchase order
Retrieve a list of purchase orders
Retrieve a single purchase order by ID or number
Update an existing purchase order
Create a new quote
Retrieve a list of quotes
Retrieve a single quote by ID
Update an existing quote
Retrieve a list of tax rates
Retrieve a tax rate by tax type
Create a new tracking category
Retrieve a single tracking category by ID
Update an existing tracking category
Delete a tracking category
Create a new tracking option within a category
Update an existing tracking option
Delete a tracking option
Retrieve a list of users
Retrieve a single user by ID
List all companies (organisations) connected to the Xero account
Retrieve the online invoice URL for a sales invoice
Retrieve organisation details
Retrieve the Balance Sheet report
Retrieve the Profit and Loss report
Retrieve the Trial Balance report
Retrieve the Aged Receivables by Contact report
Retrieve the Aged Payables by Contact report
Retrieve the Bank Summary report
Retrieve the Budget Summary report
Retrieve the Executive Summary report
Retrieve a list of tracking categories
One endpoint. Any framework. Your agent is talking to Xero in under 10 lines of code.
MCP Clients
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}118+ actions
104+ actions
95+ actions
70+ actions
57+ actions
30+ actions
15+ actions
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
origin_owner_id.All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.