More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+23 more

    Deploy a zero-trust firewall for MCP servers with RBAC policies, tool poisoning scans, and immutable audit logging.

    Free

    Security scanned
    Aegis MCP

    Aegis MCP

    Example session with this skill installed

    Scan the MCP server at http://localhost:8000/mcp for potential tool poisoning and output the results as JSON.

    • Read your context and instructions
    • Compiled the aegis mcp

    I have performed a security scan on the specified MCP server to detect poisoning risks and shadowing vulnerabilities. The scan identified one medium-risk finding related to overlapping tool names.

    Tool Poisoning Scan Results

    Check IDSeverityTargetFindingStatus
    SHADOW_01Mediumread_fileShadowing potential with internal fs toolWarning
    INJECT_02Lowexec_shellArgument validation present but weakPass
    PROTO_01InfoGlobalProtocol version 1.0.0 matchedPass
    TAINT_05LowfetchNo egress sink found in current policyPass

    Next steps

    • Review the SHADOW_01 finding to ensure the read_file tool does not conflict with your host's native capabilities.
    • Run uv run python -m scripts.verify_ledger --db aegis_mcp.db to ensure the scan event was recorded correctly in the audit trail.
    • Update your policy file to explicitly allow or deny the flagged tools before moving to production enforcement.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Unrestricted MCP server access introduces critical risks like tool poisoning, prompt injection, and sensitive data leakage. This skill implements a zero-trust firewall to govern every tool call between your host and its servers.

    What it does

    • Enforces zero-trust policies using YAML-defined RBAC and ABAC rules to restrict tool usage, filesystem paths, and egress domains.
    • Validates tool integrity with scanners that detect poisoning or cross-server shadowing before servers are approved for use.
    • Protects sensitive data through DLP redaction, taint-tracking of untrusted content, and egress sink constraints.
    • Records immutable audits via a hash-chained, tamper-evident ledger with signed Merkle checkpoints for compliance.
    • Gates risky actions behind Human-in-the-Loop (HITL) approvals for destructive commands or sensitive repository changes.

    How it works

    1. Selection: Choose between the stdio wrapper for local hosts like Claude Desktop or the Streamable HTTP gateway for networked environments.
    2. Configuration: Define environment variables for signing keys and point to your YAML policy files.
    3. Deployment: Wrap existing MCP server commands in the host configuration or route requests through the gateway.
    4. Governance: Monitor violations in monitor mode before switching to enforce for production blocking.

    Frameworks & tools

    This skill utilizes Python 3.12+, uv, and Docker. It integrates with any MCP-compliant host including Claude Desktop, Cursor, and Windsurf, while leveraging YAML for policy definitions and SHA-256 for versioning and audit integrity.

    Why this beats prompting it yourself

    Relying on system prompts to limit tool access is easily bypassed by injection attacks. This skill moves enforcement to the transport layer, ensuring that even if the agent is compromised, the firewall blocks unauthorized execution and data exfiltration at the binary level.

    Use cases

    • Restricting filesystem access to specific project directories for AI coding assistants.
    • Requiring manager approval before an agent can merge code or delete production resources.
    • Scanning third-party MCP servers for malicious tool definitions before activation.
    • Ensuring read-only SQL execution for agents querying internal databases.

    Known limitations

    Requires Python 3.12+ and specific package managers like uv for source builds. Security policies and DLP redaction reduce risk but do not guarantee detection of all novel attack vectors.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    • Defense-in-depth only: Threat detection, tool-poisoning scans, and DLP redaction are deterministic (canonicalization, pattern/entropy rules, ABAC, and taint tracking) and do not guarantee 100% detection of novel semantic attacks.
    • Single-writer audit ledger: The embedded SQLite hash-chained ledger (WAL mode) is designed for local stdio wrappers or single-replica gateways; multi-replica horizontal scaling requires a shared database backend (on the roadmap).
    • Host placeholder handling: Claude Desktop does not expand ${VAR} placeholders in claude_desktop_config.json—replace them with absolute paths.
    • Fail-closed production defaults: In AEGIS_ENVIRONMENT=prod, startup intentionally fails closed if AEGIS_POLICY_PATH or AEGIS_SIGNING_KEY_PATH is missing. Validate policies in AEGIS_POLICY_MODE=monitor in dev/staging before enforcing in production.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed today

    • Free with an Agensi account

    Software
    PythonGit

    Permissions

    Terminal / Shell
    Network Access
    Listedtoday

    What's inside

    Creator

    Alejandro Casa Rodríguez

    Alejandro Casa Rodríguez

    Frequently Asked Questions

    This skill acts as a zero trust firewall for MCP servers, preventing risks like tool poisoning, prompt injection, and data leakage by enforcing strict RBAC/ABAC policies and monitoring every tool call between a host and its servers.

    You will need Python 3.12 or higher with the uv package manager, or Docker, along with an MCP compliant host such as Claude Desktop, Cursor, or Windsurf to deploy the firewall.

    The skill generates YAML based policy versions, a hash chained audit ledger for compliance, and real time monitoring data that can be viewed in monitor mode before being enforced in production.

    Yes, the skill allows you to gate destructive commands, sensitive repository changes, or specific tool calls behind Human In The Loop approvals, requiring manual authorization before execution.

    While the skill significantly reduces risk through DLP redaction and poisoning scans, it does not guarantee the detection of all novel attack vectors and requires users to validate policies in monitor mode first.

    You can ask your agent to install the firewall using the provided stdio wrapper for local hosts or to route requests through the Streamable HTTP gateway to begin governing tool calls.

    New in LLM Ops

    Free