Reverse engineer anything with agents, from app behavior down to native binaries.
MCP Server Gateway
MCP gateway & OAuth MCP servers. LangGraph agent: memory, eval/tracking, PII guard, context trimming. Docker quick start for enterprise agents.
Install: git clone https://github.com/harish-gaggar/mcp-server-gateway
Install
git clone https://github.com/harish-gaggar/mcp-server-gatewayInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →MCP Server Gateway
A production-grade MCP Gateway, OAuth-secured MCP servers, and a governed LangGraph agent — ready to fork and run.
Quick Start • Design Principles • Repository Layout • Documentation
Overview
This repository is a reference stack for enterprise teams building an MCP gateway and MCP servers from scratch, often inside an air-gapped or restricted network where public SaaS patterns don't apply out of the box. It ships working gateway, server, and agent code that runs locally with Docker, so you can fork and extend it for your own internal tools, identity systems, audit rules, and deployment standards.
It is not a hosted product — it's a starting blueprint: an OAuth-ready gateway, example MCP backends (Artifactory, GitHub, Google Drive), a governed LangGraph agent, PII controls, and the operational pieces (memory, measurement, context control) that production agents usually bolt on later.
Design framework, not just an agent
An agent alone isn't a solution — it needs guardrails around it. Every request that flows through this stack passes through eight design principles, all implemented in Agents/jfrog-agent/:
| # | Principle | What it does |
|---|---|---|
| 01 | Agent framework | Task-specific nodes with skills, prompts, and an internal plugin marketplace |
| 02 | OAuth before every call | Each MCP tool call runs authenticated, per user |
| 03 | Customized MCP | MCP tools tailored to your internal security practices |
| 04 | Continuous audit | Every operation is logged at the MCP gateway |
| 05 | PII / secrets stripped | Sensitive data is scrubbed before it ever reaches the LLM (agent-safety-kit/) |
| 06 | Tracking & eval | Per-query tracking of model, tools, tokens, latency, and response quality |
| 07 | Memory management | Conversation threads and LangGraph checkpoints persist across restarts (SQLite by default, Spanner-ready) |
| 08 | Context optimizer | Trims and summarizes long MCP transcripts to cut unnecessary token spend while keeping protocol-critical fields |
See Agents/jfrog-agent/README.md for memory backends and environment variables, and context_optimizer for trimming presets.
Quick start
Goal: clone the repo, start Docker, and prove MCP Gateway → MCP server routing works (Artifactory in open mode; GitHub optional with OAuth).
Prerequisites
| Requirement | Notes |
|---|---|
| Docker Desktop or Engine + Compose v2 | Docker must be running before any docker compose command |
| Node.js 20+ | Only for the smoke-test scripts (node scripts/…); not required to build images |
| Python 3.10+ | Optional: OAuth demo and Agent Safety Kit |
| Free ports | 8090 gateway, 8091 Artifactory MCP (direct), 6379 Redis |
1. Clone and start the stack
Important: create mcp-gateway/.env and set TOKEN_ENCRYPTION_KEY before docker compose. The setup script does that from .env.example.
git clone https://github.com/harish-gaggar/mcp-server-gateway.git
cd mcp-server-gateway/mcp-gateway
Similar plugs
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io