How to integrate Zoho books MCP with OpenCode

How to integrate Zoho books MCP with OpenCode This guide explains how to connect Zoho books MCP to OpenCode using Composio Connect, which simplifies OAuth, API changes, and reliability concerns. There are two ways to set this up: Via Composio Connect MCP Via the Composio CLI

Zoho books logoZoho books
Oauth2

Zoho Books is a cloud-based accounting platform for invoicing, expenses, and finance management. It streamlines collaboration and automates business finances in real-time.

265 Tools

How to integrate Zoho books MCP with OpenCode

This guide explains how to connect Zoho books MCP to OpenCode using Composio Connect, which simplifies OAuth, API changes, and reliability concerns.

There are two ways to set this up:

Also integrate Zoho books with

Why use Composio?

Composio provides a single MCP server or CLI tool that exposes a set of meta-tools, allowing you to:

  • Connect to 1,000+ apps with on-demand tool loading, so you do not fill your LLM context window with unnecessary tool definitions.
  • Use programmatic tool calling through a remote Bash tool, letting LLMs write their own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
  • Handle large tool responses outside the LLM context to keep conversations lean.

Connect Zoho books with OpenCode

Option 1: Using Composio CLI

1. Install Composio CLI

Install the Composio CLI, authenticate, and initialize your project:

bash
# Install the Composio CLI
curl -fsSL https://composio.dev/install | bash

# Authenticate with Composio
composio login

During login, you will be redirected to the sign-in page. Finish the flow and you are all set.

Composio CLI authorization screen

2. Authorize Zoho books

Once the CLI is installed, it is essentially done. Give OpenCode access to your apps with these steps:

  1. Launch OpenCode.
  2. Prompt it to "Authenticate with Zoho books Composio".
  3. Complete the authentication and authorization flow, and your Zoho books integration is all set.
  4. Start asking anything you want.

Option 2: Using Composio MCP

You can also connect Zoho books to OpenCode by adding Composio as an MCP server through the OpenCode CLI.

1. Add the Composio MCP server

bash
opencode mcp add

This launches an interactive prompt.

2. Fill in the fields

FieldValue
Namecomposio
Typeremote
URLhttps://connect.composio.dev/mcp
Require OAuthYes
Have client IDNo
OpenCode MCP server interactive prompt for Composio

Alternatively, you can skip the interactive prompt and paste the configuration directly into your OpenCode config file.

Open your global OpenCode config:

bash
open ~/.config/opencode/opencode.json

Add this under the mcp key and save the file.

bash
{
  "mcp": {
    "composio": {
      "type": "remote",
      "url": "https://connect.composio.dev/mcp",
      "enabled": true
    }
  }
}

3. Authenticate

Authenticate the Composio MCP server you just added:

bash
opencode mcp auth composio

This opens a browser session. Authorize Composio and you are done.

Composio browser authorization for OpenCode MCP

4. Verify installation

bash
opencode mcp list

5. Connect Zoho books with OpenCode

Now, in the chat, ask the agent to connect to Zoho books or give it any Zoho books-related task.

For example, ask it to:

  • "List unpaid invoices for this month"
  • "Create a new expense entry today"
  • "Send payment reminder to a client"

It will prompt you to authenticate and authorize access to Zoho books.

That is it. Composio tools are now available in OpenCode, and your Zoho books account is ready to use.

Way Forward

Now that Zoho books is connected, extend your setup by connecting the other apps you already use every day, so your agent can run true cross-app workflows end to end.

  • Connect Calendar to turn threads into scheduled meetings automatically.
  • Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
  • Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
  • Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.

Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single MCP endpoint, your agent can coordinate multiple tools safely and reliably in one conversation.

TOOLS

Supported Tools

Every Zoho books action and event your agent gets out of the box.

Accept Estimate

Tool to mark an estimate as accepted.

Activate Bank Account

Tool to activate a bank account.

Add Bill Attachment

Tool to add an attachment to an existing bill in Zoho Books.

Add Bill Comment

Tool to add a comment to a bill in Zoho Books.

Add Contact Address

Tool to add an additional address to a contact in Zoho Books.

Add Invoice Comment

Tool to add a comment to an invoice.

Add Project Comment

Tool to add a comment to a project.

Add Purchase Order Comment

Tool to add a comment to a purchase order in Zoho Books.

Add Sales Order Comment

Tool to add a comment to a sales order in Zoho Books.

Add Vendor Credit Comment

Tool to add a comment to a vendor credit.

Apply Credit Note to Invoice

Tool to apply a credit note to one or more invoices in Zoho Books.

