Xero MCP server setup for organizations: official server, authentication and audit logging

Which Xero MCP server fits an organization's authentication and logging requirements, what plan and app rules apply, and where the gaps sit.

On this page

Does the official Xero MCP server meet our sign-in and audit requirements?

The hosted Xero Remote MCP Server authenticates users through Xero's OAuth 2.0 flow with PKCE, and access is included at no extra charge for a Commercial App on the Core plan or above. The sources reviewed do not describe SSO with your company identity provider or admin approval settings for the MCP server, so treat both as open questions to confirm with Xero before approval. A Starter plan app can try the server only with a demo organisation, which is useful for testing but not for connecting live accounting data.

You have two deployment paths. The hosted remote server at is run by Xero, and a user signs in, picks the organisations to share and approves the requested scopes. The **local open-source server** in the XeroAPI repository bridges MCP to the Xero API, requires Node.js v18 or higher and a Xero developer account, and can authenticate with custom connections or a bearer token. If both XERO_CLIENT_BEARER_TOKEN and XERO_CLIENT_ID` are set, the bearer token takes precedence, so a reviewer should confirm which credential the deployed configuration actually uses. Read the Xero Developer Remote MCP documentation before choosing a path.

On audit logging, Xero records every Xero API call the agent makes under your app in the Developer Portal, but tool calls and prompts are not logged. Your own client or agent must keep a record of what the agent asked for, and that record should be reviewed against the API log. Before approval, confirm with Xero which app plan applies to your organisation, whether Custom Connections apps are excluded (they cannot use the Remote MCP Server), and whether your MCP client can complete a PKCE flow. Apps on the Plus, Advanced and Enterprise plans must be certified, and Advanced and Enterprise apps must also pass security assessments, so ask for the current status in writing.

Xero MCP capabilities by plan, server and authentication method

This table compares Xero's hosted Remote MCP Server with the local open-source server, along with the app, plan and logging conditions attached to each. Read each status against the server you plan to approve, because the hosted and local paths use different sign-in methods and leave different records. Items marked not described in sources need written confirmation from Xero before you make a rollout decision.

CapabilityPlan or app requirementStatus
Hosted Remote MCP ServerCommercial app on Core plan or above; Starter apps can try it with a demo organisationBuilt in
Local XeroAPI server with custom connectionsNode.js v18 or higher and a Xero developer account with API credentialsOutside component
Local server with bearer tokenNode.js v18 or higher; XERO_CLIENT_BEARER_TOKEN takes precedence over XERO_CLIENT_ID if both are setOutside component
Custom Connections apps on hosted serverNot eligible; the hosted server requires an OAuth 2.0 PKCE flow in the clientOutside component
Plus, Advanced and Enterprise app certificationPlus apps must be certified; Advanced and Enterprise apps also need security assessmentsOutside component
Company SSO for the MCP serverSign-in is through Xero's OAuth 2.0 flow; company SSO is not describedNot described in sources
Admin approval settings for the MCP serverUsers pick organisations and approve requested scopes; admin approval settings are not describedNot described in sources
Developer Portal API call loggingEvery Xero API call the agent makes is logged under your appBuilt in
Tool call and prompt loggingXero does not log tool calls or prompts; keep a record in your own client or agentOutside component

How the hosted and local Xero MCP servers authenticate users

The two Xero MCP servers authenticate people in different ways, and that difference decides who controls access. The hosted Developer Remote MCP Server runs at ` a Xero-operated URL. The user signs in to Xero, chooses which organisations to share with the client, and approves the scopes the app requests. The client must be able to start an OAuth 2.0 PKCE flow, and Xero's Remote MCP FAQ states that Custom Connections apps cannot use this server. The organization therefore controls the hosted path through three places: Xero's consent screen, where each user picks organisations and approves scopes; the app configuration in the Developer Portal, where the PKCE choice and the client redirect URL are set; and the agent client, which must support PKCE and must be registered as the remote server.

