MCP 実践辞典 — Model Context Protocol を単なる「共通コネクタ」としてではなく、サーバー/クライアント/ホスト、トランスポート、認可、ツールの機能、サーバーの信頼性、サプライチェーン、監査を分離した企業運用契約として整理する

実務ガイド実務ガイド実挙動未確認実挙動未観測現行現行として扱う
最終確認日
2026-10-11
記事ID
EA-005

要点

「MCPは、AIアプリケーションと外部のデータやツールを共通形式で接続するためのプロトコルであり、接続先やツールの安全性を自動的に保証する仕組みではない。2026-07-28の仕様では、ステートレス化とOAuthの強化が進んでおり、HTTP接続ではリソース制限付きトークン(resource-bound token)や段階的な権限(scope)の取得を扱うことができる。しかし、どのMCPサーバーを信頼するか、どのツールをモデルに公開するか、実行をポリシーや人間が許可するか、下流のAPIへどの権限で接続するか、ローカルプロセスをどこまでサンドボックス化するか、何を監査するかは、別の運用判断である。MCPの導入においては、プロトコルバージョン、サーバーの出典・来歴、アイデンティティ、権限範囲(scope)、ツールの機能、承認、実行時の分離、監査を分けて設計する必要がある。」

現在の判断

EA-005は高い採用価値があり、実践辞典は「MCPを使うか否か」ではなく次の七層に分けると安全である。 A. プロトコル/バージョン層:合意されたMCP改訂版、SDKバージョン、非推奨機能、トランスポート。2026-07-28 を現行の基準とし、旧セッション/HTTP+SSE の知識にバージョンを付与する。 B. サーバーの信頼性/サプライチェーン制御層:サーバー所有者、ソースリポジトリ、パッケージ/イメージの出典・来歴、リリース/ハッシュ/署名、レジストリのソース、承認済みカタログ。プロトコルの適合性と信頼性を分離する。 C. アイデンティティ/認可層: ユーザー/ワークロードのアイデンティティ、MCPリソーストークン、範囲、リソース/オーディエンス、ステップアップ認証、ダウンストリームAPIトークン。トークンのパススルーは禁止。 D. Capability/tool plane: tools/resources/prompts、input/output schema、read/write/destructive/open-world性、dynamic tool list、tool-name collision。annotationはsecurity enforcementではなくuntrusted metadataとして扱う。 E. Decision/approval plane: modelがtoolを選ぶことと、policyが許可することと、人間が承認することを三分離する。high-impact actionはmodel decisionだけで実行しない。 F. Runtime/isolation plane: stdio subprocess/local filesystem/env credential、remote HTTP endpoint、network egress、sandbox、resource limit、secret store。local serverは単なるdata connectorではなくlocal software execution boundaryである。 G. Audit/change-control plane: server/version、tool catalog hash/diff、auth subject/scope、tool call、argumentsの機密mask、result/error、approval actor、side effect、downstream target、policy decision、latencyを相関可能にする。

どこまで当てはまるか

プロトコル: クライアント/サーバー双方の2026-07-28サポート、SDKバージョン、トランスポート、拡張機能のネゴシエーション。 リモート認証:HTTPS、保護されたリソースのメタデータ、認可サーバーのメタデータ、クライアント登録方法、PKCE、リソース/オーディエンスのサポート、要求されたスコープ、およびIdP(IDプロバイダー)のポリシー。 EMA: 組織のIDプロバイダー、EMA対応のクライアント/サーバー/認可サーバー、エンタープライズポリシー/設定。 ツールへのアクセス:ユーザー/ワークロードの範囲、ツールのリストフィルタリング、サーバー側での認可、ダウンストリームAPIの権限、組織の許可リスト。 Local server: executable/package availability、OS/runtime、filesystem/network/env permission、secret injection、sandbox/container policy。 レジストリ/発見: レジストリ/バージョン/出典、パッケージレジストリの可用性、組織による承認。公開リストへの掲載のみでは承認とはみなされません。

詳しく理解する

対象範囲と前提

エンタープライズAI Core:ツール/アクションの境界、最小権限の原則、識別/認可、監査、サプライチェーンの信頼性、障害の分離。 Interoperability: MCP 2026-07-28 core、stdio / Streamable HTTP、OAuth/OIDC、EMA extension。 実装:公式SDK、Inspector、レジストリ、ホスト/クライアント/サーバーの実装。 Governance: approved-server catalog、tool allowlist、change control、human approval、telemetry。 Security: prompt/tool poisoning、token misuse、confused deputy、command injection、shadow servers、context oversharing。

検討ポイント