Apply Credits to Bill

Tool to apply vendor credits to a bill in Zoho Books.

Apply Credits to Invoice

Tool to apply credit notes to an invoice in Zoho Books.

Bulk Export Invoices PDF

Tool to export multiple invoices to a single PDF.

Bulk Print Invoices

Tool to bulk print up to 25 invoices as a single PDF.

Categorize As Customer Payment Refund

Tool to categorize an uncategorized bank transaction as a customer payment refund.

Categorize Uncategorized Transaction

Tool to categorize an uncategorized bank transaction.

Clone Project

Tool to clone an existing project.

Convert Purchase Order To Bill

Tool to retrieve bill data from purchase orders for conversion.

Create Bank Account

Tool to create a bank or credit card account.

Create Bank Transaction

Tool to create a manual bank transaction.

Create Chart Of Account

Tool to create a new chart of account in Zoho Books.

Create Contact

Tool to create a new contact in Zoho Books.

Create Contact Person

Tool to create a new contact person for an existing contact in Zoho Books.

Create Currency

Tool to create a new currency for an organization.

Create Customer Payment Refund

Tool to refund an excess customer payment.

Create Employee

Tool to create a new employee in Zoho Books.

Create Exchange Rate

Tool to create a new exchange rate for a currency.

Create Expense

Tool to create a new expense in Zoho Books.

Create Invoice From Sales Order

Tool to create an instant invoice from an existing sales order.

Create Item

Tool to create a new item (product or service).

Create Journal

Tool to create a journal entry in Zoho Books.

Create Location

Tool to create a new location in Zoho Books.

Create Project

Tool to create a project in Zoho Books.

Create Recurring Bill

Tool to create a recurring bill in Zoho Books.

Create Recurring Expense

Tool to create a new recurring expense in Zoho Books.

Create Recurring Invoice

Tool to create a recurring invoice.

Create Reporting Tag

Tool to create a new reporting tag in Zoho Books.

Create Bank Account Rule

Tool to create a rule for automatic transaction categorization.

Create Sales Receipt

Tool to create a sales receipt in Zoho Books.

Create Time Entry

Tool to create a new time entry for a project task.

Create User

Tool to create a new user in Zoho Books.

Create Vendor Credit

Tool to create a vendor credit in Zoho Books.

Create Vendor Payment

Tool to create a vendor payment in Zoho Books.

Deactivate Bank Account

Tool to deactivate a bank account.

Delete Bank Account

Tool to delete a bank account from your organization.

Delete Bank Transaction

Tool to delete a specific bank transaction.

Delete Bill

Tool to delete a specific bill.

Delete Bill Attachment

Tool to delete an attachment from a specific bill.

Delete Bill Comment

Tool to delete a comment from a bill.

Delete Bill Payment

Tool to delete a specific bill payment.

Delete Bulk Customer Payments

Tool to bulk delete multiple customer payments.

Delete Bulk Vendor Payments

Tool to bulk delete multiple vendor payments.

Delete Chart of Account

Tool to delete a specific chart of account.

Delete Chart Of Account Transaction

Tool to delete a chart of account transaction.

Delete Contact

Tool to delete a specific contact.

Delete Contact Address

Tool to delete an additional address from a contact.

Delete Contact Person

Tool to delete a specific contact person.

Delete Credit Note

Tool to delete a specific credit note.

Delete Credit Note Comment

Tool to delete a comment from a credit note.

Delete Credit Note Refund

Tool to delete a specific credit note refund.

Delete Currency

Tool to delete a specific currency from organization settings.

Delete Customer Payment

Tool to delete a customer payment.

Delete Customer Payment Refund

Tool to delete a specific customer payment refund.

Delete Employee

Tool to delete a specific employee.

Delete Estimate

Tool to delete a specific estimate.

Delete Exchange Rate

Tool to delete an exchange rate for a currency.

Delete Expense

Tool to delete a specific expense.

Delete Expense Receipt

Tool to delete a receipt from an expense.

Delete Invoice

Tool to delete a specific invoice.

Delete Invoice Attachment

Tool to delete the last attached attachment from an invoice.

Delete Invoice Comment

Tool to delete a comment from an invoice.

Delete Invoice Document

Tool to delete a document/attachment from a specific invoice.

Delete Invoice Payment

Tool to delete a payment applied to an invoice.

Delete Item

Tool to delete a specific item.

Delete Journal Comment V4

Tool to delete a journal comment using Zoho Books API v4 (Beta).

Delete Journal Document

Tool to delete a document/attachment from a journal entry.

Delete Journals