The local open-source server, published in the XeroAPI/xero-mcp-server repository, is a bridge that your organization runs on its own machines or hosts. It authenticates in one of two ways described in its README: through a Xero custom connection, or through a bearer token supplied in the XERO_CLIENT_BEARER_TOKEN setting. If both XERO_CLIENT_BEARER_TOKEN and XERO_CLIENT_ID are set, the bearer token takes precedence, so a stale token in a shared configuration file can silently override the client credentials you intended to use. Review every environment file and deployment template for that variable before rollout. Here the enforcement point moves away from Xero's consent screen to your own secret management and the Xero app credentials you issue, so the reviewer should confirm how those credentials are stored, rotated and limited to the intended organisation.

Decisions to make before choosing hosted or local deployment

Choosing between Xero's hosted remote server and the local open-source server sets how users sign in, which plan and app tier you need, and whose identity appears in Xero's logs. The cards below cover the decisions that shape audit attribution, offboarding and where the agent's own records live.

Identity model: user OAuth or bearer token

The hosted Remote MCP Server authenticates each user through Xero's OAuth 2.0 flow with PKCE, so every session is tied to a named person who approves the scopes. The local server can instead run on a custom connection or a bearer token supplied through configuration. A shared token means Xero's records show the app, not the employee who asked for the action. Confirm which identity model you are approving before any rollout.

Remote MCP FAQ

Plan and app tier requirements

Remote MCP access is included for a Commercial App on the Core plan or above at no extra charge, while Starter plan apps can only try it with a demo organisation. Custom Connections apps cannot use the hosted server at all. Apps on the Plus, Advanced and Enterprise plans must be certified, and Advanced and Enterprise apps must also pass security assessments. Ask which app type and plan your team will register before scoping the work.

Organizations shared per user

During sign-in, each user chooses which Xero organisations to share with the client and approves the requested scopes. Access therefore follows that person's decision and the organisations they are allowed to see, not a company-wide grant. Review how many organisations a typical user can share, and whether finance staff with access to several entities should be limited to one connection at a time.

Where the agent client runs

The hosted server is reached by a client that can start an OAuth 2.0 PKCE flow, such as Claude Desktop, Cursor or a custom agent. The local server runs as a Node.js process on the machine or host you choose, which requires Node.js v18 or higher. The client location decides where prompts, tool outputs and any stored tokens sit, so check the device, host and network controls that apply to each option.

Log destination for prompts and tool calls

Xero logs every API call the agent makes under your app in the Developer Portal, but it does not log tool calls or prompts. A record of what the agent was asked to do must therefore come from your own client or agent platform. Decide where that record is stored, who can read it, and how long it is retained before you approve either deployment, since this is the gap auditors will ask about first.

Developer account and credential ownership

The person or team that creates the Commercial app, chooses PKCE or holds the local server's client ID and bearer token controls who can change redirect URLs, rotate secrets and see app activity. If that holder leaves, access can stall or persist. Name a named owner and a backup in the Xero Developer portal, record where any local credentials live, and include them in your offboarding checklist.

How the answer changes by identity provider, plan and team size

Organizations that want staff to sign in with a company identity provider need to separate two things: the sign-in to Xero and the sign-in to the MCP client. The sources reviewed describe the Remote MCP Server as using Xero's OAuth 2.0 flow with PKCE, where a user signs in to Xero, picks the organisations to share and approves the scopes the app requests. They do not describe SSO or admin approval settings for the MCP server, so an SSO requirement cannot be assumed to carry over.

  • Confirm the sign-in path: Ask Xero whether your identity provider can federate the Xero user login for the people who will approve the connection.
  • Confirm the approver: Each user who connects authorises access to the organisations they choose, so the person approving must hold the right Xero role.
  • Check the client: The MCP client must be able to start an OAuth 2.0 PKCE flow. Confirm this with the client vendor before rollout.
  • Plan for the local server: The local open-source server authenticates with custom connections or a bearer token, so identity controls there sit in how credentials are issued and stored.
  • Record the gap: If SSO or admin approval is a hard requirement, document it as unconfirmed and ask Xero in writing.

