プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Enterprise MCP Gateway

作者:BenjaminJバージョン 1.0.0i★ –i–
レジストリ名io.github.BenjaminJ/enterprise-mcp-gateway

インストール

概要

作者による説明(英語の原文)

Production-grade MCP Gateway in Go with RBAC, in-flight PII redaction, and audit logging.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: –
  • トランスポート:
  • カテゴリ: 旅行・地図・天気

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

作者はレジストリにインストール情報を載せていません。下にある作者のREADMEをご覧ください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント BenjaminJ で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

旅行・地図・天気のほかのサーバーとの比較i

  • このカテゴリのほかの1708件のうち0%よりスターが多い
  • このカテゴリのほかの1708件のうち30%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1708件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Enterprise MCP Gatewayは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.0)がレジストリに届いたのは2 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。

代わりに使えるものは?

同じカテゴリには:RoamDial — World Radio Map, RoamDial — World Radio Map, Guest Logic Hotel PMS

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Enterprise MCP Gateway

Production-grade, high-performance Model Context Protocol (MCP) Gateway in Go.

A secure, audited, and PII-sanitized bridge connecting AI agents (Claude Desktop, Cursor, Antigravity, LangGraph) to enterprise backends (OpenAPI, Java/Spring Boot, Go microservices, relational databases).

Live Demo: AI Agent querying CRM with in-flight PII & card redaction (left) while the Gateway streams structured JSON audit logs in real-time (right).


🚀 Key Features

  • ⚡ Blazing Fast & Lightweight: Single static Go binary (<25MB resident memory footprint, sub-millisecond routing overhead, zero external runtime dependencies).
  • 🛡️ High-Performance PII & Secret Redaction: Real-time stream and JSON-key masking (Credit Cards with Luhn checksum validation, SSNs, emails, phone numbers, AWS keys, JWTs, GitHub PATs, and custom regex rules) before tool responses reach LLMs.
  • 🔐 Role-Based Tool Governance (RBAC): Token-to-role resolution that limits tool visibility in tools/list and enforces execution permissions during tools/call.
  • 🔌 Dynamic OpenAPI / Swagger Connector: Instantly registers validated MCP tools directly from OpenAPI 3.0/Swagger YAML or JSON specs without writing backend glue code.
  • 📜 Structured JSON Audit Logging: Emits tamper-resistant, structured JSON logs containing caller identity, tool invoked, SHA-256 hashed parameters, execution latency, and PII redaction metrics.
  • 🔄 Dual Transport Support: Fully compliant JSON-RPC 2.0 engine supporting both standard stdio (for Claude Desktop / Cursor) and HTTP Server-Sent Events (SSE) for distributed microservices.

🏗️ Architecture

┌────────────────────────────────────────────────────────┐

│ AI Client (Claude / Cursor / Agent) │ └──────────────────────────┬─────────────────────────────┘ │ JSON-RPC 2.0 (stdio or SSE) ▼ ┌────────────────────────────────────────────────────────┐ │ Enterprise MCP Gateway (Single Go Binary) │ │ │ │ 1. Transport Layer (pkg/mcp/transport) │ │ - Stdio & HTTP-SSE Transceivers │ │ 2. Security & Auth Guard (pkg/governance/rbac) │ │ - Token authentication & least-privilege filtering │ │ 3. Router & Tool Registry (pkg/mcp/protocol) │ │ - JSON-RPC 2.0 & MCP handshake engine │ │ 4. Backend Dispatcher (pkg/connector/openapi) │ │ - Dynamic OpenAPI 3.0 path/query/body mapper │ │ 5. Sanitization Engine (pkg/sanitizer/pii) │ │ - Zero-alloc PII, secret, & JSON key redactor │ │ 6. Structured Audit Logger (pkg/audit) │ │ - Cryptographic JSON event trail for SIEM │ └──────────────────────────┬─────────────────────────────┘ │ Authorized & Sanitized Calls ▼ ┌────────────────────────────────────────────────────────┐ │ Internal Enterprise Services (Java / Go / DBs) │ └────────────────────────────────────────────────────────┘


📦 Quick Start

1. Build from Source

Ensure you have Go 1.24+ installed:

# Clone the repository

git clone https://github.com/BenjaminJ/enterprise-mcp-gateway.git cd enterprise-mcp-gateway

Build gateway and mock backend server

go build -o bin/mcp-gateway ./cmd/gateway go build -o bin/mockserver ./cmd/mockserver

2. Run the Mock Enterprise Backend (Terminal 1)
./bin/mockserver --port 8081
3. Run the Gateway with Sample Config (Terminal 2)
Option A: Stdio Mode (Default)
./bin/mcp-gateway --config ./examples/config.yaml --token "agent-support-key"
Option B: HTTP Server-Sent Events (SSE) Mode
./bin/mcp-gateway --config ./examples/config.yaml --transport sse --port 8080
4. Stream Live Audit Logs in Real-Time (Terminal 3)

