Leash
Review what your AI touched, approve risky actions and undo supported changes
The server answered 3 hours ago but needs an account or API key, so we could not list its tools.
- Pricing
- Free
- Platforms
- API, CLI
- Runs
- Remotely
- Access
- Needs an account or API key
- GitHub stars
- 1
- Last commit
- 2 days ago
About Leash
Leash is a free MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.
Leash sits between an AI assistant and your accounts so you can see and limit what the AI does there. The pitch is concrete: it can stop a spreadsheet being made public, block an email containing a password, and keep a way back for supported changes, such as restoring a file the AI moved to Google Drive Trash.
Access is set per AI, can be limited to reading, and is revoked by removing that connection. Audit history is kept for 90 days. When undo is enabled, recovery details are encrypted and kept up to 7 days. Protection checks may process request and response content with TypeSafe JEV. Only activity routed through Leash is covered, and a plugin cannot force every AI action through it.
The README covers installing the plugin in Gemini CLI, OpenClaw and Cursor-compatible clients, or adding the remote HTTP endpoint with OAuth elsewhere. A check_connection tool confirms the link works without touching personal accounts. The gateway and protection engine are private; the repository holds integration metadata.
Install
Run in a terminal
claude mcp add --transport http leash https://secure.lea.sh/mcpAdd to Settings → Connectors → Add custom connector
https://secure.lea.sh/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"leash": {
"url": "https://secure.lea.sh/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"leash": {
"type": "http",
"url": "https://secure.lea.sh/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"leash": {
"serverUrl": "https://secure.lea.sh/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"leash": {
"type": "http",
"url": "https://secure.lea.sh/mcp"
}
}
}Tools this server provides (1)
Taken from the project documentation; the running server may differ.
- check_connection
- Confirms Leash is connected without accessing personal accounts
What it does
- Action approval
- Approve or block sensitive actions before they run.
- Activity history
- See what the AI touched, kept for 90 days.
- Per-AI access
- Give each AI its own rules and disconnect any time.
- Supported undo
- Restore reversible changes while undo is enabled.
- Content checks
- Stops items such as passwords in outgoing email.
- Connection check
- check_connection verifies setup without personal data.
Good for
- Stop an AI sharing a private file publicly
- Review what an assistant read in your accounts
- Undo a file move made by an assistant
- Give one AI read-only access to your files
Pricing
Free
Described as free
Prices change. Check lea.sh before you buy.
Leash FAQ
Is it free?
The README calls it free.
How long is history kept?
Audit history is kept for 90 days; undo recovery details up to 7 days.
Does it cover everything the AI does?
No. Only activity routed through Leash is covered.
How do I remove it?
Uninstall the plugin and remove the connection in Your AIs; access is revoked immediately.
Is Leash free?
Yes. Leash is free to use.
How do I add Leash to Claude Code?
Run this command in your terminal: claude mcp add --transport http leash https://secure.lea.sh/mcp
What are the best alternatives to Leash?
The closest alternatives to Leash are REA, Agent Roast, Midplane, Tinplate Edge AI Safety, Security & EU Compliance and SecureCloud.
Alternatives to Leash

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools
Agent Roast
MCP serverOffline review that flags agent changes which weaken tests, assertions or CI
Runs locally- Open source
- 4 Hacker News points
- Developer tools

Midplane
MCP serverPostgres gateway for AI agents with table grants, column masking and approval for writes
Runs locally- Open source
- 5 GitHub stars
- Databases
Zero-log MCP server with 49 tools for AI guardrails, secret scanning and EU compliance
- 49 tools
- Remote
- Freemium
- Security

SecureCloud
MCP serverSentinelOne and IT security catalog, prices, quotes and checkout links for Israel
- 7 tools
- Remote
- Free
- Security
Eikino
MCP serverEstimate where photos or video frames were taken and check media for AI generation
- 3 tools
- Remote
- Freemium
- Security