Before approving either server, confirm in writing with Xero and your client vendor exactly which sign-in and approval controls apply to your tenant.

Order of work before production use of the Xero MCP server

This sequence moves an organization from choosing a Xero MCP server option to a documented, reviewed setup that a security reviewer can approve. Each step produces a record that the next step depends on, so the review sees what was granted, to whom and how it was logged.

  1. Confirm the plan and app type

    The engineering lead checks the Xero developer account and the app that will be used. Remote MCP access is included for a Commercial App on the Core plan or above at no extra charge, while Starter plan apps can try it with a demo organisation. Custom Connections apps cannot use the hosted server. Apps on the Plus, Advanced and Enterprise plans must be certified, and Advanced and Enterprise apps must also pass initial and annual security assessments. Confirm these obligations with Xero before going further, and record the plan and app type in the review file.

  2. Choose hosted or local deployment

    The architect decides whether agents connect to Xero's hosted Developer Remote MCP Server at the documented URL or to the local open-source server from the XeroAPI repository. The hosted option authenticates through an OAuth 2.0 PKCE flow in the client. The local option needs Node.js v18 or higher and API credentials, and it can use a custom connection or a bearer token. Record which option is chosen, which clients will use it, and who owns the credentials. Treat community servers listed in marketplaces as separate projects that are outside this review.

  3. Register the app with PKCE or credentials

    An administrator creates the Commercial app in the Xero Developer portal for the hosted route and selects PKCE, then sets the redirect URL for the approved MCP client. For the local route, the team sets up credentials and confirms that only one authentication method is intended, since a bearer token takes precedence over a client ID if both are set. Store secrets in an approved vault, restrict who can view the app settings, and confirm the done state by listing the registered client, redirect URL and authentication method in the review file.

  4. Restrict organisations and scopes at consent

    The approver, who should be the Xero organisation owner or a delegated administrator, signs in as the user who will work with the agent. At consent, the user chooses which organisations to share and reviews each scope the app requests. Only organisations and scopes that the use case needs should be approved. Test with the narrowest set first. Capture a screenshot or export of the consent record and the granted scopes so the reviewer can match them against the write-tool analysis.

  5. Verify API calls in the Developer Portal

    After a test session, the reviewer opens the Developer Portal and confirms that each Xero API call the agent made appears under the app. This is the only platform-side record of agent activity described in the Remote MCP documentation. Compare the calls against the planned test prompts. If calls appear that were not expected, stop the rollout and investigate before any user is onboarded. The check is complete when the portal entries match the test session and the findings are noted.

  6. Stand up client-side logging of prompts and tool calls

    The platform team configures the MCP client or agent so that prompts and tool calls are recorded in a system the organization controls, because the Remote MCP FAQ states that tool calls and prompts are not logged by Xero. Confirm with the client vendor what is captured, where it is stored, who can read it, and how long it is kept. Run one test that asks the agent for a known read and a known write, then verify both entries exist in the organization's own log with timestamps and user identity. Also confirm whether the client offers SSO or admin approval settings, since the sources reviewed do not describe these for the Xero MCP server.

  7. Document the review and schedule retesting

    The security or compliance lead assembles one review record covering the plan and app type, the deployment choice, the registration method, the consent scopes, the Developer Portal evidence, the client log test and the list of approved users. Each item should name the owner and the date it was verified. Record any open questions for Xero or the client vendor, such as data handling or admin controls not covered by the sources. Schedule a repeat of the portal and log checks whenever the app, scopes, client or user list changes.

Evidence a security reviewer should request for the Xero MCP server

