LS

lasso-security/mcp-gateway

Analytics & monitoring

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

397 stars 44 forks 품질 76 트렌드 19MIT

lasso-security/mcp-gateway는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

lasso-security/mcp-gateway는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

개요

MCP 게이트웨이는 AI 인프라를 중앙 집중화하고 강화하는 모델 컨텍스트 프로토콜(MCP) 서버의 고급 중개 솔루션입니다.

MCP 게이트웨이는 LLM과 다른 MCP 서버 사이의 중개자 역할을 합니다. 그는:

  1. 📄 루트 디렉터리에 있는 mcp.json 파일에서 서버 구성을 읽습니다.
  2. ⚙️ 구성된 MCP 서버의 수명 주기를 관리합니다.
  3. 🛡️ 민감한 정보를 정제하기 위해 요청과 응답을 가로채는 것.
  4. 🔗 모든 프록시 MCP를 발견하고 상호작용할 수 있는 통합 인터페이스를 제공합니다.
  5. 🔒 보안 스캐너 - MCP 서버를 로드하기 전에 서버 평판과 보안 위험을 분석합니다.

설치

파이썬 (추천)

mcp-gateway 패키지 설치:

--mcp-json-path - 반드시 mcp.json로 이어져야 claude_desktop_config.json --plugin 또는 -p - 활성화할 플러그인을 지정하세요 (여러 번 사용 가능)

사용

이 예시는 파일 시스템 MCP용 토큰 마스킹과 xetrack 추적 플러그인을 기본 가드레일로 지원합니다:

게이트웨이 아래에 MCP 서버 구성을 ‘server’ 키에 넣으면 더 많은 MCP를 추가할 수 있습니다.

커서 예시:

클로드 예시:

[[T4]를 받아보세요.

도커

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Overview

MCP Gateway is an advanced intermediary solution for Model Context Protocol (MCP) servers that centralizes and enhances your AI infrastructure.

MCP Gateway acts as an intermediary between LLMs and other MCP servers. It:

  1. 📄 Reads server configurations from a mcp.json file located in your root directory.
  2. ⚙️ Manages the lifecycle of configured MCP servers.
  3. 🛡️ Intercepts requests and responses to sanitize sensitive information.
  4. 🔗 Provides a unified interface for discovering and interacting with all proxied MCPs.
  5. 🔒 Security Scanner - Analyzes server reputation and security risks before loading MCP servers.

Installation

Install the mcp-gateway package:

pip install mcp-gateway

--mcp-json-path - must lead to your mcp.json or claude_desktop_config.json
--plugin or -p - Specify the plugins to enable (can be used multiple times)

Usage

This example enables the basic guardrail for token masking and xetrack tracing plugin for filesystem MCP:

mcp-gateway --mcp-json-path ~/.cursor/mcp.json -p basic -p xetrack

You can add more MCPs that will be under the Gateway by putting the MCP server configuration under the “servers” key.

Get ``

which python
{
  "mcpServers": {
      "mcp-gateway": {
          "command": "",
          "args": [
            "-m",
            "mcp_gateway.server",
            "--mcp-json-path",
            "",
            "--plugin",
            "basic"
          ],
          "servers": {
GitHub에서 전체 README 보기

설치

npx -y @modelcontextprotocol/server-filesystem .
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mcp-gateway": { "command": "mcp-gateway", "args": [ "--mcp-json-path", "~/.cursor/mcp.json", "--plugin", "basic", "--plugin", "xetrack" ], "servers": { "filesystem": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "." ] } } } } }