Q1. MCPへの準拠は安全なツールの利用を意味するのか、それとも、トランスポート/相互運用性と、信頼/権限/操作ポリシーを分離すべきなのか。 Q2. 2026-07-28仕様で旧MCP運用知の何が陳腐化したか。 Q3. OAuth対応だけでleast privilegeとdownstream API権限分離は成立するか。 Q4. tool metadata/schema/annotationを、実行権限や安全保証として信用してよいか。 Q5. enterprise deploymentではserver discovery/registry、package provenance、tool inventory、change detection、human approval、auditをどこまで別controlとして持つべきか。

根拠資料

  • 資料の種類:公式仕様の提供版 exact title: The 2026-07-28 Specification 組織:Model Context Protocol プロジェクト;作成者:David Soria Parra / Den Delimarsky canonical URL: https://blog.modelcontextprotocol.io/posts/2026-07-28/ 公開・更新・参照:2026-07-28 / 参照日 2026-09-11 version: MCP 2026-07-28 locator: stateless core; MRTR; header routing; cacheable lists; authorization; extensions; deprecations 根拠の区分:仕様で確認済み/製品の変更に注意 対応関係:裏付け/時期による境界 確立された事実: 2026-07-28 は、プロトコルのコアをステートレスなリクエスト/レスポンスへ変更し、各リクエストを自己記述化し、Mcp-Method/Mcp-Name ヘッダー、MRTR、認可の強化、拡張フレームワーク、および 12 か月以上の廃止猶予期間を導入した。旧来のセッション/双方向ストリームを前提としたものを現在のベースラインとはしない。
  • 資料の種類:公式の認可仕様 exact title: Authorization 著者・組織:Model Context Protocolプロジェクト canonical URL: https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2026-07-28/basic/authorization/index.mdx 公開・更新・参照:MCP 2026-07-28 / 参照日 2026-09-11 version: 2026-07-28; OAuth 2.1 draft-13, RFC6750/8414/8707/9728/9207等を参照 locator: Purpose and Scope; Roles; discovery; scope minimization; resource parameter; token handling; step-up authorization 根拠の区分:仕様で確認済み relation: support / boundary established: authorizationはHTTP transportでOPTIONAL。HTTPで採用する場合、MCP serverはOAuth protected resourceとして振る舞い、Protected Resource Metadata、authorization-server discovery、resource indicator、audience-bound token validationを使う。stdioではこのauthorization specを使わずenvironment credentialを用いる。scopeはoperationに応じstep-up可能。
  • 資料の種類:公式のツール仕様 exact title: Tools 著者・組織:Model Context Protocolプロジェクト canonical URL: https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2026-07-28/server/tools.mdx 公開・更新・参照:MCP 2026-07-28 / 参照日 2026-09-11 version: 2026-07-28 locator: User Interaction Model; Capabilities; Tool Names; annotations; schemas 根拠の区分:仕様で確認済み 対応関係:裏付け/反証/信頼境界 established: toolsはmodel-controlledで自動発見・呼出し可能だがprotocolはUI/approval方式を強制しない。仕様はhuman-in-the-loopでdeny可能にすること、tool exposure/invocationを明示するUIを推奨する。tool annotationsはtrusted server由来でない限りMUST be considered untrusted。tools/listはauthorizationに応じ異なるtool集合を返し得る。異なるserverをaggregateするとtool name collisionも起こり得る。
  • 資料の種類:公式のセキュリティ方針・信頼モデル 正確なタイトル: modelcontextprotocol/modelcontextprotocol Security — 意図された動作と信頼モデル 著者・組織:Model Context Protocolプロジェクト canonical URL: https://github.com/modelcontextprotocol/modelcontextprotocol/security 公開/アクセス: 現在のページ; アクセス日: 2026-09-11 version: current trust model; security advisories current 2026 locator: Trust Model; client developer responsibilities; operator/user responsibilities; vulnerability scope 根拠の区分:仕様で確認済み/製品の変更に注意 関係性: サポート / 重要な境界 established: MCP clientは接続serverを信頼する設計であり、local MCP serverは「インストールする他のsoftwareと同程度」に信用する必要がある。client developerはcapability表示・consent・tool/resource visibility・sandboxingを担い、operator/adminはserver選定・設定・access restrictionを担う。protocol準拠それ自体がserver/packageをtrustworthyにするわけではない。
  • source class: official author-maintained SDK implementation exact title: modelcontextprotocol/go-sdk README / protocol docs 著者・組織:Model Context Protocolプロジェクト + Google collaboration canonical URL: https://github.com/modelcontextprotocol/go-sdk 公開・更新・参照:現行の保管先 / 参照日 2026-09-11 version: Go SDK v1.7.0+ supports MCP 2026-07-28 locator: Version Compatibility; authorization/security implementation notes label: OSS_PRACTICE + 製品情報は要再確認 対応関係:実装/互換性 established: SDK versionとprotocol revisionは同義ではなく、v1.7.0+が2026-07-28をsupportする一方、older linesは2025-11-25等をtargetする。roots/sampling/loggingは2026-07-28でdeprecatedだがcompatibility windowでは残る。deployment inventoryにはSDK versionとnegotiated protocol versionの両方が必要。
  • 資料の種類:公式の参照試験ツール exact title: MCP Inspector 著者・組織:Model Context Protocolプロジェクト canonical URL: https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/docs/2026-07-28/tools/inspector.mdx 公開・更新・参照:2026-07-28 文書 / 参照日 2026-09-11 バージョン: Inspectorの現在の情報; ノード: 22.19+ surface locator: Web/CLI/TUI; shared transport/auth/protocol-era behavior label: OSS_PRACTICE + 仕様確認済み + 製品情報は要再確認 対応関係:実装/試験計画 established: InspectorはWeb/CLI/TUIでserver接続・tool/resource等を検証するreference developer toolであり、legacy/current protocol negotiationとOAuth状態を共有する。安全なpre-production conformance/probeに使えるが、business authorization policyやmalicious-server safetyを自動保証するものではない。
  • 資料の種類:公式の拡張仕様 exact title: Enterprise-Managed Authorization 著者・組織:Model Context Protocolプロジェクト canonical URL: https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/extensions/auth/enterprise-managed-authorization.mdx 公開・更新・参照:安定版の拡張機能 2026 / 参照日 2026-09-11 version: io.modelcontextprotocol/enterprise-managed-authorization locator: centralized IdP access control; enterprise policy 根拠の区分:仕様で確認済み/製品の変更に注意 対応関係:裏付け/企業向けの利用条件 established: EMAは各userが各serverで個別authorizationするだけのモデルを拡張し、organization IdPを用いた中央access policyを提供する。core authorizationとは独立versionのoptional additive extensionであり、client/server実装supportを別確認する必要がある。
  • 資料の種類:独立したセキュリティ研究 exact title: Model Context Protocol Threat Modeling and Analyzing Vulnerabilities to Prompt Injection with Tool Poisoning org/authors: Charoes Huang et al. canonical URL: https://arxiv.org/abs/2603.22489 ; peer-reviewed version DOI 10.3390/jcp6030084 公開・更新・参照:2026-03-23 arXiv; 2026-05-05 学術誌 / 参照日 2026-09-11 version: study of seven major MCP clients ロケーター:抽象的;STRIDE/DREAD脅威モデリング;ツールの汚染に関する実証比較 label: RESEARCH 対応関係:反証/失敗の範囲 established: client-side tool poisoningを主要riskとして分析し、複数clientでstatic validationやparameter visibilityが不十分なケースを報告する。protocol/tool schemaが存在することと、hostがmalicious metadataを安全に扱えることは同義でない。
  • 資料の種類:セキュリティ分野のコミュニティによる枠組み 正確なタイトル: OWASP MCP Top 10 v0.1 / 2025 カテゴリ 著者・組織:OWASP Foundation canonical URL: https://owasp.org/www-project-mcp-top-10/ 公開・更新・参照:ベータ提供の状態の基準日 2026-09 / 参照日 2026-09-11 version: v0.1 beta; next release planned Oct 2026 locator: MCP01–MCP10; roadmap 根拠の区分:提供元の報告/製品の変更に注意 対応関係:背景情報/リスク分類/適用限界 established: current beta taxonomyはtoken/secret exposure、scope creep、tool poisoning、supply-chain tampering、command injection、intent/prompt subversion、weak auth、audit gaps、shadow MCP servers、context oversharingを別riskとして扱う。 limit: OWASP MCP Top 10は現在beta/community frameworkであり、normative MCP specificationや正式standardとして扱わない。
  • 資料の種類:公式台帳の実装と問題報告の根拠 正確なタイトル: modelcontextprotocol/registry README; レジストリは、スキーマに反して空のリポジトリを含む server.json を受け入れる 著者・組織:Model Context Protocolプロジェクト canonical URLs: https://github.com/modelcontextprotocol/registry ; https://github.com/modelcontextprotocol/registry/issues/1546 publication/access: registry preview/API freeze history; issue reproduced 2026-08-19 / accessed 2026-09-11 version: registry v0.1 preview lineage 所在: 開発ステータス; Issue #1546 ライブ再現 label: OSS_PRACTICE + SOURCE_REPORT + 製品情報は要再確認 関係: サポート / 反対 / サプライチェーンの制限 established: official Registryはserver discovery/publishingのmetadata layerとして実在するが、preview lineageであり、2026-08にはschema-required repository metadataを欠くentryがlive APIで受理されたissueが報告されている。registry掲載をsecurity approval/provenance guaranteeとみなさず、組織内allowlist・artifact verificationを別controlにする必要がある。

