Classmethod Googlecloud Remote Mcp Servers Ga
GoogleCloudのRemote MCPサーバ(CloudStorage / Pub/Sub / CloudRun)をClaude Codeから試してみる
- URL: https://dev.classmethod.jp/articles/googlecloud-remote-mcp-servers-ga/
- 日付: 2026-06-03
- Tier: Tier 3
- 要旨: Google CloudのRemote MCPサーバ(Cloud Storage / Pub/Sub / Cloud Run)が2026年4月にGAとなり、Claude CodeからOAuth 2.0認証でそれぞれ接続する手順を実際に試した記事。IAM権限がそのまま適用される点が特徴で、既存の運用設定を変えずにAIからGCPを操作できる。
詳細
GAとなったGoogle Cloud Remote MCPサーバ一覧:
| 日付 | サービス | エンドポイント |
|---|---|---|
| 2026/4/15 | Cloud Run MCP server | https://run.googleapis.com/mcp |
| 2026/4/17 | Pub/Sub MCP server | https://pubsub.googleapis.com/mcp |
| 2026/4/20 | Cloud Storage MCP server | https://storage.googleapis.com/storage/mcp |
| 2026/4/20 | BigQuery MCP server | https://bigquery.googleapis.com/mcp |
認証方式: OAuth 2.0 + IAM。サーバ側に別途サービスアカウント不要で、呼び出しユーザーのIAM権限がそのまま適用される。
Claude Codeへの追加コマンド例:
claude mcp add --transport http \
--client-id {クライアントID} --client-secret --callback-port 8080 \
gcp-storage https://storage.googleapis.com/storage/mcpCloud Storage MCPの制約: ファイル読み書きは最大8MiB上限。巨大ファイルの転送には不向き。create_bucket ツールはロケーション引数未対応(デフォルトでUS multi-region)。
接続後、Claude Codeへの自然言語での依頼でバケット作成・オブジェクト書き込み・一覧取得が動作することを確認。CloudのIAM統制をそのままAI操作の境界として活用できる点が実用的。