datacline

Secure MCP Gateway — Security skill for Claude Code

Security community

Build secure mcp infrastructure to audit and control every data access by AI agents with minimal effort.

How to install Secure MCP Gateway

This entry records only its repository, not the path inside it, so there is no exact command to give. Open datacline/secure-mcp-gateway and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Secure MCP Gateway does

Build secure mcp infrastructure to audit and control every data access by AI agents with minimal effort.

Alternatives in Security

  • Mcp-scan (Invariant Labs) — MCP security scanner with proxy mode for real-time scanning without infrastructure changes 1.9k ★
  • Trail Of Bits Claude-code-config — Opinionated production defaults from a top security firm: sandboxing, permissions, hooks, skills, MCP server c 1.6k ★
  • ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★

README

Secure MCP Gateway - Enterprise-Grade Security & Management for Model Context Protocol Servers

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Docker](https://img.shields.io/badge/docker-ready-brightgreen.svg)](https://www.docker.com/) [![MCP](https://img.shields.io/badge/MCP-2024--11--05-orange.svg)](https://modelcontextprotocol.io) [![Java](https://img.shields.io/badge/Java-21-red.svg)](https://openjdk.org/) [![Go](https://img.shields.io/badge/Go-1.21-blue.svg)](https://golang.org/) [![TypeScript](https://img.shields.io/badge/TypeScript-5.0-blue.svg)](https://www.typescriptlang.org/)

**Production-ready security gateway for Model Context Protocol (MCP) servers** with authentication, policy-based access control, tool filtering, and comprehensive audit logging for AI agents, Claude Desktop, VS Code, and custom LLM applications.

🌟 What is Secure MCP Gateway?

Secure MCP Gateway is an **enterprise-grade security and management layer** for [Model Context Protocol](https://modelcontextprotocol.io) servers, enabling organizations to safely expose MCP tools to AI agents, LLMs, and users while maintaining complete control over access, permissions, and compliance.

Why Use This Gateway?

**Without the Gateway:**

AI Agent → MCP Server → Unrestricted Tool Access ❌
  • No authentication
  • No authorization
  • No audit trail
  • No policy enforcement
  • No tool filtering
  • No centralized management

**With Secure MCP Gateway:**

AI Agent → Gateway (Auth + Policy + Audit) → Controlled MCP Access ✅
  • ✅ JWT/OAuth2 Authentication - Keycloak integration
  • ✅ Policy-Based Access Control - Fine-grained permissions per tool
  • ✅ MCP Groups - Organize servers by team/role
  • ✅ Tool Filtering - Restrict which tools users can access
  • ✅ Audit Logging - Complete compliance trail
  • ✅ STDIO to HTTP Conversion - Use any MCP server
  • ✅ Web UI - Easy management interface
  • ✅ Multi-Tenancy - Isolate access by user/tea