
general-analysis/mcp-guard
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
사이트맵 Guard는 신속한 주사 공격과 더 많은 MCP 클라이언트를 보호합니다.
개요
MCP(Model Context Protocol) 가드 레일을 내장하여 여러 MCP 서버를 하나의 보안 인터페이스로 통합합니다. MCP Guardrail는 MCP (모델 Context Protocol) 설정에 대한 AI 전원 보안 및 쉬운 구성을 제공합니다. 그것은 자동으로 기존 MCP 구성 파일을 감지하고 지능형 모뎀 기능을 가진 보호 층을 추가합니다. - 신속한 주입 공격을 방지하기 위해 - CLI 도구는 Cursor, Claude Desktop 및 Claude Code에 대한 MCP 구성 파일을 감지하고 업데이트합니다 - 로컬 및 원격 MCP 서버를 모두 지원합니다 - 도구, 프롬프트 및 리소스는 자동으로 접두되고 사용할 수 있습니다. 시작하는 가장 쉬운 방법은 일반 분석 CLI 도구를 사용합니다. MCP 설정 파일을 자동으로 업데이트합니다. 설치가 필요 없습니다!
개요(AI 번역)
MCP(Model Context Protocol) 가드 레일을 내장하여 여러 MCP 서버를 하나의 보안 인터페이스로 통합합니다.
개요
MCP Guardrail는 MCP (모델 Context Protocol) 설정에 대한 AI 전원 보안 및 쉬운 구성을 제공합니다. 그것은 자동으로 기존 MCP 구성 파일을 감지하고 지능형 모뎀 기능을 가진 보호 층을 추가합니다.
주요 특징:
- **AI-powered moderation ** 신속한 주입 공격 방지
- ** 자동 구성** - CLI 도구는 Cursor, Claude Desktop 및 Claude Code용 MCP 구성 파일을 감지하고 업데이트합니다. -Dual Connection - 로컬 및 원격 MCP 서버 모두 지원 -Transparent proxying - 도구, 프롬프트 및 리소스는 자동으로 접두하고 사용할 수 있습니다.
빠른 시작
시작하는 가장 쉬운 방법은 일반 분석 CLI 도구를 사용합니다.
MCP 설정 파일을 자동으로 업데이트합니다.
그것이 작동하는 방법
사용법
npx와 직접 사용
설치 필요 없음! Cursor 또는 Claude 데스크탑 MCP 구성에서 직접 사용:
독립 사용법
윤곽
로컬 서버(Stdio)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP Guardrail
An MCP (Model Context Protocol) guardrail with built-in AI-powered moderation that aggregates multiple MCP servers into one secure interface.
Overview
The MCP Guardrail provides AI-powered security and easy configuration for your MCP (Model Context Protocol) setup. It automatically detects your existing MCP configuration files and adds a protective layer with intelligent moderation capabilities.
Key features:
- AI-powered moderation to prevent prompt injection attacks
- Automatic configuration - CLI tool detects and updates MCP config files for Cursor, Claude Desktop, and Claude Code
- Dual connectivity - supports both local and remote MCP servers
- Transparent proxying - tools, prompts, and resources are automatically prefixed and made available
Quick Start
The easiest way to get started is using the General Analysis CLI tool:
# Install the CLI tool
pip3 install generalanalysis==0.1.7
# Login to your account
ga login
# Configure MCP settings for Cursor, Claude Desktop, and Claude Code
ga configure
This will automatically update your MCP configuration files with the guardrail setup.
How It Works
graph LR
A[MCP Client] --> B[MCP Guard]
B --> C[MCP Server]
C --> D[Tool Output]
D --> B
B --> E{GA Guardrail}
E -->|Safe| A
E -->|Blocked| F[Alert]
Usage
Direct Usage with npx
No installation required! Use directly in your Cursor or Claude Desktop MCP configuration:
{
"mcpServers": {
"protected_server": {
"command": "npx",
"args": [
"-y",
"@general-analysis/mcp-guard",
"[{\"name\":\"server1\",\"command\":\"path/to/server\",\"args\":[\"arg1\"]}]"
]
}
}
}
Standalone Usage
npx -y @general-analysis/mcp-guard '[{"name":"server1","command":"path/to/server","args":["arg1"]}]'
Configuration
Local Servers (Stdio)
For local MCP servers that communicate via stdio:
{
"mcpServers": {
"protected_server": {
"command": "npx",
"args": [
"-y",
"@general-analysis/mcp-guard",
"[{\"name\":\"my-local-server\",\"command\":\"node\",\"args\":[\"path/to/server.js\"]}]"
],
"env": {
"API_KEY": "your-general-analysis-api-key",
"ENABLE_GUARD_API": "true"
}
}
}
}
Remote Servers (HTTP/SSE)
For remote MCP servers accessible via HTTP or Server-Sent Events:
{
"mcpServers": {
"protected_server": {
"command": "npx",
"args": [
"-y",
"@general-analysis/mcp-guard",
"[{\"name\":\"my-remote-server\",\"url\":\"https://api.example.com/mcp\"}]"
],
"env": {
"API_KEY": "your-general-analysis-api-key",
"ENABLE_GUARD_API": "true"
}
}
}
}
Environment Variables
API_KEY- Your General Analysis API key for the moderation service
설치
npx -y @general-analysis/mcp-guard [{\"name\":\"server1\ \"command\":\"path/to/server\ \"args\":[\"arg1\설정
{
"mcpServers": {
"protected_server": {
"command": "npx",
"args": [
"-y",
"@general-analysis/mcp-guard",
"[{\"name\":\"server1\",\"command\":\"path/to/server\",\"args\":[\"arg1\"]}]"
]
}
}
}