Share
Embed
Transcript
41 slides
-
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS MCP Servers 入門 Naoto Oiso Solutions Architect Amazon Web Services Japan A W S E X P E R T O N L I N E F O R J A W S - U G 2025/05/14 -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Naoto Oiso / 大磯 直人 Solutions Architect インターネット業界の企業様担当のSA。 • 好きなもの ・ラーメン、お酒、マンガ、コンテナ、K8s、サーバレス • 好きなAWSサービス Amazon Rekognition Face Liveness -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. アジェンダ • 本日のゴール • MCP (Model Context Protocol) とは • AWS MCP Servers 紹介& デモ • クロージング -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 本⽇のゴール -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS MCP Servers が何ができるかを知ろう。 自身の業務に活用してみよう。 本日のゴール -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. MCP (Model Context Protocol) とは - 生成AIアプリケーション用 の 統一的な機能拡張プロトコル -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 7 MCP (Model Context Protocol) MCP は 基盤モデルを利用した複雑なエージェントやワークフローの実現を 支援するための オープンなプロトコル仕様 (※Anthropic社 が 提唱・策定) 特徴 • AIアプリケーションにおける統合の 複雑さを解決するためにAnthropic社が策 定したオープンなプロトコル • JSON-RPC 2.0を ワイヤプロトコル として採用 • Client-Server型アーキテクチャ • ホストアプリがツールやデータセットを 横断的に切替え、自律的な動作が可能に • バージョン 2025-03-26 でより実用的に 進化 (例:Streamable HTTP や OAuth2.1認証の仕様化 など) https://modelcontextprotocol.io/ ローカルPC や サーバー リモートサービス リモートMCPサービス Hostアプリケーション with MCP Client (IDEs, Tools, …) MCP Server A MCP Server B MCP Server C MCP MCP MCP ローカル リソース Web APIs リソース 基盤モデル -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. MCP の構成要素 https://modelcontextprotocol.io/introduction MCP Hosts: IDE や Claude Desktop のような ツール連携元のアプリ MCP Clients: MCP Server と 1:1 の接続を維持 し、 MCP プロトコルで MCP サーバを呼び出すクライアント MCP Servers: 標準化されたモデルコンテキストプロ トコルを通じて特定の機能を公開する 軽量プログラム -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 11 MCP のメリット ( MCP サーバー提供側) MCPがあることで AIアプリケーション と 多様なクライアント とが 統一的なインターフェースで接続できる MCP の 登場以前 MCP の登場以降 アプリ(AIサービス) 自社開発のコード Host/Client #1 (例:VS Code, Cline) AIアプリ1用 コード Host/Client #2 (例:Claude Desktop) Host/Client #n (AIアプリ, エージェント) AIアプリ2用 コード AIアプリn用 コード … … アプリ(AIサービス) Host/Client #1 (例:VS Code, Cline) Host/Client (例:Claude Desktop) Host/Client (AIアプリ, エージェント) … MCP Server (自社開発) MCP Host/Client MCP Serverを1つ開発 すれば多様なHost/ Clientから利⽤できる Hostの種類ごとに そのI/F仕様にあわせた 実装が必要だった -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 12 MCP のメリット (ユーザー側) MCPがあることで AIアプリケーション と 多様なクライアント とが 統一的なインターフェースで接続できる 引用元:https://norahsakal.com/blog/mcp-vs-api-model-context-protocol-explained/ MCPは "AIアプリケー ションにおけるUSB-C" に喩えられる -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 13 MCP - ホストアプリケーション(with MCP Client) 例 ユーザーは、MCP Client 機能を実装した ホストアプリケーション を利用 → 様々な MCP ホストアプリケーション が存在 (※下図は一部のみの例) Claude Desktop Cline Cursor Amazon Q Developer CLI MCP Server Windsurf -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 14 Amazon Q Developer CLI でMCP のサポートを開始 -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 15 MCP - MCP Server 例 MCP は 2024年11月の仕様公開から急速に普及が進み、多数のITベンダーが 既存・新規を問わず自社サービス接続用の MCP Server 実装を公開 Playwright MCP Server GitHub MCP Server Slack MCP Server Figma MCP Server Brave Search MCP Server Blender MCP Server AWS MCP Servers 基盤モデルが GitHub を操作 (ワークフロー処理を自動化) 基盤モデルが Slack を操作 (チャネルへpost、reply、…) 基盤モデルが Figma のデザインを利用 (コード生成、部品生成) 基盤モデルが Web検索を実行し、様々な情報を取得 基盤モデルが Blender の3Dモデルを操作 基盤モデルが ブラウザUIを操作 (自動UIテスト、RPA的処理、…) AWS ビルダー向けの様々な機能を提供 -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS MCP Servers ツール紹介& デモ -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS MCP Servers (2025/05/14時点) 17 • Core MCP Server • AWS Documentation MCP Server • Amazon Bedrock Knowledge Bases Retrieval MCP Server • AWS CDK MCP Server • Cost Analysis MCP Server • Amazon Nova Canvas MCP Server • AWS Diagram MCP Server • AWS Lambda MCP Server • AWS Terraform MCP Server • AWS Location Service MCP Server • Postgres MCP Server • Git Repo Research MCP Server • Postgres MCP Server • Code Documentation Generation MCP Server • Synthetic Data MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 基本構成 -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Diagram MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Diagram MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Cost Analysis MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Terraform MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Cost Analysis MCP Server ✕ AWS Terraform MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Terraform MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Terraform MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Terraform MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Terraform MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Terraform MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Terraform MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Terraform MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS CDK MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Documentation MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Code Documentation Generation MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Git Repo Research MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS Location Service MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Postgres MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Synthetic Data MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Bedrock Knowledge Bases Retrieval MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Amazon Nova Canvas MCP Server -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. クロージング -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 例: Amazon Q Developer Cli から MCP を利⽤する 44 https://aws.amazon.com/jp/blogs/news/extend-the-amazon-q-developer-cli-with-mcp/ グローバル: ~/.aws/amazonq/mcp.json ワークスペース: .amazonq/mcp.json に mcpServers を設定するだけ q chat 実行時に MCP 設定が読み込まれ、 ツールとして利用可能に。 自身の業務に活用してみよう! -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS MCP Servers が何ができるかを知ろう。 自身の業務に活用してみよう。 本日のゴール -
© 2025, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Thank you!