Feedback

Mcp Guardian — by rudraneel93

@rudraneel93 Claim

Basic information

Version
2.3.21
Category
License
MIT
Transports
stdio
Author
rudraneel93
Submitted by
Community
Quality
15

About Mcp Guardian Server

> MCP Guardian is a runtime security, cost governance, and health monitoring proxy for MCP infrastructure. Three-layer detection engine (regex → schema → LLM), YAML policy engine with hot-reload, 50+ secret patterns + Shannon entropy, AST command validation, JWT algorithm pinning

Mcp Guardian is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by rudraneel93. It exposes 60 tools, including scan_security, audit_costs, check_health, full_report and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "mcp-guardian": {
            "command": "npx",
            "args": [
                "-y",
                "@mcp-guardian/server"
            ]
        }
    }
}

Mcp Guardian — by rudraneel93 config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-guardian": {
            "command": "npx",
            "args": [
                "-y",
                "@mcp-guardian/server"
            ]
        }
    }
}

Mcp Guardian — by rudraneel93 tools

  • scan_security — Scan MCP server configurations for security vulnerabilities (CVEs, auth, typo-squatting, secrets)
    configPath:string
  • audit_costs — Audit token usage and estimate costs per MCP server
    serverName:string
  • check_health — Check health, latency, and reliability of MCP servers
    serverName:string
  • full_report — Generate a complete security, cost, and health report for all MCP servers
    configPath:string, format:string
  • start_behavior_observation — Start observing AI agent tool calls to learn usage patterns for policy generation
    windowId:string
  • stop_behavior_observation — Stop the current observation window and finalize collected data
    (no parameters)
  • generate_policy_from_observations — Generate a minimal-privilege YAML policy based on observed tool call patterns
    windowId:string
  • suggest_policy_improvements — Compare observed behavior against current policy and suggest additions/removals
    existingPolicyYaml:string
  • observation_status — Get current behavior observation status and summary
    (no parameters)
  • scan_prompt_injection — Scan tool call arguments for prompt injection payloads targeting downstream AI agents
    toolName:string*, serverName:string, arguments:object*
  • prompt_injection_report — Get prompt injection detection statistics
    (no parameters)
  • predict_threats — Generate threat forecast for all configured MCP servers with 30/90/365-day projections
    serverName:string
  • threat_forecast_for_server — Detailed threat forecast for a specific server with risk factors and preemptive hardening recommendations
    serverName:string*
  • preemptive_recommendations — Get suggested preemptive policy changes based on threat forecasts
    serverName:string
  • verify_supply_chain — Full supply chain integrity verification with signed attestation for MCP server packages
    packageName:string*, version:string
  • supply_chain_status — Current trust graph state for all MCP server packages
    (no parameters)
  • sbom_export — Export Software Bill of Materials for MCP server packages
    format:string
  • detect_drift — Compare current MCP server behavior against a known-good baseline to detect anomalies
    serverName:string, baselineId:string
  • capture_baseline — Capture current server state as a known-good behavioral baseline
    serverName:string*
  • rollback_server_config — Revert to a previous known-good configuration snapshot
    serverName:string*, baselineId:string
  • drift_history — List all detected drift events
    serverName:string
  • generate_compliance_evidence — Generate auditor-ready compliance evidence bundle for a framework
    framework:string*
  • compliance_gap_analysis — Identify missing compliance controls and recommend policies
    framework:string*
  • compliance_posture — Get current compliance posture score across all frameworks
    (no parameters)
  • list_compliance_frameworks — List all supported compliance frameworks
    (no parameters)
  • run_self_assessment — Run a full autonomous red team assessment with attack generation and policy testing
    attackCount:number
  • schedule_red_team — Configure periodic autonomous red team assessments
    intervalHours:number, enabled:boolean
  • red_team_results — Get latest red team assessment results and recommendations
    (no parameters)
  • ab_test_policy — A/B test a proposed policy change against historical attack corpus
    proposedPolicyYaml:string*
  • contribute_threat_signature — Submit an anonymized threat signature to the cross-deployment intelligence mesh
    pattern:string*, category:string*, severity:string*
  • threat_intel_status — Get mesh connectivity, contribution stats, and known threat feed
    (no parameters)
  • deploy_honeypot — Deploy an ephemeral fake MCP server to detect adversarial probing
    name:string*, template:string*, ttlMinutes:number, alertOnInteraction:boolean
  • honeypot_report — Get attack patterns observed by all active honeypots
    honeypotId:string
  • destroy_honeypot — Tear down a specific honeypot and retrieve captured data
    honeypotId:string*
  • list_honeypots — List all active and destroyed honeypots with summary
    (no parameters)
  • negotiate_agent_trust — Initiate an automated trust handshake with another AI agent behind Guardian
    remoteAgentId:string*, requestedTools:array*, maxSessionMinutes:number
  • agent_trust_status — View all active trust relationships and session details
    (no parameters)
  • revoke_agent_trust — Immediately terminate a trust relationship
    sessionId:string*
  • trust_registry_list — List all registered agents in the trust registry
    (no parameters)
  • agentic_status — Get overall status of all agentic AI features including metrics, scheduler, and task queue
    (no parameters)
  • compute_trust_score — Compute an A+-F trust score for an MCP server across 8 security dimensions (like SSL Labs for MCP)
    serverName:string, cveCount:number, maxCvss:number, authMethod:string, transport:string
  • scan_response_dlp — Scan MCP tool responses for PII, credentials, sensitive paths, and data exfiltration
    toolName:string, serverName:string, responseText:string*
  • certify_server — Run MCP server certification (Bronze/Silver/Gold/Platinum)
    serverName:string, packageName:string, version:string, trustScore:number, complianceScore:number, cveFree:boolean, authMethod:string, transport:string, trustedPublisher:boolean
  • list_certified_servers — List MCP servers in the local certification registry with level and expiry
    limit:number
  • verify_certification — Verify a server certification attestation (JWS) and level
    serverName:string*, attestationJws:string
  • declare_intent — Declare session intent and allowed tools for intent-binding enforcement
    sessionId:string*, intent:string*, allowedTools:array*, agentId:string, ttlMinutes:number
  • run_protocol_fuzzer — Run MCP protocol fuzzer — test defenses against malformed JSON-RPC, overflow, injection
    (no parameters)
  • check_sla — Check SLA compliance — p50/p95 latency, error rate, circuit breaker state per tool
    serverName:string, toolName:string
  • run_incident_playbook — Execute an incident response playbook (prompt_injection, credential_leak, shell_injection)
    trigger:string*, playbook:string*, severity:string
  • get_agent_reputation — Get agent reputation score — Trusted/Standard/Suspicious/Blocked tier with bypass rate and entropy
    agentId:string*
  • harden_config — Analyze MCP server config and get A-F hardening grade with one-click recommendations
    serverName:string
  • detect_collusion — Detect agent-to-agent collusion patterns (recon-then-exploit, coordinated exfil, token sharing)
    (no parameters)
  • policy_to_natural_language — Explain MCP Guardian policy YAML in plain English for compliance stakeholders
    yaml:string, policyPath:string
  • natural_language_to_policy — Convert a natural-language security goal into a draft YAML policy rule (requires approval before enforce)
    goal:string*, availableTools:array
  • query_server_reputation — Query decentralized MCP server reputation (8-dimension consensus score)
    serverName:string*, packageName:string
  • quantify_insurance_risk — Compute cyber insurance ALE (Annualized Loss Expectancy) for an MCP server
    serverName:string*, toolCount:number, networkExposure:number, recordsAtRisk:number
  • sample_agent_trust — Thompson Sampling — run Bayesian bandit trust sampling for an agent (Beta posterior, exploration/exploitation)
    agentId:string*
  • tune_policy_rule — Contextual Bandit (LinUCB) — select optimal policy action (enforce/relax/skip) based on context
    serverType:string*, agentTier:string*, ruleCategory:string*
  • adapt_threshold — SARSA — adaptively tune rate limit, latency limit, or confidence threshold via reinforcement learning
    parameter:string*, blockRate:number, fpRate:number, callVolume:number
  • select_fuzz_strategy — REINFORCE — use policy gradient to select optimal fuzzer mutation strategy
    observeReward:number

Overview

What is Mcp Guardian?

MCP Guardian is a runtime security, cost governance, and health monitoring proxy for MCP infrastructure. It uses a three‑layer detection engine (regex → schema → LLM), a YAML policy engine with hot‑reload, and provides enterprise observability.

How to use Mcp Guardian?

Deploy MCP Guardian as a proxy between MCP clients and servers. Define security and cost policies using YAML files that support hot‑reload. Monitor security events, token costs, and server health through the built‑in web dashboard and Prometheus metrics.

Key features of Mcp Guardian

  • Three‑layer detection engine (regex, schema, LLM)
  • YAML policy engine with hot‑reload
  • 50+ secret patterns and Shannon entropy detection
  • AST command validation and JWT algorithm pinning
  • Default‑deny fail‑closed security model
  • Token cost tracking via tiktoken
  • Health monitoring with circuit breakers
  • Prometheus metrics and web dashboard

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