Leashgate
Server Details
Firewall for AI agents: checks actions, holds risky ones for a human, drafts your rules.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- AMARealone/leashgate
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 7 tools
The core loop is cleanly separated: check_action is the runtime gate, list_rules reads policy, propose_rules drafts new policy, and connect_guide/import_agents split setup (provider wiring vs. agent registration). The only soft overlap is between workspace_status and weekly_report, both being summaries, though their descriptions (plan/mode/agent count vs. activity/money saved/spend) give an agent enough to choose.
All names are snake_case and six of seven read as verb_noun or clear noun_role pairs (check_action, connect_guide, import_agents, list_rules, propose_rules). weekly_report and workspace_status drop the leading verb in favor of an adjective/noun modifier, a minor stylistic deviation that stays readable.
Seven tools is well within the ideal range and each maps to a distinct stage of the lifecycle: onboarding, agent registration, runtime enforcement, policy read/draft, and two reporting surfaces. Nothing looks padded or redundant for a governance proxy.
Enforcement and rule authoring are covered, but there is no tool to enumerate or inspect registered agents (import_agents has no list_agents/get_agent counterpart), no way to view individual action decisions behind the weekly aggregate, and no tool for handling pending approval batches. Some of this is intentional (rules can only be added, humans approve in the console), but the missing agent-listing and action-detail reads are real dead ends.
Available Tools
7 toolscheck_actionAInspect
Ask Leashgate whether an agent may run an action (refund, delete, send email, payment...) BEFORE running it. Returns allow, approval_required (a human must approve), block or quarantine. Only run the action when the decision is allow.
Inputs: action (required), agent, params.
connect_guideAInspect
Get the exact address and the one change needed to put an AI agent behind Leashgate, for a given model provider. Use this when the user asks to add, install or connect Leashgate. The provider API key stays where it is; only the base URL changes.
Inputs: provider (required), agent.
import_agentsAInspect
Register several AI agents in Leashgate at once, before they send their first call, so each gets its own name, category, budget and history. Use it after scanning a codebase or infrastructure for code that calls an AI provider (OpenAI, Anthropic, Gemini...): one entry per agent, service or worker. Then point each agent at the address returned.
Inputs: agents (required).
list_rulesAInspect
The rules Leashgate applies today to every agent action (what is blocked, what waits for a human, thresholds, daily caps), plus batches already waiting for review. Read it before propose_rules so you only propose what is missing.
Inputs: no named parameters.
propose_rulesAInspect
Propose new rules after auditing the codebase, the agents' tools and skills, and any written policy (CLAUDE.md, AGENTS.md, internal docs). One rule per real risk you found: money that can move, data that can be deleted, people who can be contacted in bulk, actions that should not run at night. Rules are NOT applied: the user approves the batch in the Leashgate console in one click. You can only add rules, never turn one off or loosen one. A rule matches when the action name contains one of the words in 'match' (e.g. "refund|reimburse"); add 'fields' + 'threshold' for amounts or counts, 'dailyCap' for a daily total in USD, 'hours' to limit to working hours, 'allow' for allowed beneficiaries. Explain each rule in 'why' and point to the code in 'where'.
Inputs: rules (required), source, summary.
weekly_reportAInspect
What the workspace's AI agents did over the last days: actions checked, actions stopped and the money held back, loops cut, approvals, AI spend per agent, and tips to spend less. Use it when the user asks how their agents are doing, what Leashgate did for them, or where their AI money goes.
Inputs: days.
workspace_statusAInspect
Summary of the Leashgate workspace: plan, mode (enforce or observe), number of agents, calls recorded, and whether a first agent is connected. Use it to verify a setup worked.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Agentic firewall for AI agents: check commands before they run, vibe check apps, scan code.
Check AI assistant actions before they reach external apps, with rules and human approval.
Security gateway for AI agents: policy, approval, and audited execution, no secrets shared.
Approval gateway for AI agents: they ask you before they send, share or delete.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables autonomous AI agents to operate safely by intercepting risky tool calls, evaluating them against policy, and suspending them for human approval via Slack, Telegram, or a web dashboard.2Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables autonomous AI agents to enforce policy on tool calls and suspend risky actions for human approval through Slack, Telegram, or a web dashboard, returning structured decisions or timeouts.Apache 2.0

HOL Guardofficial
AlicenseNot gradedqualityBmaintenanceA local-first firewall for AI agents that reviews shell commands, file access, package installs, and MCP tool calls before they run, and blocks or asks approval for risky ones. Its MCP tools include Cigar context tools that hand agents a short map of the codebase (file paths, line ranges, what changed) so they re-read less code and spend fewer tokens.4,258 PyPI1,138Apache 2.0- FlicenseNot gradedqualityDmaintenanceA local-first security gateway and visual dashboard for AI agents that enforces cost caps, blocks prompt injections, and requires approval for dangerous actions.3-
Glama MCP Gateway
Add one secure layer between your agents and this server.