mcp-guard

diomonogatari/mcp-guard
★ 0 stars C# 🔒 Security Updated today
Roslyn analyzer that flags MCP tool-poisoning in your C# servers before it ships.
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": "npx",
      "args": [
        "-y",
        "diomonogatari/mcp-guard"
      ]
    }
  }
}

README Excerpt

**A Roslyn analyzer that catches prompt-injection and tool-poisoning in your C# MCP server's tool descriptions — at build time, before they ship.** `mcp-guard` is a `DiagnosticAnalyzer` for .NET projects that build [Model Context Protocol](https://modelcontextprotocol.io) servers with the official **instructions** — the `[Description(...)]` on `[McpServerTool]` methods, their parameters, and tool

Tools (1)

MCPGxxx

Topics

csharpdotnetmcpprompt-injectionroslynroslyn-analyzersecuritystatic-analysis