OM

openziti/mcp-gateway

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

56 stars 8 forks 品質 75 トレンド 21Apache-2.0

MCP サーバーの信頼ゲートウェイゼロ VPN、オープンポート、または露出エンドポイントなしで、どこからでもMCPツールを収集、フィルタリング、セキュアにアクセスします.

概要

MCPの特長 Gateway は、AI アシスタントが公開エンドポイントを公開することなく内部ツールを安全にアクセスできるようにします。 OpenZiti、zrok、Agoraに組み込まれた、攻撃面のない暗号化されたゼロ信頼接続を提供します。 MCPの特長 ゲートウェイは、セキュアなワークロードとエージェントコンピューティングのためのソリューションのポートフォリオの一環として、NetFoundry が主催しています。 NetFoundryはOpenZitiとzrokのクリエイターです。 一緒に働く3つの簡単なコンポーネント: MCP サーバーは通常、stdio 経由でローカルで動作します。 リモートマシンでツールにアクセスしたり、チーム全体で共有したりするには、セキュリティリスクをクリアするエンドポイントを公開する必要があります。 露出したMCPツーリングの確保は複雑です.

概要(AI 翻訳)

OpenZiti上のMCPツールへのゼロトラストアクセス

MCPの特長 Gateway は、AI アシスタントが公開エンドポイントを公開することなく内部ツールを安全にアクセスできるようにします。 OpenZiti、zrok、Agoraに組み込まれた、攻撃面のない暗号化されたゼロ信頼接続を提供します。

MCPの特長 ゲートウェイは、セキュアなワークロードとエージェントコンピューティングのためのソリューションのポートフォリオの一環として、NetFoundry が主催しています。 NetFoundryはOpenZitiとzrokのクリエイターです。

トリフェカ

一緒に働く3つの簡単なコンポーネント:

| 製品情報 | 目的 | お問い合わせ |mcp-tools | MCP クライアントをリモート Zrok 共有またはアゴラ トンネル(stdio または HTTP)に接続 | |mcp-gateway | 複数のバックエンドをzrokおよび/または Agoraの1つの安全なエンドポイントに割り当てる | |mcp-bridge | zrok や Agora を超えるネットワークに単一の MCP サーバーを公開 |

なぜ?

Problem: MCP サーバーは通常、stdio 経由でローカルで動作します。 リモートマシンでツールにアクセスしたり、チーム全体で共有したりするには、セキュリティリスクをクリアするエンドポイントを公開する必要があります。 露出したMCPツーリングの確保は複雑です。

ソリューション: MCP Gateway は、OpenZiti のオーバーレイネットワークを使用して、「ダークサービス」を作成します。

  • パブリックIPを聴くことはありません

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP Gateway

Zero-trust access to MCP tools over OpenZiti

MCP Gateway lets AI assistants securely access internal tools without exposing public endpoints. Built on OpenZiti, zrok, and Agora, it provides cryptographically secure, zero trust connectivity with no attack surface.

MCP Gateway is sponsored by NetFoundry as part of its portfolio of solutions for secure workloads and agentic computing. NetFoundry is the creator of OpenZiti and zrok.

The Trifecta

Three simple components that work together:

Component Purpose
mcp-tools Connects MCP clients to remote zrok shares or Agora tunnels (stdio or HTTP)
mcp-gateway Aggregates multiple backends into one secure endpoint over zrok and/or Agora
mcp-bridge Exposes a single MCP server to the network over zrok or Agora
flowchart LR
    A[Agent] -->|stdio| B[mcp-tools]
    B -->|zrok or Agora| C[mcp-gateway]
    C -->|stdio / zrok / Agora / HTTP| D[MCP Servers]
    C -->|https| E[Remote MCP APIs]

Why?

Problem: MCP servers typically run locally via stdio. To access tools on remote machines or share them across a team, you need to expose endpoints—creating security risks. Securing exposed MCP tooling can be complicated.

Solution: MCP Gateway uses OpenZiti’s overlay network to create “dark services” that:

  • Never listen on public IPs
  • Require cryptographic identity to access
  • Work through NATs and firewalls without port forwarding
  • Can publish and serve through Agora catalogs and Layer 1 tunnels
  • Are incredibly simple to deploy securely

Quick Start

New to MCP Gateway? See the Getting Started Guide for a complete walkthrough.

1. Install

go install github.com/openziti/mcp-gateway/cmd/...@latest

2. Enable zrok

Note: mcp-gateway requires zrok v2.0.x or later. Currently the best release is zrok v2.0.0-rc7

zrok2 enable   # get token at https://api-v2.zrok.io

3. Run a Gateway

Create config.yml:

aggregator:
  name: "my-gateway"
  version: "1.0.0"

backends:
  - id: filesystem
    transport:
      type: stdio
      command: npx
      args: ["-y", "@modelcontextprotocol/server-filesystem", "/home/user/documents"]

  - id: github
    transport:
      type: stdio
      command: npx
      args: ["-y", "@modelcontextprotocol/server-github"]
      env:
        GITHUB_TOKEN: "ghp_xxx"
mcp-gateway run config.yml
# outputs: {"share_token":"abc123..."}

4. Connect from Agent

Add to agent config:

{
  "mcpServers": {
    "my-tools": {
      "command": "mcp-tools",
      "args": ["run", "abc123..."]
    }
  }
}
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "my-tools": { "command": "mcp-tools", "args": ["run", "abc123..."] } } }