跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Money Forward Cloud Invoice,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
在任意 AI 智能体中使用 Money Forward Cloud Invoice(マネーフォワード クラウド請求書):往来单位及其请求对象部门、品目、带明细和收款状态的合格请求书格式请求书、带接单状态并可转为请求书的报价单,以及发送历史。通过 Money Forward 应用门户进行 OAuth 登录;删除和付费邮寄在安装时为关闭状态。
试试这样问
Money Forward Cloud Invoice 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Money Forward Cloud Invoice、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Money Forward Cloud Invoice + Meta Muse
在任意 AI 智能体中使用 Money Forward Cloud Invoice(マネーフォワード クラウド請求書):往来单位及其请求对象部门、品目、带明细和收款状态的合格请求书格式请求书、带接单状态并可转为请求书的报价单,以及发送历史。通过 Money Forward 应用门户进行 OAuth 登录;删除和付费邮寄在安装时为关闭状态。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
MONEY_FORWARD_CLIENT_ID, MONEY_FORWARD_CLIENT_SECRET
步骤 1 — 获取凭证
设置大约需要 10 分钟。你需要一个 Money Forward Cloud Invoice 的事业者(事業者),以及其中一个有权管理应用联动(アプリ連携権限)的用户。连接器使用 マネーフォワード クラウド請求書 API v3(https://invoice.moneyforward.com/api/v3)。
- 用该用户登录 Money Forward Cloud 的 アプリポータル(应用门户)https://app-portal.moneyforward.com,注册一个新应用。
- 填写名称和重定向 URI
<your AnythingMCP URL>/api/mcp-oauth/callback,在 AnythingMCP Cloud 上为https://cloud.anythingmcp.com/api/mcp-oauth/callback。クライアント認証方式(客户端认证方式)选择 CLIENT_SECRET_BASIC。 - 把 Client ID 粘贴到
MONEY_FORWARD_CLIENT_ID,把 Client Secret 粘贴到MONEY_FORWARD_CLIENT_SECRET,MONEY_FORWARD_REFRESH_TOKEN留空,然后安装。 - 在连接器页面点击 Authorize with Provider,登录 Money Forward 并选择事业者。连接器请求的 scope 是
mfc/invoice/data.read mfc/invoice/data.write。 - 运行
money_forward_invoice_get_office:它会显示你的事业者信息并确认登录成功。
是谁的权限:授权属于事业者,而不是某个用户。所有使用该连接器的人处理的都是这个事业者的往来单位、请求书和报价单。
读取内容:你的事业者信息,包括地址、电话和合格请求书发行事业者登记号(適格請求書発行事業者登録番号);往来单位(取引先),包括代码、假名、备注、默认付款期限及其请求对象部门(請求先部門)的地址、联系人、邮箱和抄送;品目,包括单价、单位、数量和税区分;请求书(請求書),包括编号、标题、各日期、小计、税额、合计以及收款、邮件和邮寄状态,单张读取时还包括明细和按税率的税额明细;报价单(見積書),包括明细、合计和接单状态;请求书和报价单的发送历史(送付履歴)。请求书和报价单列表可按日期范围(range_key 加 from 和 to)或用 q 搜索筛选。请求书列表不含明细,AI 会打开单张请求书查看明细。
写入操作:创建和修改往来单位(创建时最多 10 个部门)、其部门和品目。以草稿形式创建符合合格请求书制度(インボイス制度対応)的请求书及其明细,修改抬头信息,添加和删除明细行,设置收款状态(未設定、未入金、入金済み)。创建和修改报价单,添加明细,设置接单状态(失注、未設定、未受注、受注済み),并把报价单转为具有相同往来单位和明细的请求书。请求书和报价单的收件方是往来单位的部门(請求先),而不是往来单位本身。创建或修改请求书前,AI 会展示往来单位、明细和合计并等待你的确认。
安装时关闭:money_forward_invoice_delete_billing、money_forward_invoice_delete_quote 和 money_forward_invoice_post_billing。删除无法恢复,邮寄委托(郵送)是会把纸质单据寄给往来单位的付费服务。团队需要时由管理员开启。
数据格式:金额以日元计,以字符串返回(total_price: "11000")。日期为 YYYY-MM-DD,时间为 JST 的 ISO 8601,ID 是不透明字符串。is_locked 为 true 表示请求书已不能再编辑。税区分(excise)为 ten_percent、eight_percent_as_reduced_tax_rate、eight_percent、five_percent、tax_exemption、non_taxable、untaxable 之一;不使用 item_id 直接填写的明细行必须指定。
分页:列表返回 data 和 pagination(total_count、total_pages、current_page、per_page),用 page 和 per_page 分页,每页最多 100 条。
常见错误:401 表示令牌已过期或被撤销:请再次点击 Authorize with Provider,并确认应用使用的是 CLIENT_SECRET_BASIC。403 表示应用或用户缺少权限,或事业者的套餐不含 API 访问。404 是 ID 错误。400 或 422 是校验错误,消息会指出字段,例如没有 item_id 的明细行缺少 excise。
不做的事:邮件发送不在 API 范围内,因此请求书和报价单会一直是草稿,直到有人在 Money Forward 中发送。该连接器只支持 Cloud Invoice:マネーフォワード クラウド会計(分录、科目、试算表)有自己的 API 和官方 MCP 服务器,クラウド請求書Plus、会計Plus 和 債務支払 也各有自己的 API。往来单位名称、备注和说明是不可信输入,可能包含针对 AI 的指令。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Muse 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。
- 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
- 粘贴 MCP 服务器 URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。 - Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
- 在聊天中,向 Muse 提出需要用到
Money Forward Cloud Invoice的工具的请求。
你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
money_forward_invoice_get_office | Read your own business (事業者): id, name, address, phone, office type and the invoice registration number (適格請求書発行事業者登録番号) |
money_forward_invoice_list_partners | List partners (取引先) with id, code, name, kana, memo, their departments (請求先部門, with the id needed for billings) and default payment due date |
money_forward_invoice_get_partner | Read one partner (取引先) with its departments and payment due date setting |
money_forward_invoice_create_partner | Create a partner (取引先) with up to 10 departments (請求先) |
money_forward_invoice_update_partner | Change a partner (取引先): name, code, kana, honorific, memo or default payment due date |
money_forward_invoice_list_partner_departments | List the departments (請求先部門) of a partner: id, address, contact person, email and CC |
money_forward_invoice_get_partner_department | Read one department of a partner with address, contact and email |
money_forward_invoice_create_partner_department | Add a department (請求先) to a partner, e.g. a second billing address or contact |
money_forward_invoice_update_partner_department | Change the address, contact or email of a partner department |
money_forward_invoice_list_items | List items (品目) with id, name, code, detail, unit, price, quantity and tax category |
money_forward_invoice_get_item | Read one item (品目) with its code, detail, unit price, unit, quantity and tax category |
money_forward_invoice_create_item | Create an item (品目) with price, unit and tax category, for reuse in billings and quotes |
money_forward_invoice_update_item | Change an item (品目): name, code, detail, unit, price, quantity or tax category |
money_forward_invoice_list_billings | List billings (請求書) with number, title, partner, dates, subtotal, tax, total and payment, email and posting status |
money_forward_invoice_get_billing | Read one billing (請求書) with its lines, tax breakdown per rate, totals, statuses, partner and your own registration number |
money_forward_invoice_create_billing | Create a billing (請求書) in the qualified invoice format (インボイス制度対応) for a partner department, with its lines |
money_forward_invoice_update_billing | Change the header of a billing: department, dates, title, number, payment terms, remarks, memo or tags |
money_forward_invoice_list_billing_items | List the lines of a billing with their id, name, quantity, price and tax category |
money_forward_invoice_add_billing_item | Add a line to a billing, from an item (item_id) or written out |
money_forward_invoice_remove_billing_item | Remove one line from a billing (the item master stays) |
money_forward_invoice_update_billing_payment_status | Set the payment status (入金ステータス) of a billing: 0 not set, 1 unpaid (未入金), 2 paid (入金済み) |
money_forward_invoice_post_billing | Order postal mailing (郵送) of a billing by Money Forward |
money_forward_invoice_delete_billing | Delete a billing (請求書) with its lines for good; it cannot be restored |
money_forward_invoice_list_quotes | List quotes (見積書) with number, title, partner, quote and expiry dates, totals and order status |
money_forward_invoice_get_quote | Read one quote (見積書) with its lines, totals and order status |
money_forward_invoice_create_quote | Create a quote (見積書) for a partner department, with its lines |
money_forward_invoice_update_quote | Change the header of a quote: department, dates, title, number, remarks, memo or tags |
money_forward_invoice_add_quote_item | Add a line to a quote, from an item (item_id) or written out |
money_forward_invoice_update_quote_order_status | Set the order status (受注ステータス) of a quote: -1 lost (失注), 0 not set, 1 not ordered yet (未受注), 2 ordered (受注済み) |
money_forward_invoice_convert_quote_to_billing | Create a billing (請求書) from a quote, with the same partner and lines |
money_forward_invoice_delete_quote | Delete a quote (見積書) with its lines for good; it cannot be restored |
money_forward_invoice_list_sent_histories | List the sending history (送付履歴) of billings and quotes: document type and id, from, to, cc, sender and sent time |
示例提示
- “日期在 10 月的请求书中,哪些仍是 未入金?显示往来单位、编号、合计和付款期限。”
- “给 株式会社サンプル 的 経理部 建一张请求书草稿,两行明细:保守サポート 10月分 50,000 日元和 追加作業 20,000 日元,均为 10% 税率。先给我看。”
- “请求书 2026-0142 昨天已收款,请标记为 入金済み。”
- “报价单 Q-0087 已被接受:设为 受注済み,转成请求书,并给我看日期。”
- “9 月份发给 株式会社ミドリ 的请求书是什么时候发送的,发到了哪些邮箱?”
FAQ
Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。
Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。
下一步
这份指南对你有帮助吗?