Tool to delete multiple journal entries in one request.

Delete Journal (v4 Beta)

Tool to delete a journal using the v4 Beta API.

Delete Location

Tool to delete a specific location.

Delete Project Comment (v4 Beta)

Tool to delete a project comment using v4 Beta API.

Delete Project Task

Tool to delete a project task.

Delete Project V4

Tool to delete a specific project using v4 Beta API.

Delete Purchase Order

Tool to delete a specific purchase order.

Delete Purchase Order Attachment

Tool to delete an attachment from a purchase order.

Delete Purchase Order Comment

Tool to delete a comment from a purchase order.

Delete Recurring Bill

Tool to delete a recurring bill.

Delete Recurring Invoice

Tool to delete a recurring invoice.

Delete Bank Account Rule

Tool to delete a bank account rule from your account.

Delete Sales Order Comment

Tool to delete a comment from a sales order.

Delete Sales Receipt

Tool to delete a specific sales receipt.

Delete Time Entry

Tool to delete a specific time entry from a project.

Delete Vendor Credit

Tool to delete a specific vendor credit.

Delete Vendor Credit Refund

Tool to delete a vendor credit refund.

Delete Vendor Payment

Tool to delete a vendor payment.

Disable Contact Payment Reminder

Tool to disable payment reminders for a contact.

Disable Invoice Payment Reminder

Tool to disable payment reminders for an invoice.

Email Contact Statement

Tool to email a statement to a contact.

Email Estimate

Tool to send an estimate email.

Email Invoice

Tool to send an invoice email.

Enable Contact Payment Reminder

Tool to enable payment reminders for a contact.

Enable Contact Portal

Tool to enable portal access for a contact.

Enable Invoice Payment Reminder

Tool to enable payment reminders for an invoice.

Exclude Bank Transaction

Tool to exclude an uncategorized bank transaction.

Bulk Export Estimates PDF

Tool to export multiple estimates to a single PDF.

Bulk Export Sales Orders PDF

Tool to export multiple sales orders to a single PDF.

Get All Tag Options

Tool to retrieve all options for a reporting tag.

Get Bank Account

Tool to fetch details of a specific bank account.

Get Base Currency Adjustment

Tool to fetch details of a specific base currency adjustment.

Get Bill

Tool to fetch details of a specific bill.

Get Bill Attachment

Tool to fetch an attachment from a specific bill.

Get Chart Of Account

Tool to fetch details of a specific chart of account.

Get Contact

Tool to fetch details of a specific contact.

Get Contact Address

Tool to retrieve all addresses associated with a contact.

Get Contact Person

Tool to retrieve details of a specific contact person.

Get Contact Statement Mail

Tool to retrieve the pre-populated email content for a contact statement.

Get Credit Note

Tool to fetch details of a specific credit note by ID.

Get Currency

Tool to retrieve details of a specific currency.

Get Estimate

Tool to fetch details of a specific estimate.

Get Estimate Email

Tool to retrieve the pre-populated email content for an estimate.

Get Expense

Tool to fetch details of a specific expense.

Get Invoice

Tool to fetch details of a specific invoice.

Get Invoice Attachment

Tool to fetch the last attached attachment from a specific invoice.

Get Invoice Email

Tool to retrieve the pre-populated email content for an invoice.

Get Item

Tool to fetch details of a specific item.

Get Journal Credits List (v4 Beta)

Tool to retrieve the list of available journal credits for a specific journal using v4 Beta API.

Get Journal Details V4

Tool to fetch details of a specific journal entry from Zoho Books API v4 (Beta).

Get Journals List (v4 Beta)

Tool to retrieve a paginated list of journals using Zoho Books v4 Beta API.

Get Last Imported Statement

Tool to get details of previously imported statement for a bank account.

Get Matching Bank Transactions

Tool to retrieve potential matching transactions for an uncategorized bank transaction.

Get Opening Balance

Tool to retrieve opening balance for an organization.

Get Organization

Tool to fetch details of a specific organization.

Get Payment Reminder Mail Content

Tool to retrieve the pre-populated payment reminder email content for an invoice.

Get Project

Tool to fetch details of a specific project.

Get Project User

Tool to fetch details of a specific user associated with a project.

Get Purchase Order

Tool to fetch details of a specific purchase order.

Get Recurring Invoice

Tool to retrieve a single recurring invoice profile's full configuration by ID.

Get Sales Order

Tool to fetch details of a specific sales order.

Get Sales Order Attachment

Tool to fetch an attachment from a specific sales order.

Get Sales Order Email Content

Tool to retrieve the pre-populated email content for a sales order.

