mcp-freshbooks
mcp-freshbooks
用于 FreshBooks 的生产级 MCP 服务器 —— 包含 53 个工具,涵盖发票、客户、费用、付款、时间跟踪、项目、估价、财务报告及智能工作流。
功能特性
53 个工具:覆盖完整的 FreshBooks 会计工作流
智能工作流工具 —— 将估价转换为发票、为未计费时间开具发票、查找逾期客户、获取完整的客户摘要
5 种财务报告 —— 损益表、税务摘要、应收账款账龄、资产负债表、已收款项
OAuth2 身份验证:支持自动令牌刷新
简洁输出 —— 汇总列表、格式化详情
生产级:具备错误处理和速率限制感知能力
零成本 —— 使用 FreshBooks 免费开发者计划
Related MCP server: moxie-mcp
工具列表
分类 | 工具 | 数量 |
认证 |
| 3 |
发票 |
| 6 |
定期发票 |
| 3 |
客户 |
| 5 |
估价 |
| 5 |
费用 |
| 5 |
付款 |
| 3 |
时间跟踪 |
| 5 |
项目 |
| 4 |
报告 |
| 5 |
项目/商品 |
| 2 |
类别 |
| 1 |
税项 |
| 1 |
工作流 |
| 5 |
快速入门
1. 安装
pip install mcp-freshbooks或者从源码安装:
git clone https://github.com/AlexlaGuardia/mcp-freshbooks.git
cd mcp-freshbooks
pip install .2. 获取 FreshBooks API 凭据
在开发者门户中创建一个 OAuth 应用
将重定向 URI 设置为
https://localhost:8555/callback复制您的 Client ID 和 Client Secret
3. 配置
export FRESHBOOKS_CLIENT_ID=your_client_id
export FRESHBOOKS_CLIENT_SECRET=your_client_secret
export FRESHBOOKS_REDIRECT_URI=https://localhost:8555/callback4. 添加到 Claude Desktop
添加到您的 claude_desktop_config.json 中:
{
"mcpServers": {
"freshbooks": {
"command": "mcp-freshbooks",
"env": {
"FRESHBOOKS_CLIENT_ID": "your_client_id",
"FRESHBOOKS_CLIENT_SECRET": "your_client_secret",
"FRESHBOOKS_REDIRECT_URI": "https://localhost:8555/callback"
}
}
}
}5. 身份验证
首次使用时请调用 freshbooks_authenticate 工具。它会提供一个 URL,请在浏览器中打开。授权后,令牌将保存到 ~/.mcp-freshbooks/tokens.json 并自动刷新。
使用示例
谁欠我钱?
Use get_overdue_invoices to see all past-due clients and total outstanding将提案转换为发票:
Use convert_estimate_to_invoice to turn estimate 456 into a ready-to-send invoice查找未计费的工作:
Use get_unbilled_time to find time entries not yet on any invoice检查盈利能力:
Get the profit and loss report for Q1 2026跟踪时间:
Create a 2-hour time entry for project 789 with note "API integration work"架构
src/mcp_freshbooks/
├── server.py # MCP server with 47 tool definitions
├── client.py # FreshBooks API client (httpx async)
└── auth.py # OAuth2 flow + token persistence该服务器使用 MCP Python SDK 和 FastMCP 进行简洁的工具注册。所有 API 调用均通过带有自动令牌刷新功能的异步客户端进行。
要求
Python 3.10+
FreshBooks 账户(免费试用版即可用于开发)
FreshBooks OAuth 应用凭据
许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceOfficial MCP server for Timebook (usetimebook.com) — time tracking, invoicing, and bookkeeping for freelancers and solo LLCs. Manage clients and projects, start/stop timers, and log, update, and delete time entries. Stdio via the @squidcode/timebook npm CLI; a hosted OAuth endpoint also exists at https://usetimebook.com/mcp.12952MIT
- FlicenseNot gradedqualityBmaintenanceA remote MCP server for the Moxie Public API, deployable to Cloudflare Workers. Exposes all 29 documented Moxie endpoints as MCP tools for managing clients, contacts, projects, tasks, invoices, payments, and more.
- FlicenseNot gradedqualityDmaintenanceComprehensive MCP server for Wave Accounting, providing 45+ tools across invoicing, customers, products, transactions, bills, estimates, taxes, and financial reporting, plus 17 pre-built UI workflows.4
- FlicenseNot gradedqualityAmaintenanceAn MCP server that connects Claude to FreshBooks, enabling reading and management of invoices, clients, expenses, projects, and time entries via natural language.1
Related MCP Connectors
Hosted MCP server for Mini Accountant: invoices, expenses, customers, analytics, tax estimates.
QuickBooks MCP Pack — query customers, invoices, and accounts via QuickBooks Online API.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AlexlaGuardia/MCP-Freshbooks'
If you have feedback or need assistance with the MCP directory API, please join our Discord server