mcp-guard

imfht/mcp-guard
★ 0 stars Python Security Updated today
Security guard plugin for Claude Code MCP tools — logs, audits, and blocks suspicious MCP tool calls and server configs
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-guard": {
      "command": "uvx",
      "args": [
        "mcp-guard"
      ]
    }
  }
}

Or install with pip: pip install mcp-guard

README Excerpt

> **English** · [中文](README.zh-CN.md) A security guard **plugin for [Claude Code](https://docs.claude.com/en/docs/claude-code)** that watches the Model Context Protocol (MCP) surface for tool/prompt **poisoning** — including hidden instructions buried in tool **descriptions**. It does four things, all from **stock installable hooks** (no source patching, no rebuild, no extra dependencies — Python 3 stdlib only):

Tools (2)

auditinspect