Get User

Tool to fetch details of a specific user.

Get Vendor Credit Refund

Tool to fetch details of a specific vendor credit refund.

Import Bank Statements

Tool to import bank or credit card statement transactions in bulk.

List Bank Accounts

Tool to list bank and credit card accounts.

List Bank Rules

Tool to list all rules created for a bank or credit card account.

List Bank Transactions

Tool to list bank transactions with optional filters.

List Base Currency Adjustments

Tool to list base currency adjustments for an organization.

List Bill Comments and History

Tool to list comments and history entries for a bill.

List Bill Payments

Tool to list payments recorded against a bill.

List Bills

Tool to retrieve a paginated list of bills.

List Chart Of Accounts

Tool to list chart of accounts.

List Chart of Account Transactions

Tool to list transactions for a specific chart of account.

List Contact Comments

Tool to retrieve recent activities and comments for a specific contact.

List Contact Persons

Tool to retrieve a paginated list of contact persons from Zoho Books.

List Contact Refunds

Tool to list refunds for a contact.

List Contacts

Tool to retrieve a paginated list of contacts with optional filters.

List Credit Note Refunds

Tool to retrieve a paginated list of credit note refunds with filters.

List Credit Notes

Tool to retrieve a paginated list of credit notes with optional filters.

List Currencies

Tool to list currencies configured for the organization.

List Customer Payment Refunds

Tool to list refunds of a customer payment.

List Customer Payments

Tool to list customer payments in Zoho Books.

List Employees

Tool to retrieve a paginated list of employees.

List Estimate Comments & History

Tool to retrieve comments and history for a specific estimate.

List Estimates

Tool to retrieve a paginated list of estimates with optional filters.

List Estimate Templates

Tool to retrieve a list of estimate templates.

List Expense Comments

Tool to retrieve history and comments for a specific expense.

List Expenses

Tool to retrieve a paginated list of expenses with filters and search.

List Fixed Assets

Tool to retrieve a paginated list of fixed assets from Zoho Books.

List Fixed Asset Types

Tool to retrieve a paginated list of fixed asset types from Zoho Books.

List Invoice Comments and History

Tool to list comments and history entries for an invoice.

List Invoice Credits Applied

Tool to list credit notes applied to an invoice.

List Invoice Payments

Tool to list payments recorded against an invoice.

List Invoices

Tool to retrieve a paginated list of invoices with filters and search.

List Invoice Templates

Tool to retrieve a list of invoice templates.

List Item Details

Tool to bulk fetch details for multiple items from Zoho Books using their IDs.

List Items

Tool to retrieve a paginated list of items from Zoho Books.

List Journal Templates

Tool to list journal templates with pagination.

List Locations

Tool to list all locations in the organization.

List Organizations

Tool to list all organizations for the authenticated user.

List Projects

Tool to retrieve a paginated list of projects with optional filters.

List Project Users

Tool to retrieve all users assigned to a project.

List Purchase Orders

Tool to retrieve a paginated list of purchase orders.

List Recurring Bill History

Tool to list comments and history entries for a recurring bill.

List Recurring Invoice History

Tool to retrieve comments and history for a specific recurring invoice.

List Reporting Tags

Tool to retrieve all reporting tags from Zoho Books.

List Retainer Invoices

Tool to retrieve a paginated list of retainer invoices with filters and sorting.

List Sales Order Comments & History

Tool to list comments and history entries for a sales order.

List Sales Orders

Tool to retrieve a paginated list of sales orders.

List Sales Receipts

Tool to retrieve a paginated list of sales receipts with filters.

List Tasks

Tool to retrieve a paginated list of tasks for a specific project.

List Taxes

Tool to retrieve a paginated list of taxes.

List Tax Exemptions

Tool to retrieve a list of tax exemptions from Zoho Books.

List Users

Tool to retrieve a paginated list of users.

List Vendor Credit Refunds

Tool to retrieve a paginated list of vendor credit refunds with filters.

List Vendor Credit Refunds

Tool to list refunds of a specific vendor credit.

List Vendor Credits

Tool to retrieve a paginated list of vendor credits with filters and search.

List Vendor Payment Refunds

Tool to list refunds of a vendor payment.

List Vendor Payments

Tool to retrieve a paginated list of vendor payments with filters and search.

Mark Bill Open

Tool to mark a bill as open.

Mark Bill Void

Tool to mark a bill as Void.

Mark Contact as Active

Tool to mark a contact as active.

Mark Contact as Inactive

Tool to mark a contact as inactive.

Mark Estimate As Sent

Tool to mark an estimate as Sent.