Follow and format structured audit records as tools execute:

PowerShell (Windows):

Get-Content -Path .\audit.log -Wait -Tail 10 | ForEach-Object {

if ($_ -match '^\s*\{') { $e = $_ | ConvertFrom-Json $time = ([DateTime]$e.timestamp).ToLocalTime().ToString("HH:mm:ss") $statusColor = if ($e.status -eq "SUCCESS") { "Green" } else { "Red" } $redactColor = if ($e.pii_redacted_count -gt 0) { "Yellow" } else { "DarkGray" } Write-Host "[$time] " -NoNewline -ForegroundColor DarkGray Write-Host "[$($e.status)] " -NoNewline -ForegroundColor $statusColor Write-Host "$($e.tool) " -NoNewline -ForegroundColor Cyan Write-Host "(Role: $($e.role), Latency: $($e.duration_ms)ms, Redacted: $($e.pii_redacted_count))" -ForegroundColor $redactColor } }

Bash / Linux / macOS (`jq`):

tail -f audit.log | jq -c '{time: .timestamp, status: .status, tool: .tool, role: .role, latency_ms: .duration_ms, redacted: .pii_redacted_count}'

🔍 Verification with Anthropic Official MCP Inspector

You can test and inspect the gateway using Anthropic's official @modelcontextprotocol/inspector:

Test via Stdio:
npx @modelcontextprotocol/inspector ./bin/mcp-gateway --config ./examples/config.yaml --token agent-support-key
Test via SSE:
  1. Start the gateway in SSE mode:
   ./bin/mcp-gateway --config ./examples/config.yaml --transport sse --port 8080
  1. Open the inspector pointing to the SSE endpoint:
   npx @modelcontextprotocol/inspector http://localhost:8080/sse

💻 Claude Desktop Integration

To connect Claude Desktop to your enterprise systems through enterprise-mcp-gateway:

  1. Open your Claude Desktop configuration file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  1. Add enterprise-mcp-gateway to the mcpServers object:
{

"mcpServers": { "enterprise-gateway": { "command": "/absolute/path/to/enterprise-mcp-gateway/bin/mcp-gateway", "args": [ "--config", "/absolute/path/to/enterprise-mcp-gateway/examples/config.yaml", "--token", "agent-support-key" ] } } }

  1. Restart Claude Desktop. The enterprise tools (listCustomers, getCustomerDetails, createSupportTicket, etc.) will appear with a hammer icon in the prompt interface.

⚙️ Configuration Guide (config.yaml)

server:

name: "enterprise-mcp-gateway" version: "1.0.0" transport: "stdio" # "stdio" or "sse" host: "0.0.0.0" port: 8080

governance: enabled: true default_role: "support_agent" tokens: "agent-ro-secret": "readonly_agent" "agent-support-secret": "support_agent" "admin-master-secret": "admin" roles: readonly_agent: allowed_tools:

  • "list*"
  • "get*" support_agent: allowed_tools:
  • "list*"
  • "get*"
  • "createSupportTicket" admin: allowed_tools:
  • "*"

sanitizer: enabled: true mask_card_numbers: true # Luhn-verified Credit Card masking mask_ssn: true # US SSN masking mask_secrets: true # Private keys, AWS keys, JWTs, PATs sensitive_keys:

  • "password"
  • "secret"
  • "token"
  • "apiKey"
  • "ssn"
  • "creditCard" custom_regex:
  • name: "Internal Employee ID" pattern: "\\bEMP-[0-9]{6}\\b" replacement: "[REDACTED-EMP-ID]"

audit: enabled: true log_path: "stdout" # "stdout" or path to file e.g. "/var/log/mcp-audit.log" hash_inputs: true # SHA-256 hashes tool arguments for compliance

connectors:

  • name: "enterprise-crm" type: "openapi" spec_file: "./examples/crm-openapi.yaml" base_url: "http://localhost:8081" headers: Authorization: "Bearer backend-secret-token" X-Gateway-Source: "enterprise-mcp-gateway" timeout_seconds: 15

🧪 Testing

Run all unit and end-to-end integration tests:

# Run all unit and integration tests

go test -v ./...

Run tests with the Go race detector enabled

go test -race ./...


🐳 Docker Deployment

# Build lightweight Docker image

docker build -t enterprise-mcp-gateway:latest .

Run container in SSE mode

docker run -d -p 8080:8080 -p 8081:8081 enterprise-mcp-gateway:latest --transport sse --port 8080


📄 License

MIT License.

PopNxに聞く