accounting
FreshBooks MCP Integration for CrewAI
Connect FreshBooks to CrewAI through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect FreshBooks to CrewAI
Expose KosmoKrator integrations to CrewAI workers as scoped local tools.
Wrap kosmo integrations:call for specific tasks or connect workers to a local MCP gateway. The gateway is local, scoped to this integration, and starts with
--write=deny so CrewAI can inspect read-capable tools without receiving write access by default.
FreshBooks MCP Config for CrewAI
Use per-worker integration scopes to avoid giving every worker every tool.
{
"mcpServers": {
"kosmokrator-freshbooks": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=freshbooks",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=freshbooks --write=deny Why Use KosmoKrator Here
Expose only FreshBooks instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
FreshBooks Tools Visible to CrewAI
CrewAI sees stable MCP tool names generated from the FreshBooks integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__freshbooks__freshbooks_list_invoices | freshbooks.freshbooks_list_invoices | Read | List invoices from FreshBooks. Returns invoice details including status, amounts, client info, and dates. Supports filtering by status, client, date range, and more. |
integration__freshbooks__freshbooks_get_invoice | freshbooks.freshbooks_get_invoice | Read | Get details of a specific FreshBooks invoice by ID. Returns full invoice data including line items, amounts, client details, status, and payment info. |
integration__freshbooks__freshbooks_create_invoice | freshbooks.freshbooks_create_invoice | Write | Create a new invoice in FreshBooks. Requires at minimum a client ID and line items. Supports setting due date, notes, discount, and other invoice fields. |
integration__freshbooks__freshbooks_list_clients | freshbooks.freshbooks_list_clients | Read | List clients from FreshBooks. Returns client details including name, email, company, and balance. Supports filtering and pagination. |
integration__freshbooks__freshbooks_get_client | freshbooks.freshbooks_get_client | Read | Get details of a specific FreshBooks client by ID. Returns full client profile including contact info, company details, and outstanding balance. |
integration__freshbooks__freshbooks_list_projects | freshbooks.freshbooks_list_projects | Read | List projects from FreshBooks. Returns project details including title, description, billing method, budget, and active status. Supports filtering and pagination. |
integration__freshbooks__freshbooks_list_payments | freshbooks.freshbooks_list_payments | Read | List payments from FreshBooks. Returns payment details including amount, date, client, invoice, and payment method. Supports filtering and pagination. |
integration__freshbooks__freshbooks_get_current_user | freshbooks.freshbooks_get_current_user | Read | Get the profile of the currently authenticated FreshBooks user. Returns user details including name, email, and linked business/member information. Useful for verifying connection and identity. |