Mark Invoice As Sent

Tool to mark an invoice as Sent.

Mark Item as Active

Tool to mark an item as active.

Mark Item as Inactive

Tool to mark an item as inactive.

Mark Location Active

Tool to mark a location as active.

Mark Location as Inactive

Tool to mark a location as inactive.

Mark Location Primary

Tool to mark a location as primary.

Mark Project Active

Tool to mark a project as active.

Mark Reporting Tag as Active

Tool to mark a reporting tag as active.

Mark Reporting Tag as Inactive

Tool to mark a reporting tag as inactive.

Mark Reporting Tag Default Option

Tool to mark an option as default for a reporting tag.

Mark Retainer Invoice Sent

Tool to mark a retainer invoice as Sent.

Mark Sales Order Void

Tool to mark a sales order as Void.

Mark Tag Option Active

Tool to mark a reporting tag option as active.

Mark Tag Option as Inactive

Tool to mark a reporting tag option as inactive.

Mark User as Inactive

Tool to mark a user as inactive in Zoho Books.

Mark Vendor Credit Void

Tool to void a vendor credit.

Open Sales Order

Tool to mark a sales order as Open.

Bulk Print Estimates

Tool to bulk print up to 25 estimates as a single PDF.

Bulk Print Sales Orders

Tool to bulk print up to 25 sales orders as a single PDF.

Send Payment Reminder

Tool to send a payment reminder for an invoice.

Resume Recurring Invoice

Tool to resume a recurring invoice.

Send Bulk Invoice Reminder

Tool to send payment reminders for multiple invoices at once.

Send Contact Email

Tool to send an email to a contact in Zoho Books.

Stop Recurring Invoice

Tool to stop a recurring invoice.

Untrack Contact 1099

Tool to untrack a contact for 1099 reporting.

Update Bank Transaction

Tool to update an existing bank transaction in Zoho Books.

Update Vendor Bill

Tool to update a vendor bill.

Update Contact

Tool to update details of a contact.

Update Contact Person

Tool to update an existing contact person in Zoho Books.

Update Credit Note Refund

Tool to update details of a specific credit note refund.

Update Currency

Tool to update an existing currency in Zoho Books.

Update Custom Fields in Item

Tool to update custom field values in an existing item.

Update Estimate

Tool to update an existing estimate (quote).

Update Estimate Billing Address

Tool to update the billing address of an estimate.

Update Estimate Shipping Address

Tool to update the shipping address for an estimate.

Update Estimate Template

Tool to update the template associated with an estimate.

Update Invoice

Tool to update details of a specific invoice.

Update Invoice Attachment Preference

Tool to update attachment preference for an invoice.

Update Invoice Billing Address

Tool to update the billing address of an invoice.

Update Invoice Shipping Address

Tool to update the shipping address of a specific invoice.

Update Invoice Template

Tool to update the template associated with an invoice.

Update Item

Tool to update details of a specific item.

Update Journal

Tool to update a journal entry in Zoho Books.

Update Location

Tool to update an existing location in Zoho Books.

Update Organization

Tool to update an organization's settings and details.

Update Project

Tool to update a project in Zoho Books.

Update Project User

Tool to update a user's details in a project.

Update Purchase Order Billing Address

Tool to update the billing address of a purchase order.

Update Purchase Order Comment

Tool to update a comment on a purchase order.

Update Recurring Bill

Tool to update a recurring bill in Zoho Books.

Update Recurring Invoice Template

Tool to update the template associated with a recurring invoice.

Update Reporting Tag

Tool to update an existing reporting tag in Zoho Books.

Update Reporting Tag Options

Tool to update reporting tag options in Zoho Books.

Update Sales Order

Tool to update a specific sales order.

Update Sales Order Attachment Preference

Tool to update attachment preference for a sales order.

Update Sales Order Billing Address

Tool to update the billing address of a sales order.

Update Sales Order Shipping Address

Tool to update the shipping address of a specific sales order.

Update Sales Order Template

Tool to update the template associated with a sales order.

Update User

Tool to update an existing user in Zoho Books.

Update Vendor Payment Refund

Tool to update a vendor payment refund in Zoho Books.

Void Invoice

Tool to mark an invoice as Void.

Write Off Invoice

Tool to write off an invoice.

FAQ

Frequently asked questions

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

Yes, you can. OpenCode 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 Zoho books tools.

Yes, absolutely. You can configure which Zoho books 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.

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 Zoho books data and credentials are handled as safely as possible.

Start with Zoho books.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Zoho books tool your agent needs.Free to start.

Start building