Connector guide1-minute read9 MCP toolsEN · DE · IT

如何通过 MCP 将 FreshBooks 连接到 ChatGPT

从任何 AI 代理管理 FreshBooks(发票、客户、费用、时间条目、付款)。9 个工具,OAuth2 认证。

HCBy HelpCode teamUpdated 1 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

MCP connector

FreshBooks

Manage FreshBooks (invoices, clients, expenses, time entries, payments) from any AI agent. 9 tools, OAuth2 auth.

Tools

9

Region

INTL

Category

Accounting

Authentication

OAuth 2.0

Required env vars

FRESHBOOKS_CLIENT_IDFRESHBOOKS_CLIENT_SECRETFRESHBOOKS_REFRESH_TOKENFRESHBOOKS_ACCOUNT_ID
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the FreshBooks in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

从任何 AI 代理管理 FreshBooks(发票、客户、费用、时间条目、付款)。9 个工具,OAuth2 认证。

试试这样问

FreshBooks 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

FreshBooks · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 不需要安装?直接使用 cloud.anythingmcp.com 登录,点击 Connectors → FreshBooks,粘贴你的凭据,生成 MCP API 密钥 — 完成。无需 Docker,无需 git clone,无需本地服务器。

FreshBooks + ChatGPT

从任何 AI 代理管理 FreshBooks(发票、客户、费用、时间条目、付款)。9 个工具,OAuth2 认证。

前提条件

请查看连接器中包含的完整设置说明(在你选择连接器时可在应用内商店中查看)。此连接器所需的环境变量为:

FRESHBOOKS_CLIENT_ID, FRESHBOOKS_CLIENT_SECRET, FRESHBOOKS_REFRESH_TOKEN, FRESHBOOKS_ACCOUNT_ID

第一步 — 获取凭据

此连接器封装了 FreshBooks 新 API (api.freshbooks.com/accounting)。

设置 — OAuth2 刷新流程

  1. 访问 https://my.freshbooks.com/#/developer创建应用。将重定向 URI 设置为你的回调。
  2. 运行认证流程:https://my.freshbooks.com/oauth/authorize?response_type=code&client_id=...&redirect_uri=...&scope=user:profile:read user:clients:read user:invoices:read user:invoices:write user:expenses:read user:time_entries:read user:payments:read user:payments:write
  3. https://api.freshbooks.com/auth/oauth/token 处用代码交换访问 + 刷新令牌。

第二步 — 安装适配器

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

第三步 — 在 ChatGPT 中添加连接器

ChatGPT 通过 Connectors 功能支持 MCP 服务器(Plus / Pro / Team / Enterprise 计划)。免费层不支持自定义连接器。

  1. 打开 ChatGPT → 设置 → Connectors(或点击创作工具中的 🔧 图标 → 管理连接器)。
  2. 点击 "添加自定义连接器"
  3. 填写:
    • 名称: FreshBooks
    • MCP 服务器 URL: https://cloud.anythingmcp.com/mcp
    • 认证: Bearer token → 粘贴你的 MCP API 密钥(来自 AnythingMCP → 个人资料 → MCP API 密钥 → 新密钥
  4. 点击 连接 以授权。

可用工具

工具功能
freshbooks_me返回经过身份验证的用户及其商业会员和账户 ID
freshbooks_list_clients列出账户中的客户
freshbooks_create_client创建客户
freshbooks_list_invoices列出发票
freshbooks_get_invoice获取单个发票及其所有行 + 付款
freshbooks_create_invoice创建发票
freshbooks_list_expenses列出费用
freshbooks_list_payments列出针对发票的已收付款
freshbooks_record_payment记录针对发票的付款

常见问题

ChatGPT 免费层是否支持自定义 MCP 连接器? 不 — 需要 Plus、Pro、Team 或 Enterprise 计划。

下一步

这份指南对你有帮助吗?

Ready to ship

Your FreshBooks agent is one click away.

Install the connector, paste the key, prompt ChatGPT. Free for 7 days, no credit card.

相关指南