回避策
直し方は下の引用(報告者本人の確認・原文のまま)です。
英語の要約: 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 |
|---|---|
| issue | Invoice 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 のほかのエラー
- freee MCP のエラー「Couldn't reach the MCP server. You can check the server URL and verify the server is…」— 公式 GitHub issue にある直し方
- freee MCP のエラー「401 Unauthorized」— 公式 GitHub issue にある直し方
- freee MCP のエラー「MCP error -32602: Input validation error: Invalid arguments for tool freee_api_put: [」— v0.26.4 で解消
- freee MCP のエラー「Starting OAuth flow...」— 公式 GitHub issue にある直し方