freeagent-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FREEAGENT_SANDBOX | No | Set to 1 to use api.sandbox.freeagent.com and a separate token file. | off |
| FREEAGENT_CLIENT_ID | No | Your FreeAgent OAuth identifier. Use this in place of app.json. | |
| FREEAGENT_CONFIG_DIR | No | Directory where app.json and tokens live. | ~/.config/freeagent-mcp |
| FREEAGENT_NO_BROWSER | No | Set to 1 to stop the browser from opening during login. Use the link from the error instead. | off |
| FREEAGENT_TOKEN_STORE | No | Set to file to keep tokens in tokens.json and refresh them across sessions. | memory |
| FREEAGENT_ALLOW_WRITES | No | Set to 1 to add the freeagent_write tool, allowing POST, PUT or DELETE requests. | off |
| FREEAGENT_REDIRECT_URI | No | Must match the OAuth Redirect URI configured on the FreeAgent developer portal. | http://localhost:8765/callback |
| FREEAGENT_CLIENT_SECRET | No | Your FreeAgent OAuth secret. Use this in place of app.json. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| freeagent_getA | Read any FreeAgent API v2 endpoint. |
| freeagent_companyC | Company info and the current user. |
| freeagent_invoicesB | List sales invoices. view: all, recent_open_or_overdue, open, overdue, open_or_overdue, draft, paid, scheduled_to_email, thank_you_emails, reminder_emails, last_N_months. |
| freeagent_billsC | List purchase bills. view: all, open, overdue, open_or_overdue, paid, recurring, hire_purchase, cis. |
| freeagent_contactsB | List contacts. view: all, active, clients, suppliers, active_projects, completed_projects, open_clients, open_suppliers, hidden. |
| freeagent_bank_accountsA | List bank accounts with balances. |
| freeagent_bank_transactionsB | List transactions for one bank account. view: all, unexplained, explained, manual, imported, marked_for_review. |
| freeagent_expensesC | List expense claims. view: recent, recurring. |
| freeagent_reportA | Run a report: profit_and_loss, balance_sheet, trial_balance, cashflow. Dates are optional for most; cashflow needs both. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
The generic freeagent_get tool can read any API v2 endpoint, which subsumes the specialized invoice, bill, contact, bank transaction, and expense list tools. freeagent_report also overlaps with freeagent_get for report endpoints, making tool selection ambiguous despite the curated views on the specialized tools.
All tools use the same freeagent_ prefix and snake_case convention, mostly following a resource-noun pattern. Minor deviation exists because freeagent_get uses a verb and freeagent_report is action-oriented, but the overall naming remains predictable.
Nine tools is a reasonable count for a FreeAgent integration and fits within the typical well-scoped range. However, the generic freeagent_get somewhat duplicates the specialized list tools, making a few tools feel redundant rather than strictly necessary.
The surface covers broad read access through freeagent_get plus curated list/report tools, so read-side coverage is strong. It lacks any create, update, or delete operations for invoices, bills, contacts, expenses, or other FreeAgent resources, leaving notable lifecycle gaps.