Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    MCP Security Gateway

    1

    Secure MCP interactions with guardrails, pattern matching, and output truncation. Block dangerous commands and protect sensitive systems.

    Free

    Security scanned
    MCP Security Gateway

    MCP Security Gateway

    Example session with this skill installed

    I'm setting up an AI agent for our DevOps team that needs access to bash tools for server management. I'm worried about the agent accidentally running destructive commands. I need a security layer that will:

    1. Block dangerous commands like rm -rf, sudo, and kubectl delete
    2. Protect sensitive directories like /etc, /usr, and /var
    3. Log all tool executions for audit purposes
    4. Limit response sizes to prevent context overflow
    5. Work with our existing Claude Desktop setup

    Can you set this up quickly with Docker Compose?

    • Read your context and instructions
    • Compiled the mcp security gateway

    I'll set up the MCP Middleware Gateway with security guardrails:

    Configuration Applied

    ✅ Guardrails Enabled:

    • Blocked patterns: rm -rf, sudo , docker rm, kubectl delete
    • Protected paths: /etc, /usr, /var, /home, /root
    • Max response size: 2MB

    Docker Compose Setup

    git clone https://github.com/shouryasharan7-netizen/mcpmiddleware.git
    cd mcpmiddleware
    docker-compose up -d
    

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

    About this skill

    A production-ready Model Context Protocol (MCP) gateway that sits between your AI agents and tools. It provides a centralized reverse proxy with Redis-backed session affinity, ensuring multi-step agent workflows never lose state.

    Key Features Included

    Security & DLP: Deterministic payload inspection automatically redacts credentials, PII, and custom regex patterns before they reach the model. Access Control: Granular read/write RBAC enforcement so agents only access the tools they are authorized for. API Virtualization: Automatically wraps legacy REST (OpenAPI) and gRPC endpoints into MCP-compliant tools via reflection. Compliance Ready: Generates SHA-256 cryptographic execution fingerprints and exports OpenTelemetry (OTLP) traces. Deployment: Includes ready-to-run Kubernetes manifests (StatefulSets, headless services) and Dockerfiles.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 day ago

    • Free to download with an account

    Requires

    Python
    Git

    Listed1 day ago

    What's inside

    Frequently Asked Questions