Zoho Books MCP Server
Connect your Zoho Books account to AI assistants like Claude Desktop through the Model Context Protocol (MCP).
Quick Start
1. Get Zoho API Credentials
- Go to Zoho API Console
- Create a "Server-based Application"
- Add redirect URI:
http://localhost:8099/callback - Select scope:
ZohoBooks.fullaccess.all - Save your Client ID, Client Secret, and Organization ID
2. Install via uvx
Add to your Claude Desktop configuration:
{
"mcpServers": {
"zoho-books": {
"command": "uvx",
"args": ["zoho-books-mcp"],
"env": {
"ZOHO_CLIENT_ID": "your_client_id",
"ZOHO_CLIENT_SECRET": "your_client_secret",
"ZOHO_REFRESH_TOKEN": "your_refresh_token",
"ZOHO_ORGANIZATION_ID": "your_organization_id",
"ZOHO_REGION": "US"
}
}
}
}
To get a refresh token: uvx zoho-books-mcp --setup-oauth
3. Restart Claude Desktop
Look for the 🔌 icon to verify connection.
Local Development
# Clone and setup
git clone https://github.com/kkeeling/zoho-mcp.git
cd zoho-mcp
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
# Run tests
pytest
# Run server
python server.py
For local development in Claude Desktop:
{
"mcpServers": {
"zoho-books": {
"command": "/path/to/venv/bin/python",
"args": ["/path/to/zoho-mcp/server.py"],
"env": {
"ZOHO_CLIENT_ID": "your_client_id",
"ZOHO_CLIENT_SECRET": "your_client_secret",
"ZOHO_REFRESH_TOKEN": "your_refresh_token",
"ZOHO_ORGANIZATION_ID": "your_organization_id",
"ZOHO_REGION": "US"
}
}
}
}
Available Features
Tools
Invoices: create_invoice, email_invoice, record_payment, send_payment_reminder, void_invoice, list_invoices, get_invoice, mark_invoice_as_sent
Contacts: create_customer, create_vendor, update_contact, delete_contact, email_statement, list_contacts, get_contact
Expenses: create_expense, update_expense, categorize_expense, upload_receipt, list_expenses, get_expense
Items: create_item, update_item, list_items, get_item
Sales Orders: create_sales_order, update_sales_order, convert_to_invoice, list_sales_orders, get_sales_order
Resources
- dashboard://summary - Business metrics overview
- invoice://overdue - Overdue invoices list
- invoice://unpaid - Unpaid invoices
- payment://recent - Recent payments
- contact://list - All contacts
- expenses://summary - Expense overview
Prompts
- invoice_collection_workflow - Complete invoice-to-payment cycle
- monthly_invoicing - Bulk invoice creation
- expense_tracking_workflow - Expense recording and categorization
Configuration
Regions
- US (zoho.com), EU (zoho.eu), IN (zoho.in), AU (zoho.com.au), JP (zoho.jp), UK (zoho.uk), CA (zoho.ca)
Troubleshooting
- Tools not showing: Restart Claude Desktop completely
- Auth errors: Regenerate refresh token with
uvx zoho-books-mcp --setup-oauth - Module errors: Ensure virtual environment is activated
Development & Releases
Creating a Release
To publish a new version to PyPI and create a GitHub release:
- Update version in
pyproject.toml - Update CHANGELOG.md with release notes
- Create and push a git tag:
git tag v0.1.0 git push origin v0.1.0
- Create GitHub Release from the tag (triggers automatic PyPI publish)
The GitHub Actions workflow will automatically:
- Build the package
- Publish to PyPI (via trusted publishing)
- Attach distribution files to the GitHub release
Prerequisites for Publishing
- PyPI account with trusted publishing configured
- GitHub repository with PyPI environment protection enabled
License
MIT License - see LICENSE file for details.
Metadata
Release files for zoho-books-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| zoho_books_mcp-0.1.0.tar.gz | 106.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zoho_books_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 173.8 kB
Release files / zoho_books_mcp-0.1.0.tar.gz
| Download URL | zoho_books_mcp-0.1.0.tar.gz |
|---|---|
| Size | 106.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c735e9b7ecb7980ae2257420068a764d3d778752d8b57ec732987c34c4c2b9a
|
|
BLAKE2b-256 checksum How to use checksums |
6f0473aa256a058c8a8d7e83129121ed59d964f35b9ec1fd4399b2a66ec00513
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.6
|
Release files / zoho_books_mcp-0.1.0-py3-none-any.whl
| Download URL | zoho_books_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 67.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b29fc799af961912ee983026358141d25465f28cf495e74d393a16a0fd4bd32
|
|
BLAKE2b-256 checksum How to use checksums |
e366ed97858fde1737b2f6e44d0dec075b57a10d056810b770a0d9cf1f7ffcdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.6
|
Security for zoho-books-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.