Mont (agent-gateway-sdk)
Mont (agent-gateway-sdk) is a local, fail-closed MCP firewall proxy that protects your apps and APIs from unauthorized, prompt-injected, or destructive agent actions while letting safe tool calls run automatically. It helps teams stay in control with per-tool JSON argument rules, spending caps, zero-tunnel Telegram/Slack human approvals, and tamper-evident SQLite audit logs—all running locally with zero cloud dependencies.
Dokümantasyon
v2.2 is here • Self-Hosted & 1-Minute Setup
Open Your Product to AI Agent Traffic—Safely and Effortlessly.
Put a firewall in front of your APIs and MCP servers. Hold risky calls for approval right from your phone, patch a bad payload before it runs, cap agent spending, and keep a tamper-evident record of every decision. Runs right alongside your app as a lightweight local SDK, with no cloud infrastructure and no external database.
127.0.0.1:3000/agent-admin/
Mont
Access Rules
Approvals
Traffic
Audit Logs
{ "order": "A-1042", "amount": 249.00 }
{ "to": "SFO", "fare": 812 }
Product demo
add public/media/MontGateway.mp4
A firewall built for agents, not browsers
Everything you need to give AI agents access to your APIs and MCP tools without handing them the keys to production.
New in v2.0
1-Click Auditor Evidence Pack
Pro: export a human-readable.md Auditor Attestation Report and a SHA-256 checksummed JSON Evidence Bundle, backed by the tamper-evident hash chain.
New in v2.0
Industry Compliance Presets
One-click presets for Fintech (PCI-DSS / SOC2), Retail (GDPR / CCPA) and Travel (PNR / PII), plus custom frameworks such as HIPAA and ISO 27001.
New in v2.0
Dual Attribution
Per-agent tracking plus Verified vs. Agent-Claimed end-user identity (end_user_verified) and the human approver (approved_by) on every decision.
New in v2.0
Deep Payload Capture & Recursive PII Redaction
Capture full request payloads while audit.redactKeys recursively redacts PII at any depth and secrets are masked automatically. Everything stays in embedded SQLite on your own server.
New in v2.0
Multi-Tenant Client Workspaces
Isolate every client or project in its own workspace with separate rules, agent keys, budgets and audit history.
New in v2.0
MCP Proxy
Govern MCP tool calls the same way as REST traffic. Supports stdio, Streamable HTTP and SSE transports.
Updated in v2.2
Zero-Tunnel Phone Approvals
Binary Approve & Reject over Telegram (outbound long-polling) or Slack (Socket Mode) is now free in Community (1 channel). Zero public URLs, no ngrok, no inbound ports.
Updated in v2.2
Edit & Approve
Pro, Agency & Trial: patch JSON request bodies right inside Slack (native Socket Mode modal with inline validation errors) or Telegram (ForceReply session locked to the approver), or edit payloads and query params in the local dashboard. Access rules and hard-block spending budgets are re-checked automatically before replay.
New in v2.0
Spending Budgets
Cap what each agent can spend. When a budget is exhausted, further spending calls stop before they reach your API.
New in v2.0
Emergency Lockdown
One-click lockdown bar halts all agent traffic instantly while you investigate.
New in v2.0
Tamper-Evident Audit Ledger
Every decision is written to a SHA-256 hash-chained ledger, so any edited or deleted entry breaks the chain and is detectable.
Path & Payload Rules + Rate Limits
ALLOW, REQUIRE_APPROVAL or BLOCK by method, path and payload. Sliding-window limits stop runaway agent loops.
Let safe traffic flow. Trap the rogue.
Mont lets legitimate requests through and holds back the rest.
AI Agent Request
- LangChain · Claude · Custom Bot · Mobile Agent
- POST /api/issue-refund
- POST /api/book-flight
→
Mont Gateway Interceptor
- Checks SQLite rules
- Per-IP sliding-window rate limiter
- Strips internal headers
→
Held for a human
Queued in the Admin Dashboard until a human clicks Approve & Execute. The request is replayed securely using a 32-byte secret.
→ 202 Accepted · queued
The Shopify Refund Disaster
A support agent gets stuck in a loop and fires 21 refund calls at your store in a few seconds. Same agent, same requests. Left: straight to the API. Right: through Mont.
Without Mont
0
refunds executed
$0
refunded to nobody
With Mont
0
executed
0
held for approval
0
rate-limited
0
blocked
Run it yourself: npm run demo:shopify in a clone of the SDK repo.
Not an MCP registry. Not an LLM router.
Mont is a local-first API firewall and human-in-the-loop governance gateway — nothing more, nothing heavier.
| Mont (Agent Gateway) | Heavy Enterprise MCP Gateways | Raw Unprotected APIs | |
|---|---|---|---|
| Setup time | 30 seconds (npm i, embedded SQLite WAL) | Weeks (Kubernetes, Postgres, Okta) | None |
| Target use case | Any REST/HTTP API, Express backend, and MCP servers (stdio, Streamable HTTP, SSE) | MCP-protocol-only tools | Exposed endpoints |
| Human-in-the-loop | Free zero-tunnel Telegram or Slack Approve & Reject (Community); native in-chat Edit & Approve on Pro — no ngrok, public URL or inbound port | Rare / complex | None |
| Audit integrity | SHA-256 hash-chained, tamper-evident ledger | Varies | None |
| Data privacy | 100% self-hosted — zero telemetry leaves your machine | Cloud-routed | N/A |
| Deployment modes | Standalone reverse proxy (Python, Go, Java, PHP…) or 3-line Express middleware | Platform-specific | N/A |
Free to start. Scale to every client you manage.
Community
$0forever
- 1 workspace
- 2 agent keys
- REST, Express & MCP proxy (stdio, Streamable HTTP, SSE)
- Payload rules
- Spending budgets
- Local UI approvals
- Zero-Tunnel Telegram or Slack Approve & Reject (1 channel, no ngrok or public URL)
- Deep payload capture + recursive PII redaction (audit.redactKeys)
- Compliance presets: Fintech, Retail, Travel & custom (HIPAA, ISO 27001)
- Dual attribution: per-agent + verified end-user & approver
- SHA-256 hash-chained SQLite audit log
Most popular7-Day Instant Trial + Free 90-Day Trial Renewal (No credit card required)
Pro
$30/ month
after the free trial
- Everything in Community
- 3 workspaces
- 500 agent keys
- Native In-Chat Edit & Approve: Slack Socket Mode modal + Telegram ForceReply JSON body patching, plus dashboard query-param patching, with automatic rule & spending-budget re-checks
- Both Telegram & Slack channels simultaneously, across up to 3 workspaces
- 1-Click Auditor Evidence Pack:.md Attestation Report + SHA-256 JSON Evidence Bundle
- Rollback Webhooks
- Hash-Chain Verification
- Team accounts: Admin & Read-Only Auditor roles
- Prometheus metrics endpoint
or annually: $250 / year (save $110)
No payment card required for your 90-day free trial key.
Flat price — no per-user fees, no per-request overages, and no Enterprise sales call for HITL approvals or audit logs.
Agency
$149/ month
for agencies running agents for many clients
- Everything in Pro
- 25 client workspaces
- Isolated per-client Telegram & Slack routing: both channels plus native in-chat Edit & Approve across all 25 client workspaces
- All-Clients Overview dashboard
- Production Docker Compose deployment (GHCR multi-arch image)
- Team accounts: Admin & Read-Only Auditor roles
- Prometheus metrics endpoint
or annually: $1280 / year (save $508)
100% Self-Hosted Software. Provided “AS-IS” with zero external cloud dependency and no SLA lock-in.
Up and running in 30 seconds
# No-code reverse proxy in front of any backend (Python, Go, Java, Rails, Next.js…)
npx agent-gateway-sdk start --target https://api.mystore.com
# agents call http://127.0.0.1:8080/api/...
# admin console http://127.0.0.1:3000/agent-admin/ (first-boot setup key is printed in the console)
Requires Node.js 20.17+. Open the admin console and Gateway Setup walks you through your upstream URL, a one-click policy pack (E-commerce, FinTech, CRUD), phone approvals, budgets and business hours.
[
MCP Firewall Config Generator
Wrap Claude Desktop, Cursor, LM Studio or Ollama MCP servers and get rules.json and Docker Compose, all in your browser.
](https://montweel.com/tools/mcp-config-generator/)
Help & troubleshooting
Create rules manually in the Access Rules console (method + path + action). Faster: let your agents hit the gateway, open Audit Logs, and click “+ Add to Rules” on any discovered request to turn it into a rule in one click.
We're here to help
Pragmatic protection against autonomous AI risk
Mont is built by an enterprise infrastructure and AI engineer who wanted indie builders, startups and engineering teams to have first-principles protection against autonomous AI agents — without bloated enterprise complexity. No clusters, no cloud lock-in, no telemetry: just a small, auditable gateway that sits in front of your APIs and keeps a human in charge of anything risky.