Refresh lineage

This candidate advances the existing refresh revision EA-005-R1-20261004. It does not create a second independent base candidate. The rescued base lineage EA-005-V21-LEGACY-MIGRATION-20261011-R1 remains historical provenance and converges into this active refresh.

Current primary evidence

decision

PASS_FOR_EXISTING_REFRESH_REVISION。2026-10-04の更新ですでに RESEARCH_GATE_PASS は記録済みです。2026-10-11時点の最新情報により、コアとなるプロトコル/SDKの境界が確認されており、全面的な再調査を必要とする矛盾は見当たりません。

確認できていること

  • 最も重要な境界線は、「MCPは相互運用性のためのプロトコルであり、サーバーやツールの安全性証明ではない」という点です。たとえ OAuth が正しくても、悪意のある信頼されたサーバー、汚染されたツールの説明、過大な権限範囲、安全でないコマンド構築、信頼できないパッケージ、監査の欠如といった問題は、別途検討すべき課題として残ります。また、2026-07-28 時点では、ステートレス化によってゲートウェイ、ルーティング、スケーリングの設計は改善されますが、リクエストごとのアイデンティティ、権限、およびポリシー適用を省略してよいという意味ではありません。

  • MCP 2026-07-28仕様は、2026-10-11時点で公式の適合性マトリックスにおける現在の最終改訂版であり、次に記載されている改訂版は準備ができていません。

  • The TypeScript SDK v2 is now the stable line implementing the 2026-07-28 spec. Its documentation explicitly separates the modern 2026-07-28 era from legacy 2025-era protocol behavior.

  • TypeScript v1はメンテナンスラインであり、2026-07-28の改訂版は実装されません。したがって、SDKパッケージのメジャーバージョンと、合意されたプロトコルの改訂版は個別に記録する必要があります。

  • The Python SDK v2 is likewise the stable line for the 2026-07-28 revision.

  • The 2026-07-28 TypeScript migration documentation makes support an explicit opt-in/compatibility concern rather than something inferred from package presence.

  • The official conformance matrix still shows implementation differences by SDK and SEP. “Official SDK” therefore does not imply complete parity across every feature.

  • これらはいずれも、正式なエンタープライズ境界を変更するものではない。プロトコルの相互運用性、サーバー/パッケージの信頼性、認可、下流APIの権限、人またはポリシーによる承認、実行時の分離、サプライチェーンの来歴、および監査の完全性は、引き続き個別の制御対象として残る。

