Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Permission gateway for AI agents — enforce per-tool access control on any MCP server (GitHub, Stripe, Slack). Audit every decision. Revoke instantly.
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: Finance & payments.
Model Context Protocol server for LunchMoney personal finance management
Same catalog task: Finance & payments.
17hats solo service business CRM MCP server: add contact, create project, send quote, send invoice.
Same catalog task: Finance & payments.
Remote MCP for 9192 discovery, pricebook, payment rails, GET_PULSE quotes, and receipt checks.
Fetched from the repository for this visit.
Permission control for AI agents over MCP.
AgentGate is a hosted gateway that sits between AI agents and MCP servers (GitHub, Stripe, Slack, etc.). It enforces per-tool permissions, scans responses for security issues, logs every decision, and lets you revoke access instantly.
The agent never gets the real API key. It only gets a gateway URL.
📖 Architecture & Roadmap:
- 📄 Master Architecture & MVP Build Specification (v2): Zero-config guardrail compiler (
@agentgate/compiler) and stateful runtime ledger (@agentgate/runtime) for multi-turn transactional safety.- 🚀 Production Deployment Guide: 1-click deployments on Render (
render.yaml), Railway, and Docker Compose.- 📊 Executive Summary & Strategic Thesis: Product evolution, market positioning, and autonomy readiness scoring.
When you give an AI agent a token to GitHub, Stripe, or any service — it gets access to everything that token allows. There's no way to say "read repos but never delete them" or "create refunds but never delete customers."
Real-world incidents:
AI Agent → POST /mcp/:token → AgentGate → checks permissions → Remote MCP Server
│ │
│ denied? return error │
│ allowed? forward request ──────────┘
│ │
│◀──────────── response ──────────────┘
│
│ scan response for secrets/injection
│ log decision
│
└──→ return to agent
Pick from the catalog (GitHub, Stripe, Slack, Cloudflare) or paste any remote MCP URL. AgentGate calls tools/list and discovers all available tools automatically.
Each session is time-bounded and has its own permission set:
delete_customer, fork_repository, push_filesget_file_contents but deny when path matches **/.env*{
"mcpServers": {
"github": {
"url": "https://your-gateway.com/mcp/SESSION_TOKEN"
}
}
}
The agent connects to your gateway, not to GitHub directly. Your gateway forwards allowed calls, blocks denied ones, and logs everything.
When enabled, responses from MCP servers are scanned before reaching the agent:
Watch every decision in the audit log. Revoke a session with one click — agent loses access instantly.
┌──────────────────────────────────────────────────────────────┐
│ Dashboard (Next.js) :3000 │
│ - Create agents, add MCP services │
│ - Create sessions with per-session permissions │
│ - Real-time audit log │
│ - Revoke sessions instantly │
└────────────────────────────┬─────────────────────────────────┘
│ REST API
┌────────────────────────────▼─────────────────────────────────┐
│ Proxy Service (Express) :3001 │
│ - Agents, services, sessions CRUD │
│ - Tool permissions storage │
│ - Session JWT management │
│ - Audit log │
└────────────────────────────┬─────────────────────────────────┘
│
┌────────────────────────────▼─────────────────────────────────┐
│ MCP Gateway (Express) :3003 │
│ - Streamable HTTP transport (POST only, stateless) │
│ - Permission engine (in-process, per-request) │
│ - Response security scanner │
│ - Tool discovery via tools/list │
│ - Forwards to any remote MCP server │
└────────────────────────────┬─────────────────────────────────┘
│ HTTP forward
┌────────────────────────────▼─────────────────────────────────┐
│ Remote MCP Servers │
│ - GitHub (api.githubcopilot.com/mcp) │
│ - Stripe (mcp.stripe.com) │
│ - Slack (mcp.slack.com/mcp) │
│ - Cloudflare (mcp.cloudflare.com) │
│ - Any MCP server with a URL │
└──────────────────────────────────────────────────────────────┘
| Decision | Why |
|---|---|
| Pure HTTP proxy — no process spawning | Safe for hosted multi-tenant deployment |
| Streamable HTTP transport | Current MCP spec (March 2025), stateless, serverless-compatible |
| Permissions are per-session | Same agent can have different access in different runs |
| Default-deny (fail-closed) | Unlisted tools blocked by default; zero unintended access |
| Human-in-the-loop approvals | Risky or financial operations hold execution until operator authorization |
| AES-256-GCM encrypted credentials | API keys/tokens encrypted at rest and masked in dashboard |
| Path pattern rules (glob) | Allow get_file_contents but deny **/.env* |
| Gateway URL is the only access point | Agent can't bypass — real credentials never leave the server |
Tool discovery via tools/list | Works with any MCP server — no hardcoded registry needed |
| Bi-directional security | Scans both outgoing requests AND incoming responses |
Any MCP server that supports Streamable HTTP (JSON-RPC over POST):
| Service | URL | Auth |
|---|---|---|
| GitHub | https://api.githubcopilot.com/mcp/ | Bearer PAT |
| Stripe | https://mcp.stripe.com | Bearer restricted key |
| Slack | https://mcp.slack.com/mcp | Bearer bot token |
| Cloudflare | https://mcp.cloudflare.com | OAuth |
| Any custom | Your URL | Your auth |
git clone https://github.com/YOUR_USERNAME/agentgate.git
cd agentgate
pnpm install
# Start Postgres
docker run --name agentgate-pg \
-e POSTGRES_PASSWORD=postgres \
-e POSTGRES_DB=saas \
-p 5432:5432 -d postgres:16
# Copy and configure env
cp .env.example .env
# Set POSTGRES_URL and PROXY_SECRET in .env
# Run migrations and seed
pnpm db:migrate
pnpm proxy:migrate
pnpm db:seed # creates test@test.com / admin123
# Start services
pnpm proxy:dev # Terminal 1 — :3001
pnpm gateway:dev # Terminal 2 — :3003
pnpm dev # Terminal 3 — :3000
http://localhost:3000/sign-in → test@test.com / admin123/agents/agents/services (pick GitHub from catalog, enter your PAT)/agents/sessions — set permissions, get gateway URLTOKEN="your_session_token"
# DENIED — tool you blocked
curl -s -X POST "http://localhost:3003/mcp/$TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fork_repository","arguments":{"owner":"facebook","repo":"react"}}}'
# ALLOWED — tool you kept open
curl -s -X POST "http://localhost:3003/mcp/$TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_file_contents","arguments":{"owner":"octocat","repo":"Hello-World","path":"README"}}}'
/agents/audit/agents/sessions — retry curl → 401**/.env*, **/secrets/**)agents → registered agent identities (scoped to user)
services → MCP server configs (URL + discovered tools)
sessions → time-bounded tokens with per-session permissions + response check flag
tool_permissions → allow/deny rules per tool per session (with optional path patterns)
audit_log → immutable log of every decision
| Area | What's needed |
|---|---|
| Deploy | Host gateway on Fly.io / Railway / AWS as a public service |
| OAuth flows | Handle OAuth for services that need it (Cloudflare, etc.) |
| Credential encryption | Encrypt stored API keys at rest (AES-256 / KMS) |
| Multi-tenant | Team/org support, RBAC for dashboard access |
| Multiple services per session | Route tool calls to different MCP servers |
| Rate limiting | Per-session and per-tool rate limits |
| ML-based response scanning | Integrate LLM Guard for advanced detection |
| Anomaly detection | Alert on unusual access patterns |
| Webhook notifications | Slack/email alerts on denied attempts |
| SDK | Python/TypeScript client for programmatic agent setup |
MIT
Loading reviews...
GitHub checked 111h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.