This table lists the evidence a reviewer should request for each control in a Xero MCP rollout, where that evidence comes from, and what it does not cover. Read it as a checklist to run before approval, since the hosted server logs Xero API calls but not the prompts or tool calls that produced them.

ControlEvidence to requestWhere it comes from
App plan and certification statusConfirmation that the Commercial app is on the Core plan or above, and certification records for Plus, Advanced or Enterprise appsXero Developer Portal app settings and plan details held by the app owner
Developer Portal API call logExport or screenshots showing every Xero API call the agent made under the app, with timestamps and the user contextXero Developer Portal, under the app. Confirm the retention window with Xero
OAuth consent recordWho signed in, which organisations were selected, and which scopes were approved, for each connected userThe user's Xero sign-in and consent flow, plus the app's registered scopes and PKCE setting
Client-side log of prompts and tool callsLog of prompts, tool names and arguments from the MCP client or custom agent, with retention and access controlsYour MCP client or agent platform. Xero does not record tool calls or prompts
List of shared organisationsCurrent list of Xero organisations each user shared with the app, with a named owner for each connectionXero sign-in consent screens and the app owner's connection inventory
Credential storage for the local serverDescription of where the bearer token or client credentials live, who can read them, and how they are rotatedThe host running the open-source server, its secrets manager or environment configuration, and the team's secret rotation records

Questions buyers and reviewers ask about Xero MCP access

Does the Xero MCP server support SSO, and on which plan?

The sources reviewed for this page do not describe SSO or admin approval settings for the Xero Remote MCP Server, so do not assume either exists. The hosted server authorises through Xero's OAuth 2.0 flow with PKCE, where a user signs in to Xero, picks the organisations to share and approves the scopes the app requests. Ask Xero, in writing, whether your sign-in can be routed through your identity provider, whether admins can approve or block the connection centrally, and which plan or edition those controls would sit under before you approve staff use.

What does Remote MCP access cost for a Commercial App?

Per Xero's Remote MCP documentation, Remote MCP access is included at no extra charge for a Commercial App on the Core plan or above. The cost you pay is therefore the Xero plan the app sits on, not a separate MCP fee, and that plan's price is set by Xero, so confirm current pricing with Xero before budgeting. Apps on the Plus, Advanced and Enterprise plans must also be certified, and Advanced and Enterprise apps must pass initial and annual security assessments whether or not they use Remote MCP. Those assessments are a recurring effort for the app owner, so ask Xero what the certification and assessment steps involve and what they cost.

Can a Starter plan app trial the Xero Remote MCP server?

Yes, according to the Remote MCP documentation, apps on the Starter plan can try Remote MCP with a demo organisation. That trial is for evaluation and does not replace the Commercial App on Core or above that production access requires. Use the demo organisation to test how the client starts the OAuth flow, which scopes it requests and what the tools return, then confirm with Xero which plan your live organisation's app needs before you move any real accounting data.

Is the local open-source Xero MCP server safer than the hosted one?

Neither option is safer by default, because they differ in where the server runs and how it authenticates. The hosted server at is run by Xero and uses the OAuth PKCE sign-in. The local XeroAPI/xero-mcp-server runs on your machine, requires Node.js v18 or higher and a Xero developer account with API credentials, and can use custom connections or a bearer token, where XERO_CLIENT_BEARER_TOKEN takes precedence over XERO_CLIENT_ID if both are set. The local option keeps the bridge under your control but places credential handling on each workstation, so review how each credential is stored and rotated. Community servers listed on marketplaces are not Xero's official server and should not be treated as equivalent.

How much effort is needed, and what can our team do itself?

Effort depends on whether you use the hosted server or the local one and on the app's plan. For the hosted server, your team can create a Commercial app in the Xero Developer portal, choose PKCE, set the redirect URL for the MCP client and add the server URL, then have users sign in and approve scopes. For the local server, your team must install Node.js v18 or higher, hold a developer account with API credentials and manage those credentials on each machine. Work that takes outside help includes scoping which tools the agent may use, writing the review of what it may change, and retesting after changes. Ask Xero for the certification and assessment steps for your plan, and agree any external work in a fixed written scope before it starts.

