# How to integrate Xero MCP with CrewAI

```json
{
  "title": "How to integrate Xero MCP with CrewAI",
  "toolkit": "Xero",
  "toolkit_slug": "xero",
  "framework": "CrewAI",
  "framework_slug": "crew-ai",
  "url": "https://composio.dev/toolkits/xero/framework/crew-ai",
  "markdown_url": "https://composio.dev/toolkits/xero/framework/crew-ai.md",
  "updated_at": "2026-10-12T13:44:54.199Z"
}
```

## Introduction

This guide walks you through connecting Xero to CrewAI using the Composio tool router. By the end, you'll have a working Xero agent that can list all active xero tenant connections, show latest contacts added this week, retrieve all open quotes for this month through natural language commands.
This guide will help you understand how to give your CrewAI agent real control over a Xero account through Composio's Xero MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.

## Also integrate Xero with

- [Claude Code](https://composio.dev/toolkits/xero/framework/claude-code)
- [Cursor](https://composio.dev/toolkits/xero/framework/cursor)
- [ChatGPT](https://composio.dev/toolkits/xero/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/xero/framework/claude-cowork)
- [Antigravity](https://composio.dev/toolkits/xero/framework/antigravity)
- [OpenAI Agents SDK](https://composio.dev/toolkits/xero/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/xero/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/xero/framework/codex)
- [Kimi Code](https://composio.dev/toolkits/xero/framework/kimi)
- [Grok Build](https://composio.dev/toolkits/xero/framework/grok-build)
- [VS Code](https://composio.dev/toolkits/xero/framework/vscode)
- [OpenCode](https://composio.dev/toolkits/xero/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/xero/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/xero/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/xero/framework/atomic-agent)
- [CLI](https://composio.dev/toolkits/xero/framework/cli)
- [Google ADK](https://composio.dev/toolkits/xero/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/xero/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/xero/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/xero/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/xero/framework/llama-index)
- [Pydantic AI](https://composio.dev/toolkits/xero/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/xero/framework/autogen)

## TL;DR

Here's what you'll learn:
- Get a Composio API key and configure your Xero connection
- Set up CrewAI with an MCP enabled agent
- Create a Tool Router session or standalone MCP server for Xero
- Build a conversational loop where your agent can execute Xero operations

## What is CrewAI?

CrewAI is a powerful framework for building multi-agent AI systems. It provides primitives for defining agents with specific roles, creating tasks, and orchestrating workflows through crews.
Key features include:
- Agent Roles: Define specialized agents with specific goals and backstories
- Task Management: Create tasks with clear descriptions and expected outputs
- Crew Orchestration: Combine agents and tasks into collaborative workflows
- MCP Integration: Connect to external tools through Model Context Protocol

## What is the Xero MCP server, and what's possible with it?

The Xero MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Xero account. It provides structured and secure access to your accounting data, so your agent can retrieve contacts, manage connections, update invoices, and retrieve quotes automatically on your behalf.
- Connection management: Instantly list all active Xero tenant connections linked to your account, making it easy for your agent to select and operate on the right organization.
- Contact retrieval and lookup: Fetch detailed, up-to-date lists of business contacts including filtering, paging, and incremental updates to keep your records synchronized and actionable.
- Quote management and tracking: Retrieve, filter, or search through your sales quotes so your agent can help you stay on top of prospective business and follow up faster.
- Invoice updating and automation: Modify details of existing invoices—such as amounts, due dates, and line items—allowing your agent to keep your invoicing accurate and up to date without manual edits.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `XERO_CREATE_BANK_TRANSACTION` | Create Bank Transaction | Create a bank transaction in Xero. Use SPEND for payments out or RECEIVE for money received. |
| `XERO_CREATE_CONTACT` | Create Contact | Create a new contact in Xero. Contacts can be customers, suppliers, or both. |
| `XERO_CREATE_CREDIT_NOTE` | Create Credit Note | Create a new credit note in Xero. Credit notes are used to reduce amounts owed by customers (ACCRECCREDIT) or to suppliers (ACCPAYCREDIT). |
| `XERO_CREATE_INVOICE` | Create Invoice | Create a new invoice in Xero. Supports both sales invoices (ACCREC) and bills (ACCPAY). |
| `XERO_CREATE_ITEM` | Create Item | Create an inventory item in Xero. Items can be tracked for sales and/or purchases. |
| `XERO_CREATE_MANUAL_JOURNAL` | Create Manual Journal | Create one or more manual journals (journal entries) in Xero with journal lines. Manual journals must balance (debits equal credits). |
| `XERO_CREATE_PAYMENT` | Create Payment | Create a payment in Xero to link an invoice with a bank account transaction. |
| `XERO_CREATE_PURCHASE_ORDER` | Create Purchase Order | Create a purchase order in Xero to order goods/services from suppliers. |
| `XERO_CREATE_QUOTE` | Create Quote | Create a new sales quote in Xero for a customer or prospect. Quotes can be sent to contacts for approval and later converted to invoices. Use this action when you need to create a formal price proposal or quotation for goods or services before issuing an invoice. |
| `XERO_GET_ACCOUNT` | Get Account | Retrieve a specific account from Xero's chart of accounts by its unique ID. Returns detailed account information including code, name, type (BANK, REVENUE, EXPENSE, etc.), status (ACTIVE/ARCHIVED), tax settings, bank details (for BANK accounts), and classification. Use XERO_LIST_ACCOUNTS to get account IDs if you don't already have one. |
| `XERO_GET_ASSET` | Get Asset | Retrieve a specific asset by ID from Xero. Returns depreciation details and book value. |
| `XERO_GET_BALANCE_SHEET_REPORT` | Get Balance Sheet Report | Retrieve Balance Sheet report from Xero. Shows assets, liabilities, and equity at a specific date. Liability and credit balances appear as negative numbers in the response. Response structure is Reports → Rows → Sections; account lines are nested inside group sections and summary totals (e.g., 'Total Current Assets') appear in SummaryRows. |
| `XERO_GET_BANK_TRANSACTION` | Get Bank Transaction | Retrieve a specific spent or received money transaction from Xero by its unique bank transaction ID. Returns full transaction details including line items, contact, bank account, amounts, and reconciliation status. Use this action when you need to fetch the details of a specific bank transaction that was previously created. |
| `XERO_GET_BUDGET` | Get Budget | Retrieve a budget from Xero. Budgets track planned vs actual spending by account. |
| `XERO_GET_CONNECTIONS` | Get Connections | Tool to list active Xero connections. Use to retrieve all current tenant connections for the authenticated user and resolve the correct tenant_id before making data requests. When multiple tenants are returned, never assume the first connection is correct — always explicitly pass the intended tenant_id to every subsequent call. Using a wrong or stale tenant_id can silently return or modify data for a different organisation. |
| `XERO_GET_CONTACTS` | Get Contacts | Tool to retrieve a list of contacts. Use when you need up-to-date contact information with filtering, paging, or incremental updates. |
| `XERO_GET_CREDIT_NOTE` | Get Credit Note | Retrieve a specific credit note by ID from Xero. Returns full credit note details including line items, allocations, and status. Use this action when you need to fetch detailed information about a single credit note by its UUID identifier. |
| `XERO_GET_INVOICE` | Get Invoice | Retrieve a specific invoice by ID from Xero. Returns full invoice details including line items and status. |
| `XERO_GET_ITEM` | Get Item | Retrieve a specific item by ID from Xero. Returns item code, name, pricing, and tax details. |
| `XERO_GET_MANUAL_JOURNAL` | Get Manual Journal | Retrieve a specific manual journal by ID from Xero. Returns full details including journal lines. |
| `XERO_GET_ORGANISATION` | Get Organisation | Retrieve organisation details from Xero. Returns company info, base currency, timezone, financial year settings, SalesTaxBasis, SalesTaxPeriod, etc. Response fields are nested under data.data.Organisations[0]. Use Timezone when computing date ranges to avoid boundary errors. |
| `XERO_GET_PAYMENT` | Get Payment | Retrieve a specific payment by ID from Xero. Returns full payment details including associated invoice, account, and reconciliation status. Use this action when you need to inspect a particular payment record to verify its status, amount, or linked transactions. |
| `XERO_GET_PROFIT_LOSS_REPORT` | Get Profit & Loss Report | Retrieve Profit & Loss report from Xero. Shows income, expenses, and net profit for a specified period. Response rows are labeled (e.g., 'Net Profit', SummaryRow); parse by row label, not array index. Aggregates multiple tax codes — not suitable for tax compliance reporting. |
| `XERO_GET_PROJECT` | Get Project | Retrieve a specific project by ID from Xero. Returns project details, deadlines, and status. |
| `XERO_GET_PURCHASE_ORDER` | Get Purchase Order | Retrieve a specific purchase order by ID from Xero. Returns full details including line items and status. |
| `XERO_GET_QUOTES` | Get Quotes | Tool to retrieve a list of quotes. Use when you need to list, filter, or page through sales quotes. Use after obtaining the tenant ID via connections. |
| `XERO_GET_TRIAL_BALANCE_REPORT` | Get Trial Balance Report | Retrieve Trial Balance report from Xero. Shows all account balances (debits and credits) at a specific date. Use to verify that total debits equal total credits and to prepare financial statements. Credit balances appear as negative numbers in the response. |
| `XERO_LIST_ACCOUNTS` | List Accounts | Retrieve chart of accounts from Xero. Returns all accounting codes used for categorizing transactions. Use AccountID (not name or code) as the unique identifier for accounts. Results may be paginated; increment the page parameter until empty results are returned to avoid missing accounts in large organisations. |
| `XERO_LIST_ASSETS` | List Assets | Retrieve fixed assets from Xero. Assets track depreciation and book value of capital equipment. |
| `XERO_LIST_ATTACHMENTS` | List Attachments | List all attachments for a specific entity in Xero (invoice, contact, etc.). |
| `XERO_LIST_BANK_TRANSACTIONS` | List Bank Transactions | Retrieve bank transactions from Xero. Includes SPEND, RECEIVE, and transfer types; unfiltered results include DELETED transactions that skew totals. Dates returned in /Date(milliseconds_since_epoch)/ format. Rate limit: ~60 requests/minute per org; heavy pagination may trigger 429 errors. |
| `XERO_LIST_CREDIT_NOTES` | List Credit Notes | Retrieve list of credit notes from Xero. Credit notes are issued to reduce amounts owed by customers. |
| `XERO_LIST_FILES` | List Files | Retrieve files from Xero Files. Lists documents stored in Xero's file management system. |
| `XERO_LIST_FOLDERS` | List Folders | Retrieve folders from Xero Files. Lists document folders in Xero's file management system. |
| `XERO_LIST_INVOICES` | List Invoices | Retrieve a list of invoices from Xero. Results include both sales invoices (Type=ACCREC) and bills (Type=ACCPAY) by default; filter by Type in the `where` clause when only one is needed. Supports filtering by status, contact, date range, and pagination. |
| `XERO_LIST_ITEMS` | List Items | Retrieve items (inventory/products) from Xero. Items can be tracked for sales and/or purchases. |
| `XERO_LIST_JOURNALS` | List Journals | Retrieve journals from Xero. Journals show the accounting entries for all transactions. Omitting filters returns the full historical journal ledger and can produce very large responses — use If-Modified-Since and/or paymentsOnly to narrow scope. No date range filter parameter exists. Results are returned inside a Journals array field. |
| `XERO_LIST_MANUAL_JOURNALS` | List Manual Journals | Retrieve manual journals from Xero. Manual journals are used for period-end adjustments and corrections. |
| `XERO_LIST_PAYMENTS` | List Payments | Retrieve list of payments from Xero. Payments link invoices to bank transactions; invoices may have multiple partial/split payment records. Response Date fields use Xero's /Date(milliseconds)/ format requiring custom parsing. |
| `XERO_LIST_PROJECTS` | List Projects | Retrieve projects from Xero. Projects track time and costs for client work. |
| `XERO_LIST_PURCHASE_ORDERS` | List Purchase Orders | Retrieve list of purchase orders from Xero. Purchase orders track goods/services ordered from suppliers. |
| `XERO_LIST_QUOTES` | List Quotes | Retrieve a list of sales quotes from Xero with optional filtering and pagination. Supports filtering by date ranges, contact, status, and quote number. Returns up to 100 quotes per page with full line item details. Use this action when you need to query, list, or search for quotes in a Xero organization. |
| `XERO_LIST_TAX_RATES` | List Tax Rates | Retrieve tax rates from Xero. Shows available tax codes and rates for the organization. Use returned tax codes as valid `TaxType` values in other tools — invalid values cause ValidationException errors. |
| `XERO_LIST_TRACKING_CATEGORIES` | List Tracking Categories | Retrieve tracking categories from Xero. Tracking categories are used to segment data for reporting (e.g., departments, regions). |
| `XERO_POST_INVOICE_UPDATE` | Update Invoice | Tool to update an existing invoice. Use when you need to modify the details of an invoice after it's been created. |
| `XERO_UPDATE_BANK_TRANSACTION` | Update Bank Transaction | Update an existing bank transaction in Xero. Use this action when you need to modify details of a previously created bank transaction such as line items, reference, date, or status. Note: Reconciled transactions cannot be updated and will return a validation error. |
| `XERO_UPDATE_CONTACT` | Update Contact | Update an existing contact in Xero. Only provided fields will be updated. |
| `XERO_UPDATE_CREDIT_NOTE` | Update Credit Note | Updates a specific credit note in Xero by its unique identifier. This action allows you to modify credit note details such as status, line items, reference numbers, and other fields after the credit note has been created. Use this action when you need to change the status of a credit note (e.g., from DRAFT to AUTHORISED), update line items, modify reference information, or make other changes to an existing credit note. The credit note must already exist in Xero - use the credit_note_id to specify which credit note to update. Not all fields can be updated depending on the current status of the credit note. |
| `XERO_UPDATE_MANUAL_JOURNAL` | Update Manual Journal | Update an existing manual journal (journal entry) in Xero by its ID. Use this action when you need to modify the narration, date, journal lines, status, or other properties of an existing manual journal. Manual journals must balance (debits equal credits) or the update will fail. Only DRAFT manual journals can have their journal lines updated; POSTED journals can have limited fields updated. |
| `XERO_UPDATE_PURCHASE_ORDER` | Update Purchase Order | Updates a specific purchase order in Xero by its unique identifier. Use this action when you need to modify an existing purchase order's details such as line items, delivery information, status, or other fields. Only the fields provided in the request will be updated; fields not included will remain unchanged. |
| `XERO_UPDATE_QUOTE` | Update Quote | Updates a specific quote in Xero by its QuoteID. Use this action when you need to modify an existing sales quote, such as changing its status, updating line items, contact details, dates, or other quote properties. Only the fields provided in the request will be updated - unprovided fields will remain unchanged. |
| `XERO_UPLOAD_ATTACHMENT` | Upload Attachment | Upload a file attachment to a Xero entity (invoice, contact, etc.). Supports PDF, images, and documents. |
| `XERO_VALIDATE_CREDENTIAL` | Validate Credential | Validate Xero API credentials by testing access to connected organisations. Returns success status and a message indicating whether authentication is working. Use this action when you need to verify that Xero API credentials are valid and properly configured before attempting other operations. This is particularly useful for troubleshooting authentication issues or confirming a new connection is operational. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

The Xero MCP server is an implementation of the Model Context Protocol that connects your AI agent to Xero. It provides structured and secure access so your agent can perform Xero operations on your behalf through a secure, permission-based interface.
With Composio's managed implementation, you don't have to create your own developer app. For production, if you're building an end product, we recommend using your own credentials. The managed server helps you prototype fast and go from 0-1 faster.

## Step-by-step Guide

### 1. Prerequisites

Before starting, make sure you have:
- Python 3.9 or higher
- A Composio account and API key
- A Xero connection authorized in Composio
- An OpenAI API key for the CrewAI LLM
- Basic familiarity with Python

### 1. Getting API Keys for OpenAI and Composio

OpenAI API Key
- Go to the [OpenAI dashboard](https://platform.openai.com/settings/organization/api-keys) and create an API key. You'll need credits to use the models, or you can connect to another model provider.
- Keep the API key safe.
Composio API Key
- Log in to the [Composio dashboard](https://dashboard.composio.dev?utm_source=toolkits&utm_medium=framework_docs).
- Navigate to your API settings and generate a new API key.
- Store this key securely as you'll need it for authentication.

### 2. Install dependencies

**What's happening:**
- composio connects your agent to Xero via MCP
- crewai provides Agent, Task, Crew, and LLM primitives
- crewai-tools[mcp] includes MCP helpers
- python-dotenv loads environment variables from .env
```bash
pip install composio crewai crewai-tools[mcp] python-dotenv
```

### 3. Set up environment variables

Create a .env file in your project root.
What's happening:
- COMPOSIO_API_KEY authenticates with Composio
- USER_ID scopes the session to your account
- OPENAI_API_KEY lets CrewAI use your chosen OpenAI model
```bash
COMPOSIO_API_KEY=your_composio_api_key_here
USER_ID=your_user_id_here
OPENAI_API_KEY=your_openai_api_key_here
```

### 4. Import dependencies

**What's happening:**
- CrewAI classes define agents and tasks, and run the workflow
- MCPServerHTTP connects the agent to an MCP endpoint
- Composio will give you a short lived Xero MCP URL
```python
import os
from composio import Composio
from crewai import Agent, Task, Crew
from crewai_tools import MCPServerAdapter
import dotenv

dotenv.load_dotenv()

COMPOSIO_API_KEY = os.getenv("COMPOSIO_API_KEY")
COMPOSIO_USER_ID = os.getenv("COMPOSIO_USER_ID")

if not COMPOSIO_API_KEY:
    raise ValueError("COMPOSIO_API_KEY is not set")
if not COMPOSIO_USER_ID:
    raise ValueError("COMPOSIO_USER_ID is not set")
```

### 5. Create a Composio Tool Router session for Xero

**What's happening:**
- You create a Xero only session through Composio
- Composio returns an MCP HTTP URL that exposes Xero tools
```python
composio_client = Composio(api_key=COMPOSIO_API_KEY)
session = composio_client.create(user_id=COMPOSIO_USER_ID, toolkits=["xero"])

url = session.mcp.url
```

### 6. Initialize the MCP Server

**What's Happening:**
- Server Configuration: The code sets up connection parameters including the MCP server URL, streamable HTTP transport, and Composio API key authentication.
- MCP Adapter Bridge: MCPServerAdapter acts as a context manager that converts Composio MCP tools into a CrewAI-compatible format.
- Agent Setup: Creates a CrewAI Agent with a defined role (Search Assistant), goal (help with internet searches), and access to the MCP tools.
- Configuration Options: The agent includes settings like verbose=False for clean output and max_iter=10 to prevent infinite loops.
- Dynamic Tool Usage: Once created, the agent automatically accesses all Composio Search tools and decides when to use them based on user queries.
```python
server_params = {
    "url": url,
    "transport": "streamable-http",
    "headers": {"x-api-key": COMPOSIO_API_KEY},
}

with MCPServerAdapter(server_params) as tools:
    agent = Agent(
        role="Search Assistant",
        goal="Help users search the internet effectively",
        backstory="You are a helpful assistant with access to search tools.",
        tools=tools,
        verbose=False,
        max_iter=10,
    )
```

### 7. Create a CLI Chatloop and define the Crew

**What's Happening:**
- Interactive CLI Setup: The code creates an infinite loop that continuously prompts for user input and maintains the entire conversation history in a string variable.
- Input Validation: Empty inputs are ignored to prevent processing blank messages and keep the conversation clean.
- Context Building: Each user message is appended to the conversation context, which preserves the full dialogue history for better agent responses.
- Dynamic Task Creation: For every user input, a new Task is created that includes both the full conversation history and the current request as context.
- Crew Execution: A Crew is instantiated with the agent and task, then kicked off to process the request and generate a response.
- Response Management: The agent's response is converted to a string, added to the conversation context, and displayed to the user, maintaining conversational continuity.
```python
print("Chat started! Type 'exit' or 'quit' to end.\n")

conversation_context = ""

while True:
    user_input = input("You: ").strip()

    if user_input.lower() in ["exit", "quit", "bye"]:
        print("\nGoodbye!")
        break

    if not user_input:
        continue

    conversation_context += f"\nUser: {user_input}\n"
    print("\nAgent is thinking...\n")

    task = Task(
        description=(
            f"Conversation history:\n{conversation_context}\n\n"
            f"Current request: {user_input}"
        ),
        expected_output="A helpful response addressing the user's request",
        agent=agent,
    )

    crew = Crew(agents=[agent], tasks=[task], verbose=False)
    result = crew.kickoff()
    response = str(result)

    conversation_context += f"Agent: {response}\n"
    print(f"Agent: {response}\n")
```

## Complete Code

```python
from crewai import Agent, Task, Crew, LLM
from crewai_tools import MCPServerAdapter
from composio import Composio
from dotenv import load_dotenv
import os

load_dotenv()

GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
COMPOSIO_API_KEY = os.getenv("COMPOSIO_API_KEY")
COMPOSIO_USER_ID = os.getenv("COMPOSIO_USER_ID")

if not GOOGLE_API_KEY:
    raise ValueError("GOOGLE_API_KEY is not set in the environment.")
if not COMPOSIO_API_KEY:
    raise ValueError("COMPOSIO_API_KEY is not set in the environment.")
if not COMPOSIO_USER_ID:
    raise ValueError("COMPOSIO_USER_ID is not set in the environment.")

# Initialize Composio and create a session
composio = Composio(api_key=COMPOSIO_API_KEY)
session = composio.create(
    user_id=COMPOSIO_USER_ID,
    toolkits=["xero"],
)
url = session.mcp.url

# Configure LLM
llm = LLM(
    model="gpt-5",
    api_key=os.getenv("OPENAI_API_KEY"),
)

server_params = {
    "url": url,
    "transport": "streamable-http",
    "headers": {"x-api-key": COMPOSIO_API_KEY},
}

with MCPServerAdapter(server_params) as tools:
    agent = Agent(
        role="Search Assistant",
        goal="Help users with internet searches",
        backstory="You are an expert assistant with access to Composio Search tools.",
        tools=tools,
        llm=llm,
        verbose=False,
        max_iter=10,
    )

    print("Chat started! Type 'exit' or 'quit' to end.\n")

    conversation_context = ""

    while True:
        user_input = input("You: ").strip()

        if user_input.lower() in ["exit", "quit", "bye"]:
            print("\nGoodbye!")
            break

        if not user_input:
            continue

        conversation_context += f"\nUser: {user_input}\n"
        print("\nAgent is thinking...\n")

        task = Task(
            description=(
                f"Conversation history:\n{conversation_context}\n\n"
                f"Current request: {user_input}"
            ),
            expected_output="A helpful response addressing the user's request",
            agent=agent,
        )

        crew = Crew(agents=[agent], tasks=[task], verbose=False)
        result = crew.kickoff()
        response = str(result)

        conversation_context += f"Agent: {response}\n"
        print(f"Agent: {response}\n")
```

## Conclusion

You now have a CrewAI agent connected to Xero through Composio's Tool Router. The agent can perform Xero operations through natural language commands.
Next steps:
- Add role-specific instructions to customize agent behavior
- Plug in more toolkits for multi-app workflows
- Chain tasks for complex multi-step operations

## How to build Xero MCP Agent with another framework

- [Claude Code](https://composio.dev/toolkits/xero/framework/claude-code)
- [Cursor](https://composio.dev/toolkits/xero/framework/cursor)
- [ChatGPT](https://composio.dev/toolkits/xero/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/xero/framework/claude-cowork)
- [Antigravity](https://composio.dev/toolkits/xero/framework/antigravity)
- [OpenAI Agents SDK](https://composio.dev/toolkits/xero/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/xero/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/xero/framework/codex)
- [Kimi Code](https://composio.dev/toolkits/xero/framework/kimi)
- [Grok Build](https://composio.dev/toolkits/xero/framework/grok-build)
- [VS Code](https://composio.dev/toolkits/xero/framework/vscode)
- [OpenCode](https://composio.dev/toolkits/xero/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/xero/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/xero/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/xero/framework/atomic-agent)
- [CLI](https://composio.dev/toolkits/xero/framework/cli)
- [Google ADK](https://composio.dev/toolkits/xero/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/xero/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/xero/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/xero/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/xero/framework/llama-index)
- [Pydantic AI](https://composio.dev/toolkits/xero/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/xero/framework/autogen)

## Related Toolkits

- [Stripe](https://composio.dev/toolkits/stripe) - Stripe is a global online payments platform offering APIs for managing payments, customers, and subscriptions. Trusted by businesses for secure, efficient, and scalable payment processing worldwide.
- [44API](https://composio.dev/toolkits/44api) - 44API is an API service for validating VAT and tax identifiers and returning company details. Use it to verify business tax data and manage account IP whitelists quickly.
- [Airwallex](https://composio.dev/toolkits/airwallex) - Airwallex is a global financial platform providing business accounts, payments, payouts, FX, and cards. Built to simplify cross-border payments and streamline financial operations for businesses.
- [Aiwyn Tax MCP](https://composio.dev/toolkits/aiwyn_tax_mcp) - Aiwyn Tax MCP is a tax estimation service powered by Aiwyn's federal and state tax engine. It helps teams estimate tax outcomes without building tax calculation logic from scratch.
- [Alpaca](https://composio.dev/toolkits/alpaca) - Alpaca is a stock and crypto trading platform for commission-free trading, real-time market data, and algorithmic strategies. Use it to build brokerage apps, trading bots, and portfolio workflows with market connectivity.
- [Alpha vantage](https://composio.dev/toolkits/alpha_vantage) - Alpha Vantage is a financial data platform offering real-time and historical stock market APIs. Get instant, reliable access to equities, forex, and technical analysis data for smarter trading decisions.
- [Altoviz](https://composio.dev/toolkits/altoviz) - Altoviz is a cloud-based billing and invoicing platform for businesses. It streamlines online payments, expense tracking, and customizable invoice management.
- [Benzinga](https://composio.dev/toolkits/benzinga) - Benzinga provides real-time financial news and data APIs for market coverage. It helps you track breaking news and actionable market insights instantly.
- [Bigdata.com MCP](https://composio.dev/toolkits/bigdata_com_mcp) - Bigdata.com MCP provides grounded access to financial news, transcripts, filings, and entity intelligence. Ideal for building research workflows and generating timely market insights.
- [Billsby](https://composio.dev/toolkits/billsby) - Billsby is a subscription billing platform for managing customers, subscriptions, invoices, products, plans, usage counters, add-ons, and allowances. It helps SaaS and subscription teams automate billing operations without building complex billing logic from scratch.
- [Brex](https://composio.dev/toolkits/brex) - Brex provides corporate credit cards and spend management tailored for startups and tech businesses. It helps optimize company cash flow, streamline accounting, and accelerate business growth.
- [Cashfree](https://composio.dev/toolkits/cashfree_payments_mcp) - Cashfree is a merchant payments platform that handles collection, payouts, subscriptions, settlements, refunds, and identity verification. Simplifies merchant money lifecycle management with unified, API-driven workflows.
- [Chaser](https://composio.dev/toolkits/chaser) - Chaser is accounts receivable automation software that sends invoice reminders and helps businesses get paid faster. It streamlines the collections process to save time and improve cash flow.
- [Clarity AI MCP](https://composio.dev/toolkits/clarity_ai_mcp) - Clarity AI MCP is an MCP toolkit for simulating SFDR 2.0 fund classifications from a fund name, ISIN, or CUSIP. Use it to tap Clarity AI disclosure data and modeling without building custom sustainability-data workflows.
- [Clientary](https://composio.dev/toolkits/clientary) - Clientary is a platform for managing clients, invoices, projects, proposals, and more. It streamlines client work and saves you serious admin time.
- [Coinbase](https://composio.dev/toolkits/coinbase) - Coinbase is a platform for buying, selling, and storing cryptocurrency. It makes exchanging and managing crypto simple and secure for everyone.
- [Coinbase Agents MCP](https://composio.dev/toolkits/coinbase_agents_mcp) - Coinbase Agents MCP is Coinbase's managed toolkit exposing accounts, portfolios, orders, fills, and market data. Use it to let authorized agents inspect holdings, execute trades, perform transfers, and handle payments.
- [Coinbase Wallet MCP](https://composio.dev/toolkits/coinbase_wallet_mcp) - Coinbase Wallet MCP is Coinbase's wallet service for interacting with onchain accounts. Use it to give agents secure, structured access to inspect wallets and request onchain actions.
- [Coinranking](https://composio.dev/toolkits/coinranking) - Coinranking is a comprehensive cryptocurrency market data platform offering access to real-time coin prices, market caps, and historical data. Get accurate, up-to-date stats for thousands of digital assets in one place.
- [Coupa](https://composio.dev/toolkits/coupa) - Coupa is a business spend management platform for procurement, invoicing, and expenses. It helps organizations streamline purchasing, control costs, and gain complete visibility over financial operations.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Xero MCP?

With a standalone Xero MCP server, the agents and LLMs can only access a fixed set of Xero tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Xero and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with CrewAI?

Yes, you can. CrewAI fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Xero tools.

### Can I manage the permissions and scopes for Xero while using Tool Router?

Yes, absolutely. You can configure which Xero scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Xero data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
