Protocol(MCP)とは、LLMアプリケーションと外部データソースやツールとの 連携を目的としたAnthropic社によって標準中のオープンプロトコル。 • AI搭載IDEの構築、チャットインターフェースの拡張、カスタム AIワークフローの作成などに用い られる。 MCP Server MCP Client LLM applications that initiate connections Connectors within the host application Services that provide context and capabilities Tools MCP Protocol JSON-RPC 2.0 HTTP or stdio Host 5
• MCP Serverを公開することによって多数のMCP Clientと接続でき、 外部データリソースやツールの利活用が進む利点がある。 • MCP Serverが多数存在することが想定されるため動的な登録と利用が求められる。 MCP Server MCP Client LLM applications that initiate connections Connectors within the host application Services that provide context and capabilities External data sources and Tools MCP Protocol JSON-RPC 2.0 HTTP or stdio Host External network 6
• 多段のOAuthをサポートすることでMCP Serverの外部データリソース接続も安全になる。 • OAuthには動的な登録や利用に対応した拡張仕様が提供されている。 • 今回はMCPにおけるOAuthのアクセス管理について解説する。 MCP Server MCP Client LLM applications that initiate connections Connectors within the host application Services that provide context and capabilities External data sources and Tools MCP Protocol JSON-RPC 2.0 HTTP or stdio Host Attacker External network 7