Does Xero log the prompts that the agent sends?

No, according to the Remote MCP FAQ, Xero does not log tool calls or prompts. Every Xero API call the agent makes is logged in the Developer Portal under your app, so you can see the API activity, but not what the user or agent asked for. If you need a record of intent, keep it in your own MCP client or agent, and confirm with your client vendor what that client retains and where. Also confirm with Xero how long the portal keeps API call logs and who on your team can read them, because the sources reviewed for this page do not state a retention period.

How do Custom Connections apps change which option we pick?

Custom Connections apps cannot use the Remote MCP Server, according to the Remote MCP FAQ. The client must be able to start an OAuth 2.0 PKCE flow, so an integration built on a custom connection cannot connect to the hosted server. If your team uses a custom connection, the realistic path is the local open-source server with a custom connection or bearer token, which means you own the credential handling. Confirm the app type with Xero before you design the rollout, because switching from a custom connection to a Commercial app changes the plan requirement and the sign-in model.

What to confirm with Xero before approval

The sources do not settle whether the Xero Remote MCP Server supports enterprise SSO or admin approval, so do not assume either. Ask Xero in writing whether the hosted server can be tied to your identity provider, whether a Xero organization administrator can approve or block MCP clients, and whether any tenant-level policy can restrict which apps or tools an agent may use. The Remote MCP documentation describes the user flow as signing in to Xero, choosing the organizations to share and approving the requested scopes, which places the main approval decision with each user. Ask whether that consent step can be enforced centrally, and what happens to an existing grant when a user leaves your company.

The second open item is retention of Developer Portal API logs. The Remote MCP FAQ says every Xero API call the agent makes is logged under your app, but it does not state how long those logs are kept, who can export them, or whether they are available to your security team outside the Developer Portal. Tool calls and prompts are not logged by Xero at all, so your own client or agent must keep that record. Request the retention period, export options and the access model for these logs in writing, and confirm whether the agent's own transcripts are retained under your control.

Keep a decision record that captures the answers, the date, the named Xero contact and the plan and app type you are relying on, since Remote MCP access depends on a Commercial app on the Core plan or above. Note the Starter plan demo organisation limit and that Custom Connections apps are excluded. Re-check these answers at each renewal or Xero plan change, because the sources reviewed here describe no SSO or admin settings and any future feature would change the approval basis. An approval based on undocumented behavior should be marked as conditional and reviewed before the agent gets production data.

How DeployOpen works on this

DeployOpen helps organizations decide how the Xero MCP server should be connected to their accounting data, then builds and tests that setup inside their own environment. We cover the choice between Xero's hosted server and the local open-source server, the sign-in path, and the audit trail, so your security and finance reviewers can approve or restrict access on evidence.

How we scope

  • We agree in writing which Xero MCP server option is in scope, hosted remote or local open-source, before any work starts
  • We confirm the Xero plan and app type your organization holds, including whether a Commercial app is in place
  • We map which OAuth scopes, write tools and organizations the agent will need, and which it should never receive

How we build

  • We configure the chosen server in your environment with a PKCE-based sign-in path or a local bearer token setup
  • We test tool permissions, write actions and credential handling against the agreed scope, including prompt injection attempts
  • We check that Xero API call records and your own client-side prompt and tool call logs capture what your reviewers need

How we hand over

  • You receive a written findings report with fixes, retest results and the configuration decisions behind each one
  • You receive documentation of the approved client, scopes, organization access and logging design for your security review
  • We walk your IT and security teams through the evidence so they can repeat the review after changes

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer when Xero or your agent client changes
  • We can retest after new scopes, tools or clients are approved, so the approval record stays current
  • Questions about Xero plan requirements, app certification or assessments are confirmed with Xero, and we document the answers

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.