SolidInvoice
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
FreshBooks invoicing for Claude — invoices, clients, estimates, and payments
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 18/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 30/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: 29 (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Freshbooks MCP. Follow https://mcp.popnx.com/i/chrischall-freshbooks-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Freshbooks MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "freshbooks": { "command": "npx", "args": [ "-y", "@chrischall/freshbooks-mcp" ], "env": { "FRESHBOOKS_CLIENT_SECRET": "your-value", "FRESHBOOKS_REFRESH_TOKEN": "your-value", "FRESHBOOKS_REDIRECT_URI": "your-value", "FRESHBOOKS_TOKEN_STORE": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For FRESHBOOKS_CLIENT_SECRET, FRESHBOOKS_REFRESH_TOKEN, FRESHBOOKS_TOKEN_STORE, FRESHBOOKS_REDIRECT_URI, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Freshbooks MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
FRESHBOOKS_REDIRECT_URI Registered redirect URI; required on refresh calls too (default https://localhost)Descriptions are as written by the maker.
SettingsDeveloperEdit Config
{
"mcpServers": {
"freshbooks": {
"command": "npx",
"args": [
"-y",
"@chrischall/freshbooks-mcp"
],
"env": {
"FRESHBOOKS_CLIENT_SECRET": "your-value",
"FRESHBOOKS_REFRESH_TOKEN": "your-value",
"FRESHBOOKS_REDIRECT_URI": "your-value",
"FRESHBOOKS_TOKEN_STORE": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use Freshbooks MCP and tell me what you can do for me, then show me one thing✓ If Claude says it is using Freshbooks MCP or shows a Freshbooks MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
FRESHBOOKS_CLIENT_ID OAuth client ID from my.freshbooks.com/#/developerFRESHBOOKS_BUSINESS_ID The integer businessId to work in when the authenticated identity belongs to several businesses. Without it, reads use the first business FreshBooks lists and writes are refused rather than landing i…FRESHBOOKS_ACCOUNT_ID Overrides the account id normally resolved from /auth/api/v1/users/me. Set it explicitly when the authenticated identity belongs to no business membership and resolution fails, or, together with FRES…FRESHBOOKS_REQUEST_TIMEOUT_MS Per-request deadline for API calls, in milliseconds (default 30000)Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Freshbooks MCP yet
Freshbooks MCP runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Freshbooks MCP
B · Others in Accounting, finance & tax that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a Freshbooks MCP key (create it on the maker’s site) · 1 setting(s) to fill in (FRESHBOOKS_REDIRECT_URI) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Freshbooks MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user freshbooks --env FRESHBOOKS_CLIENT_SECRET=your-value --env FRESHBOOKS_REFRESH_TOKEN=your-value --env FRESHBOOKS_REDIRECT_URI=your-value --env FRESHBOOKS_TOKEN_STORE=your-value -- npx -y @chrischall/freshbooks-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For FRESHBOOKS_CLIENT_SECRET, FRESHBOOKS_REFRESH_TOKEN, FRESHBOOKS_TOKEN_STORE, FRESHBOOKS_REDIRECT_URI, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Freshbooks MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
FRESHBOOKS_REDIRECT_URI Registered redirect URI; required on refresh calls too (default https://localhost)Descriptions are as written by the maker.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user freshbooks --env FRESHBOOKS_CLIENT_SECRET=your-value --env FRESHBOOKS_REFRESH_TOKEN=your-value --env FRESHBOOKS_REDIRECT_URI=your-value --env FRESHBOOKS_TOKEN_STORE=your-value -- npx -y @chrischall/freshbooks-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see Freshbooks MCP listed as connected
Use Freshbooks MCP and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Freshbooks MCP or shows a Freshbooks MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
FRESHBOOKS_CLIENT_ID OAuth client ID from my.freshbooks.com/#/developerFRESHBOOKS_BUSINESS_ID The integer businessId to work in when the authenticated identity belongs to several businesses. Without it, reads use the first business FreshBooks lists and writes are refused rather than landing i…FRESHBOOKS_ACCOUNT_ID Overrides the account id normally resolved from /auth/api/v1/users/me. Set it explicitly when the authenticated identity belongs to no business membership and resolution fails, or, together with FRES…FRESHBOOKS_REQUEST_TIMEOUT_MS Per-request deadline for API calls, in milliseconds (default 30000)Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Freshbooks MCP key (create it on the maker’s site) · 1 setting(s) to fill in (FRESHBOOKS_REDIRECT_URI) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Freshbooks MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "freshbooks": { "command": "npx", "args": [ "-y", "@chrischall/freshbooks-mcp" ], "env": { "FRESHBOOKS_CLIENT_SECRET": "your-value", "FRESHBOOKS_REFRESH_TOKEN": "your-value", "FRESHBOOKS_REDIRECT_URI": "your-value", "FRESHBOOKS_TOKEN_STORE": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For FRESHBOOKS_CLIENT_SECRET, FRESHBOOKS_REFRESH_TOKEN, FRESHBOOKS_TOKEN_STORE, FRESHBOOKS_REDIRECT_URI, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Freshbooks MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
FRESHBOOKS_REDIRECT_URI Registered redirect URI; required on refresh calls too (default https://localhost)Descriptions are as written by the maker.
In the Freshbooks MCP settings, FRESHBOOKS_CLIENT_SECRET, FRESHBOOKS_REFRESH_TOKEN, FRESHBOOKS_TOKEN_STORE, FRESHBOOKS_REDIRECT_URI is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Freshbooks MCP and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Freshbooks MCP or shows a Freshbooks MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
FRESHBOOKS_CLIENT_ID OAuth client ID from my.freshbooks.com/#/developerFRESHBOOKS_BUSINESS_ID The integer businessId to work in when the authenticated identity belongs to several businesses. Without it, reads use the first business FreshBooks lists and writes are refused rather than landing i…FRESHBOOKS_ACCOUNT_ID Overrides the account id normally resolved from /auth/api/v1/users/me. Set it explicitly when the authenticated identity belongs to no business membership and resolution fails, or, together with FRES…FRESHBOOKS_REQUEST_TIMEOUT_MS Per-request deadline for API calls, in milliseconds (default 30000)Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Freshbooks MCP key (create it on the maker’s site) · 1 setting(s) to fill in (FRESHBOOKS_REDIRECT_URI) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Freshbooks MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "freshbooks": { "type": "stdio", "command": "npx", "args": [ "-y", "@chrischall/freshbooks-mcp" ], "env": { "FRESHBOOKS_CLIENT_SECRET": "your-value", "FRESHBOOKS_REFRESH_TOKEN": "your-value", "FRESHBOOKS_REDIRECT_URI": "your-value", "FRESHBOOKS_TOKEN_STORE": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For FRESHBOOKS_CLIENT_SECRET, FRESHBOOKS_REFRESH_TOKEN, FRESHBOOKS_TOKEN_STORE, FRESHBOOKS_REDIRECT_URI, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Freshbooks MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
These are program settings, not keys. No sign-up needed; fill them in as the maker describes.
FRESHBOOKS_REDIRECT_URI Registered redirect URI; required on refresh calls too (default https://localhost)Descriptions are as written by the maker.
In the Freshbooks MCP settings, FRESHBOOKS_CLIENT_SECRET, FRESHBOOKS_REFRESH_TOKEN, FRESHBOOKS_TOKEN_STORE, FRESHBOOKS_REDIRECT_URI is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Freshbooks MCP and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Freshbooks MCP or shows a Freshbooks MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
FRESHBOOKS_CLIENT_ID OAuth client ID from my.freshbooks.com/#/developerFRESHBOOKS_BUSINESS_ID The integer businessId to work in when the authenticated identity belongs to several businesses. Without it, reads use the first business FreshBooks lists and writes are refused rather than landing i…FRESHBOOKS_ACCOUNT_ID Overrides the account id normally resolved from /auth/api/v1/users/me. Set it explicitly when the authenticated identity belongs to no business membership and resolution fails, or, together with FRES…FRESHBOOKS_REQUEST_TIMEOUT_MS Per-request deadline for API calls, in milliseconds (default 30000)Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user freshbooks --env FRESHBOOKS_CLIENT_SECRET=your-value --env FRESHBOOKS_REFRESH_TOKEN=your-value --env FRESHBOOKS_REDIRECT_URI=your-value --env FRESHBOOKS_TOKEN_STORE=your-value -- npx -y @chrischall/freshbooks-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"freshbooks": {
"command": "npx",
"args": [
"-y",
"@chrischall/freshbooks-mcp"
],
"env": {
"FRESHBOOKS_CLIENT_SECRET": "your-value",
"FRESHBOOKS_REFRESH_TOKEN": "your-value",
"FRESHBOOKS_REDIRECT_URI": "your-value",
"FRESHBOOKS_TOKEN_STORE": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"freshbooks": {
"command": "npx",
"args": [
"-y",
"@chrischall/freshbooks-mcp"
],
"env": {
"FRESHBOOKS_CLIENT_SECRET": "your-value",
"FRESHBOOKS_REFRESH_TOKEN": "your-value",
"FRESHBOOKS_REDIRECT_URI": "your-value",
"FRESHBOOKS_TOKEN_STORE": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"freshbooks": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@chrischall/freshbooks-mcp"
],
"env": {
"FRESHBOOKS_CLIENT_SECRET": "your-value",
"FRESHBOOKS_REFRESH_TOKEN": "your-value",
"FRESHBOOKS_REDIRECT_URI": "your-value",
"FRESHBOOKS_TOKEN_STORE": "your-value"
}
}
}
}FRESHBOOKS_CLIENT_ID envFRESHBOOKS_CLIENT_SECRET secret required envFRESHBOOKS_REFRESH_TOKEN secret required envFRESHBOOKS_REDIRECT_URI required envFRESHBOOKS_TOKEN_STORE secret required envFRESHBOOKS_BUSINESS_ID envFRESHBOOKS_ACCOUNT_ID envFRESHBOOKS_REQUEST_TIMEOUT_MS envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account chrischall, which owns the repo
Code last changed yesterday
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for @chrischall/freshbooks-mcp@1.3.1
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/chrischall-freshbooks-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: FRESHBOOKS_CLIENT_SECRET, FRESHBOOKS_REFRESH_TOKEN, FRESHBOOKS_TOKEN_STORE
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed yesterday, and the latest version (1.3.1) reached the registry 14 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: SolidInvoice, Signal8, Journalit, Beancount.io, Tapetide - Indian Stock Market MCP
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.
Query, edit, and reconcile a hosted Beancount ledger: BQL, reports, files, and bank imports.
48 tools for ~8,000 NSE & BSE stocks: quotes, screener, financials, filings, FII/DII, options
| This one Freshbooks MCP | SolidInvoice | Signal8 | Journalit | Beancount.io | Tapetide - Indian Stock Market MCP | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Cloud or install on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Cloud or install on your computer |
| Needs a key | Yes | No | Yes | No | No | Yes |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/3 | 4/6 | 5/5 | 4/4 | 4/4 | 5/5 |
| License | MIT | MIT | MIT | NOASSERTION | MIT | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
MCP server for FreshBooks — invoices, clients, estimates and payments, exposed to Claude as typed tools.
This project was developed and is maintained by AI (Claude Code). Use at your own discretion.
npm install -g @chrischall/freshbooks-mcp
FreshBooks is OAuth2 only — there is no API key and no personal access token, so a one-time browser authorization is required.
https://localhost works and never needs to resolve.FRESHBOOKS_CLIENT_ID and FRESHBOOKS_CLIENT_SECRET, start it, then call freshbooks_auth_url, open the URL it returns, approve, and pass the whole URL you land on to freshbooks_auth_exchange. Its state must match a consent URL the server issued (valid 15 minutes, single-use), so a bare code, or a redirect URL from anyone else's authorization, is refused before its code is spent. Local sessions save the tokens directly to FRESHBOOKS_TOKEN_STORE and return only a success message. Restart the local MCP server after that message. No token needs to be copied into chat or configuration. Keep the same app credentials and store path after restart.authFlow still captures the refresh token from the exchange response and supplies it through its secret store. MCP_DATA_DIR identifies this hosted environment. Do not set it for a local coding-agent connection: hosted mode intentionally returns the token. Issued states are kept as digests under MCP_DATA_DIR, so a child that is respawned while the person approves can still complete the login. The registration's flow must show the person the `authorize_url` that `freshbooks_auth_url` returns. That URL carries the one-time state, and the exchange refuses any redirect without it. A static consent link typed into a step description has no state, so every new login or repair through it fails. Carry authorize_url from the freshbooks_auth_url step and show it with a step link (link: {from: 'authorize_url', hosts: ['auth.freshbooks.com']}, mcp-host 2.30.0 or later) on the step that prompts. That prompt must collect the whole redirect URL, not just its code. Make this change before a release with state checking reaches the hosted pin. Existing connections keep refreshing; only new logins and repairs depend on it.skills/freshbooks-curl print tokens. Run them only in a private terminal, never in an agent's captured terminal.FRESHBOOKS_CLIENT_ID=...
FRESHBOOKS_CLIENT_SECRET=... FRESHBOOKS_REFRESH_TOKEN=... # optional locally; if set during reauth, keep it set FRESHBOOKS_REDIRECT_URI=https://localhost # optional; must match what you registered FRESHBOOKS_TOKEN_STORE=~/.freshbooks-mcp/session.json # optional FRESHBOOKS_BUSINESS_ID=... # optional; required for writes if you belong to several businesses FRESHBOOKS_ACCOUNT_ID=... # optional; with FRESHBOOKS_BUSINESS_ID, confirms its accountId when FreshBooks omits it FRESHBOOKS_REQUEST_TIMEOUT_MS=30000 # optional; per-request deadline for API calls
In Claude Desktop, both are optional fields in the extension's settings. If FreshBooks returns no account_id for the chosen business, invoice/expense writes are refused (projects and time entries still work) until you set both IDs yourself.
FreshBooks issues a new refresh token on every refresh and immediately invalidates the old one. This server persists each rotation to FRESHBOOKS_TOKEN_STORE (mode 0600) before the refresh is considered complete, and prefers the stored token over the environment value — the stored one has rotated past it.
The login flow also writes a small file of pending consent state digests (mode 0600, entries expire after 15 minutes). Locally it sits beside the token store, at .oauth-state.json (by default ~/.freshbooks-mcp/session.json.oauth-state.json). Hosted, it is $MCP_DATA_DIR/freshbooks-oauth-state.json. It is created on the first freshbooks_auth_url call, even if the login is never finished, and holds no tokens.
Two consequences worth knowing:
freshbooks-curl skill keep separate state files on purpose; sharing one makes them spend each other's tokens and locks both out.Local sign-in without an environment token binds the private store to the app's client ID, secret, and redirect URI. Changing those requires a new sign-in. For existing environment-token setups, the stored rotation still takes precedence; changing FRESHBOOKS_REFRESH_TOKEN to a new value starts a new token chain. If you reauthorize locally while FRESHBOOKS_REFRESH_TOKEN is set, keep that same value configured: the saved login is bound to it. To remove the variable, first unset it and complete local sign-in again so the store is bound to the app instead. The local authorization exchange and save use the same lock as refreshes. A refresh writes only while it holds that lock, so it cannot overwrite a newer login after releasing the lock. Restart every local server using the store after reauthorization.
| Tool | Purpose |
|---|---|
freshbooks_get_identity | Resolve accountId / businessId / businessUuid |
freshbooks_auth_url | Get the consent URL to authorize this connection |
freshbooks_auth_exchange | Complete authorization; save tokens privately in local sessions or return the refresh token to the hosted auth flow |
freshbooks_healthcheck | Verify the OAuth credential and FreshBooks reachability; distinguishes "no credential" from "rejected" from "FreshBooks is down" |
freshbooks_list_invoices / freshbooks_get_invoice | Browse and fetch invoices |
freshbooks_list_clients / freshbooks_get_client | Browse and fetch clients |
freshbooks_list_estimates / freshbooks_get_estimate | Browse and fetch estimates |
freshbooks_list_payments / freshbooks_get_payment | Browse and fetch payments |
freshbooks_list_items / freshbooks_get_item | Browse and fetch catalogue items |
freshbooks_create_client | Create a client — confirmation-gated |
freshbooks_create_invoice | Create an invoice — confirmation-gated |
freshbooks_update_invoice | Update an invoice — confirmation-gated |
freshbooks_record_payment | Record a payment against an invoice — confirmation-gated |
freshbooks_accept_estimate | Accept an estimate (action_accept) — confirmation-gated, idempotent |
freshbooks_update_estimate | Update an estimate's lines, notes, terms, presentation — confirmation-gated |
freshbooks_send_estimate | Email an estimate to the client (action_email) — confirmation-gated |
freshbooks_decline_estimate | Always fails: FreshBooks has no decline. Answers with the alternatives |
freshbooks_list_expenses / freshbooks_get_expense | Browse and fetch expenses |
freshbooks_list_expense_categories | Categories supplying categoryid for new expenses |
freshbooks_create_expense | Record an expense — confirmation-gated |
freshbooks_list_projects / freshbooks_get_project | Projects (businessId-keyed) |
freshbooks_create_project | Create a project — confirmation-gated |
freshbooks_list_time_entries | Tracked time, with total_logged / total_unbilled |
freshbooks_create_time_entry | Log time in seconds — confirmation-gated |
freshbooks_list_services | Billable work types for projects and time entries |
freshbooks_list_records / freshbooks_get_record | Generic accessor for the accounting long tail (taxes, credit notes, invoice profiles, tasks, staff, gateways, bills, bill vendors, bill payments, other income) |
Confirmation-gated means the tool asks you before it writes. A client that can show a confirmation prompt (Claude Code) shows one with exactly what would be sent. Elsewhere (claude.ai, Claude Desktop) the first call makes *no* network call and returns a preview of the method, path and body that would be sent, plus a single-use confirmToken; only a repeat call with that token and the same arguments performs the write. A token is refused if any argument changed since the preview (DRAFT_CHANGED), if it was already used (TOKEN_REUSED) or once it expires.
| variable | default | |
|---|---|---|
MCP_CONFIRM_MODE | ask-user | What a write does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). ask-user: two steps — the first call does nothing and returns a preview plus a token, and the model must get your approval in chat before calling again with it. auto: the same two steps, but the model may use the token after reviewing the preview itself. refuse: writes are refused on such clients. A client that can show prompts (Claude Code) always gets the real prompt, unless MCP_CONFIRM_ELICITATION=off. An unrecognised value is treated as refuse. |
MCP_CONFIRM_ELICITATION | on | off never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE behaviour. Set it for a client that says it can show prompts but never does (the write hangs — opencode 2.0.x). Any other value is treated as on, with a warning on stderr. |
MCP_CONFIRM_TTL_SECONDS | 600 | How long a token stays valid. |
MCP_CONFIRM_SECRET | random per process | Signing key; set it only if tokens must survive a server restart. |
Acceptance is an action on the estimate, not a status field: status (int), display_status and ui_status are computed and read-only, and they disagree with each other by design (a viewed estimate reads status: 3, display_status: "viewed", ui_status: "open"). Accepting is PUT estimates/estimates/{id} with {"estimate": {"action_accept": true}} — see docs/FRESHBOOKS-API.md for where that shape comes from.
changed: false and no write is sent — acceptance cannot be undone through the API, so a repeat call must not re-fire it.action_deny, no estimate.decline webhook. freshbooks_decline_estimate exists only to say so and point at the alternatives, rather than leave an agent to invent a write that changes nothing.before / after state and changed / changedFields, so success is verified against the record rather than inferred from a 200. changed covers the status fields *and* the fields that write actually set, so a successful notes edit reports changed: true even though no status moves. On freshbooks_send_estimate it describes the record only — emailing an already-sent estimate moves nothing, and retrying on changed: false would send the client a second copy.FreshBooks separates the role you hold on a *business* from the role you hold on an *accounting account*. You can own a business that has no accounting account (account_id: null) while being only a client on the account you can actually see — in which case reads succeed and every write returns 403 Permission Denied, even though y