Prerequisites Before you begin, create an account and get your API Key.

Getting started

Connect to QuickBooks to manage accounts, invoices, customers, payments, vendors, and automate accounting workflows through AI agents.
1

Install the SDKs (optional)

pip install klavis
2

Create a server instance

from klavis import Klavis
from klavis.types import McpServerName

klavis_client = Klavis(api_key="YOUR_API_KEY")

# Create a QuickBooks MCP server instance
quickbooks_server = klavis_client.mcp_server.create_server_instance(
    server_name=McpServerName.QUICKBOOKS,
    user_id="user123"
)
Response Information: The API returns:
  • serverUrl: The URL for connecting your MCP client to QuickBooks
  • instanceId: Unique identifier for your server instance
  • oauthUrl: OAuth authorization URL for QuickBooks authentication
3

Authenticate

import webbrowser

# Open OAuth authorization page
webbrowser.open(quickbooks_server.oauth_url)
🎉 Your QuickBooks MCP Server is ready! Once authentication is complete, you can use your MCP server URL with any MCP-compatible client.

Available Tools

For more details about tool input schema, use the get_tools API.

Next Steps