よくある失敗・反証

  • MCP準拠やofficial Registry掲載をsecurity certificationとして扱わない。

  • OAuth/OIDC導入をleast privilege完了とみなさない。scope設計、resource/audience validation、downstream token分離、operation-level authorizationが必要。

  • tool annotationのreadOnly/destructive等はtrusted server由来でない限り信用しない。side-effect controlはserver実装・policy・approvalで検証する。

  • modelが「安全そう」と判断したtool callをauthorization decisionにしない。prompt/tool poisoningでsemantic decisionが操作され得る。

  • local stdio serverはnetwork authがないから安全なのではない。起動package/commandにlocal process相当の権限を与えるため、provenance・sandbox・env secret・filesystem/network scopeが重要。

  • remote serverはHTTPS/OAuthだけで安全とは限らない。server自身とdownstream APIが別trust boundary。

  • dynamic tools/list変更、server update、registry metadata driftによりapproval後のcapabilityが変わり得る。tool catalog/versionを継続観測する。

  • 2026-07-28移行中はclient/SDKごとのprotocol supportが揃わない。deprecated featureが互換目的で残る期間を「current recommended design」と混同しない。

  • OWASP MCP Top 10はベータ版であり、リスクの分類法としては有用ですが、規範的な標準ではありません。

  • tool-poisoning研究は特定client/version/configの結果であり全MCP clientへ一般化しない。

  • MCP compliance, official SDK use, or public Registry listing is not a security certification.

  • OAuthのサポート自体は、最小権限の原則や、安全なダウンストリームの認可を確立するものではない。

  • Tool annotations and descriptions are not security truth when server trust is not established.

  • SDKのサポートはバージョンおよび機能に依存します。SDK間での機能の同等性は保証されません。

  • Host behavior, tool-change reapproval, local sandbox defaults, and organization-specific controls remain product/runtime specific.

  • No live tenant, paid API, secret-bearing environment, destructive tool, or production host was exercised in this rescue.

