Skip to content

独自MCPクライアントから hosted MCP に接続すると 401 Unauthorized になる #467

@kytkhrz

Description

@kytkhrz

freee-mcp を独自MCPクライアント(Python/httpxベース)から利用したいです。

現在:

  • freee OAuth application を作成(参考URL
  • access_token 取得成功
  • GET https://api.freee.co.jp/api/1/users/me は 200 OK

までは確認できています。

しかし hosted MCP endpoint:

https://mcp.freee.co.jp/mcp

に対して ツール一覧の取得を実行すると、

401 Unauthorized

になります。

質問です:

  1. https://mcp.freee.co.jp/mcp は、freee Public API の access_token をそのまま Bearer token として利用可能でしょうか?

  2. それとも hosted MCP 用に別の OAuth / MCP auth flow が必要でしょうか?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions