The QuickBooks server provides comprehensive access to QuickBooks Online data, enabling financial analysis, customer management, and transaction monitoring.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dvlpjrs/guMCP/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
This server uses OAuth 2.0 authentication with QuickBooks Online.Prerequisites
- QuickBooks Online Developer account (sign up here)
- A registered application with scopes:
com.intuit.quickbooks.accountingcom.intuit.quickbooks.payment
Local Setup
- Create your app and configure a redirect URI (e.g.,
http://localhost:8080) - Get your client ID and client secret
- Create
local_auth/oauth_configs/quickbooks/oauth.json:
- Run authentication:
~/.config/gumcp/quickbooks/{user_id}.json.
Resources
The server exposes these QuickBooks resources:| URI | Description |
|---|---|
quickbooks://customers | All customers |
quickbooks://invoices | All invoices |
quickbooks://accounts | Chart of accounts |
quickbooks://items | Items/products |
quickbooks://bills | All bills |
quickbooks://payments | All payments |
Tools
Customer Management
search_customers
search_customers
Search for customers by name, email, or phone.Parameters:Implementation: Searches across customer name, email, and phone fields in QuickBooks.
query(string, required): Search query for customer name, email, or phonelimit(integer, optional): Maximum number of results (default: 10)
Financial Analysis
generate_financial_metrics
generate_financial_metrics
Generate key financial metrics and ratios for a date range.Parameters:
start_date(string, required): Start date (YYYY-MM-DD)end_date(string, required): End date (YYYY-MM-DD)metrics(array, optional): List of metrics to calculate
current_ratio- Current assets / current liabilitiesquick_ratio- (Current assets - inventory) / current liabilitiesdebt_to_equity- Total debt / total equitygross_margin- (Revenue - COGS) / Revenueoperating_margin- Operating income / Revenuenet_margin- Net income / Revenue
analyze_cash_flow
analyze_cash_flow
Analyze cash flow trends and patterns over a date range.Parameters:Analysis Includes:
start_date(string, required): Start date (YYYY-MM-DD)end_date(string, required): End date (YYYY-MM-DD)group_by(string, optional): Group results by ‘month’ or ‘quarter’ (default: month)
- Cash inflows by period
- Cash outflows by period
- Net cash flow
- Trend analysis
analyze_customer_payment_patterns
analyze_customer_payment_patterns
Analyze customer payment behavior and patterns.Parameters:Analysis Includes:
customer_id(string, required): QuickBooks customer IDmonths(integer, optional): Number of months to analyze (default: 12)
- Average days to payment
- Payment consistency
- Outstanding balance trends
- Late payment patterns
Transaction Management
find_duplicate_transactions
find_duplicate_transactions
Identify potential duplicate transactions.Parameters:Detection Criteria:
start_date(string, required): Start date (YYYY-MM-DD)end_date(string, required): End date (YYYY-MM-DD)amount_threshold(number, optional): Minimum amount to consider (default: 100)
- Same amount
- Same date (or within 1 day)
- Same vendor/customer
- Similar descriptions
Tax & Compliance
analyze_sred
analyze_sred
Analyze expenses for potential SR&ED (Scientific Research and Experimental Development) eligibility.Parameters:Note: This tool is specifically designed for Canadian SR&ED tax credit analysis.
start_date(string, required): Start date (YYYY-MM-DD)end_date(string, required): End date (YYYY-MM-DD)keywords(array, optional): Additional keywords to search for
- research
- development
- experiment
- testing
- prototype
- engineering
API Reference
The server uses the python-quickbooks library to interact with QuickBooks Online API.Authentication Flow
- OAuth client created with Intuit credentials
- Access token and refresh token managed automatically
- Company ID (realm ID) stored with credentials
Environment Support
- Sandbox: For testing (default)
- Production: For live data
quickbooks_environment in oauth.json.
Resource Formatting
Resources are formatted with helper functions:- Customers: ID, name, email, phone, balance
- Invoices: ID, customer, date, amount, balance
- Accounts: ID, name, type, balance
- Items: ID, name, type, price
- Bills: ID, vendor, date, due date, amount, balance
- Payments: ID, customer, date, amount
Error Handling
Comprehensive error handling for:- Authentication failures
- Invalid QuickBooks credentials
- Missing permissions
- API rate limits
- Invalid resource URIs
- Network errors