
社内向けCloud Run MCPサーバーをGemini Enterpriseへ安全に接続する方法How to securely connect internal Cloud Run MCP servers to Gemini Enterprise
Cloud Run上の社内専用StreamableHTTP型MCPサーバーを、公開インターネットに晒さずGemini Enterpriseへ接続する手順を解説する。試作から本番へ移す際のセキュリティとネットワークの課題に対処でき、企業の開発チームに役立つ。
A tutorial on linking internal-only StreamableHTTP MCP servers on Cloud Run to Gemini Enterprise without public exposure, addressing production security and networking hurdles for enterprise teams.
AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (developers.googleblog.com) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (developers.googleblog.com).
社内向けのMCPサーバーをCloud Run上で動かし、公開インターネットに晒さずにGemini Enterpriseへつなぐ方法を扱った解説記事だ。試作段階から企業の本番環境へ移すときに直面する、セキュリティとネットワークの課題が主題とされている。
MCPサーバーの用途
Gemini Enterpriseを導入する企業チームでは、AIエージェントを社内API、データベース、業務ワークフローと結びつけるため、独自のModel Context Protocol(MCP)サーバーを構築するケースが増えていると説明されている。
Cloud Runが向く理由
軽量なStreamableHTTP型のMCPサーバーのホスト先として、Cloud Runは自然な選択肢だとされる。理由として挙げられているのは、自動でスケールすること、TLS証明書を標準で管理してくれること、Cloud IAMとネイティブに統合されていることの三点だ。
本番化の三つの課題
一方で、独自のMCPサーバーを試作から企業の本番環境へ移すと、セキュリティとネットワークに関する現実的な課題が三つ、すぐに表面化するという。そのひとつが、公開インターネットへ露出させない「内部専用のイングレス」である。
企業のセキュリティポリシーでは、社内向けMCPサーバーはパブリックなインターネットからの通信をすべて遮断し、プライベートなVPCネットワークからのリクエストだけを受け付けることが求められる。Cloud Run上のサーバーをこの条件に合わせながら、Gemini Enterpriseとどう接続するかが焦点になる。
接続手順の位置づけ
記事は、こうした条件のもとでStreamableHTTP型のMCPサーバーをGemini Enterpriseへ接続する手順を示すチュートリアルとして書かれている。社内専用の構成を保ったまま、AIエージェントと社内システムをつなぎたい企業の開発チームが想定読者である。
Enterprise teams adopting Gemini Enterprise are increasingly building custom Model Context Protocol (MCP) servers, and this tutorial covers how to connect an internal-only StreamableHTTP MCP server running on Cloud Run to Gemini Enterprise without exposing it publicly. It matters because the move from prototype to production brings security and networking requirements that enterprise teams have to meet.
Custom MCP servers
According to the source, teams build these servers to connect AI agents with internal APIs, databases, and business workflows. The article describes the servers as lightweight and built on StreamableHTTP. The tutorial is aimed at enterprise development teams that want to take such a server beyond the initial prototype stage.
Cloud Run as the host
The article calls Google Cloud Run a natural fit for hosting these servers and gives three reasons. It scales automatically, it manages TLS certificates out of the box, and it integrates natively with Cloud IAM. These properties explain why the service is a sensible starting point before the production concerns are addressed.
No public internet exposure
The source says that moving a custom MCP server into an enterprise production environment immediately introduces three real-world security and networking challenges. The one spelled out here is internal-only ingress. Enterprise security policies, the article says, require internal MCP servers to block all public internet traffic and accept requests only from private Virtual Private Cloud (VPC) networks.
That requirement frames the tutorial's central goal. The MCP server must stay unreachable from the public internet, yet Gemini Enterprise still needs to connect to it. The guide walks through how to achieve this, so that a server built for internal APIs, databases, and workflows can be used by AI agents while respecting the network boundary that enterprise policy sets.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPoko社内のAPIやデータベースをAIにつなぎたいとき、この話は何が変わるの?If I want AI to reach our internal APIs and databases, what changes with this?
- TECHガイドTECH Guideこの記事では、Cloud Run上の社内専用MCPサーバーを、公開インターネットに出さずGemini Enterpriseへつなぐ手順を扱っています。This article walks through connecting an internal-only MCP server on Cloud Run to Gemini Enterprise without exposing it to the public internet.
- ポコPoko試作のときは、そのままじゃダメだったの?Wasn't the prototype setup good enough as it was?
- TECHガイドTECH Guide試作から本番に移すと、セキュリティとネットワークの課題が出てくると書かれています。例えば社内向けは、公開通信を遮断してプライベートなVPCからだけ受け付ける必要があります。The article says moving from prototype to production brings security and networking hurdles. For instance, internal servers must block public traffic and accept requests only from private VPC networks.
- ポコPokoじゃあ大事なのは、便利さだけじゃなくて「外に出さない」ことなんだね。So it's not just about convenience. Keeping it off the public internet is the key, right?
- TECHガイドTECH Guideそうですね。記事は課題を3つ挙げていますが、この部分では最初の「公開しない入口」だけが読めます。残りの課題がどう解決されるか、注目したいですね。Right. The article lists three challenges, but only the first, internal-only ingress, is covered here. I'd watch how the remaining ones get solved.
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy



