freee MCP · エラーと直し方 · GitHub から 2026-11-07 に読み取り

English

freee MCP のエラー「401 company_not_found」— 公式 GitHub issue にある直し方

issue: Invoice API requires company_id but the tool schema does not indicate this to AI assistants

回避策
直し方は下の引用(報告者本人の確認・原文のまま)です。
英語の要約: Installing freee-api-skill with `npx skills add freee/freee-mcp -g` lets the AI agent call the API correctly.

エラー

401 company_not_found

報告された issue: freee/freee-mcp #479「Invoice API requires company_id but the tool schema does not indicate this to AI assistants」

直し方(原文)

`npx skills add freee/freee-mcp -g` で freee-api-skill をインストールしたところ、AI Agent が自動的にスキルを発動し、レシピ(`recipes/invoice-operations.md`)から `company_id` 必須の情報を取得して、正しく API を呼び出せることを確認しました。

— issue 上の報告者本人の確認。

出典と日付

リポジトリfreee/freee-mcp
issueInvoice API requires company_id but the tool schema does not indicate this to AI assistants
根拠報告者本人の確認
状態回避策(根拠のコメントにある回り道)
直った版版の名前は書かれていない
issue が閉じた日2026-06-04
GitHub から読んだ日2026-11-07
人が承認した日2026-11-07

このページは、提供元自身の GitHub リポジトリに書かれていることの記録です。エラー文・issue の題・引用は原文のままで、冒頭の英語の要約は引用の範囲の 1 文です。2026-11-07 に人が確認して承認しました。KanseiLink は直し方を自分で再現していません。当てる前に issue を読んでください。内容が変わっていたら contact@synapse-arrows.com までお知らせください。

AI エージェント向け

同じ事実は、KanseiLink の MCP サーバー(https://mcp.kansei-link.com/mcp)の lookup({ service_id: 'freee' }) が issue_facts として返します。接続の情報はfreee のサービスページ(英語)にあります。

freee MCP のほかのエラー