実務での使い方

  • MCP core 2026-07-28: released current protocol revision as of this RUN。 Official Tier-1 SDKs: current release lines differ; Go SDK v1.7.0+ evidence supports 2026-07-28。SDK/protocol compatibility must be recorded per implementation。 Inspector: maintained reference test/debug tooling with modern/legacy negotiation。 EMA:安定した拡張仕様は存在しますが、実際のクライアントおよびサーバーのサポートは製品や実装に依存しており、製品の仕様変更の可能性があります(製品情報は要再確認)。 Registry: operational public discovery infrastructure, but preview/v0.1 lineage and current data-quality issues mean it is not a security trust anchor by itself。 Enterprise policy gateway/central audit: not guaranteed by core MCP; host/provider/product or organization must implement it。

  • MCPの評価を「接続できた」だけで終わらせないこと。最低限のプロファイルは、(1) プロトコルの適合性/バージョン交渉、(2) 認証の対象(audience)/範囲(scope)に関するネガティブテスト、(3) 権限のないツールの不在/拒否、(4) 読み取り専用対副作用の挙動、(5) ツールカタログの乖離、(6) 不正な形式または汚染された説明の処理、(7) ダウンストリームのトークン分離、(8) タイムアウト/リトライ/同じ要求の再送で処理を重複させない仕組み、(9) 監査の完全性/相関関係、(10) サンドボックス/エグレス境界とする。 Inspector/conformance testはprotocol behavior確認用。semantic security、business authorization、supply-chain trustは別testを要求する。

  • Security: server/package provenance、token audience、least scope、downstream credential separation、tool schema validation、policy enforcement、human approval、sandbox/egress controlを多層化。 Privacy: tool arguments/results/resource dataはmodel context・host logs・server logs・downstream APIへ別々に移動し得る。MCP接続という一語でretention/training/data residencyを表現しない。 Audit: protocol loggingだけでなくidentity→authorization→model/tool selection→approval→side effect→downstream resourceまでcorrelation IDで追跡する。secret/PIIはmasking policyを持つ。 Cost: MCP自体のprotocol costではなく、host model tokens、tool API billing、server compute、gateway/observability、human approval、failure/retry costをend-to-endで計測する。 Operability: protocol/SDK/server/tool catalogをversion inventory化し、upgrade時にcontract testとpermission regressionを行う。public Registryはdiscovery、organization catalogはapprovalという役割分離が安全。

まだ確認できていないこと

  • / 再確認条件

    • TypeScript/Python/C#/Java/Rust等各official SDKの2026-07-28完全support versionと未実装差分のcurrent matrix。
    • EMAの主要enterprise hosts/servers/IdPでの実運用採用率とconfiguration evidence。
    • public MCP Registryの2026-09-11時点の正式GA判定、artifact verification/signature/provenance semanticsの完全仕様。
    • 主要MCP hostsがtool descriptions/annotations変更をどのように表示・再承認するかのcross-product matrix。
    • tool poisoningに対する各current hostのstatic/runtime defenseとversion別独立再現。
    • audit event schemaのprovider横断標準化状況。core MCP自体がenterprise audit completenessを保証する範囲。
    • local stdio serverのsandbox/default egress/filesystem isolationが主要clientごとにどう異なるか。
    • x-mcp-header等2026-07-28 tool-routing機能のproduction gateway採用とsecret leakage対策実測。
    • EMAおよびその他のオプション拡張機能に関する、製品ごとの現在のサポート状況。
    • cross-host behavior for changed tool descriptions/annotations and reapproval;
    • public Registry provenance/signature semantics and enterprise approval mapping;
    • host-specific sandbox/default egress/filesystem behavior for local servers;
    • cross-product audit schema completeness.

根拠資料

この根拠欄には、主張に対応づけて登録された外部出典がありません。本文中の引用・参考資料がある場合は、適用条件や未確認事項とあわせて確認してください。

このページから探す

種類

主題

やりたいこと

読み終えたら、次の判断へ

この記事で確かめた条件を、関連する用語・道具・手段・運用知識に接続して確認できます。実装や更新の判断には、各記事の確認時点・根拠・未確認事項を引き継いでください。

最初の知見から実務判断まで、3つの読み方を見る