Leash MCP server
Commit Nov 15, 2026Provides a secure gateway for AI agents to access protected accounts with configurable permissions, activity auditing, and reversible actions.
Also known as open-leash/leash-plugin, leash-plugin
- Stars
- 1
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 1.0.2
- Last commit
- Nov 15, 2026
- License
- —
What is Leash MCP?
Leash provides a secure gateway for AI agents to access protected accounts with configurable permissions, activity auditing, and reversible actions.
Summary generated from the project's README
About Leash MCP server
Leash acts as a secure gateway that allows AI agents to interact with protected accounts through configurable permissions. It provides developers and users with tools to review activity, control specific access levels for different agents, and perform reversible actions if the undo feature is enabled. This system works by routing activity through a central engine to ensure all interactions are covered by its protection protocols.
Users can set up the server via the Gemini CLI using a specific install command or through OpenClaw using a GitHub repository link. For other clients, the server functions as a remote HTTP server using the shared endpoint at secure.openleash.com/mcp and OAuth for authentication. After installation, users must sign in at openleash.com to establish a separate, revocable connection. The service maintains an audit history for 90 days, while encrypted recovery details for undoable actions are kept for up to 7 days.
What you can do with it
- 1Verify connection statusAsk the AI to confirm it is connected to Leash without touching any private data.
- 2Audit AI activityReview the history of actions taken by an AI agent over the last three months.
- 3Revert agent actionsUndo a specific action performed by an AI if the undo setting is active.
- 4Manage account accessConnect specific personal accounts to the AI gateway through a web interface.
Written from the project's README. Every use case is checked against a quote from it.
How to install Leash MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall Leash MCP in Claude Code
$ claude mcp add --transport http leash-plugin https://secure.lea.sh/mcpInstall Leash MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"leash-plugin": {
"url": "https://secure.lea.sh/mcp"
}
}
}Install Leash MCP in VS Code
.vscode/mcp.json
{
"servers": {
"leash-plugin": {
"type": "http",
"url": "https://secure.lea.sh/mcp"
}
}
}Install Leash MCP in VS Code CLI
$ code --add-mcp '{"name":"leash-plugin","type":"http","url":"https://secure.lea.sh/mcp"}'Install Leash MCP in Codex
$ codex mcp add leash-plugin --url https://secure.lea.sh/mcpInstall Leash MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.leash-plugin] url = "https://secure.lea.sh/mcp"
Install Leash MCP in Gemini CLI
$ gemini mcp add -s user --transport http leash-plugin https://secure.lea.sh/mcpInstall Leash MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"leash-plugin": {
"url": "https://secure.lea.sh/mcp",
"type": "http"
}
}
}Automated checks
Ran Nov 15, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work · What to fix for more points
- Source repository linked and reachableopen-leash/leash-plugin is public and reachablegithub.com/open-leash/leash-plugin ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)No licenseFinding
- Commit or release in the last yearLast commit or release 2026-11-10github.com/open-leash/leash-plugin ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeHTTPS endpoint answered 401 (sign-in required)Pass
README
View on GitHubLeash
A little peace of mind for your AI. Free.
Leash connects your AI to your accounts through configurable protections. Review activity, control each AI's access, and undo supported reversible actions when undo is enabled. Only activity routed through Leash is covered.
Install
Install Leash from your AI's plugin directory when its listing is available, or install this package from GitHub in clients that support repository plugins. Enable the Leash connection and sign in at openleash.com when prompted. Each installation receives a separate, revocable connection. Some hosts share one connection across multiple bots; Leash cannot distinguish bots that use the same credentials. Use separate connections where your host supports them. The shared endpoint is https://secure.openleash.com/mcp. Never append another person's token or put a personal link in a public package.
For Gemini CLI: gemini extensions install https://github.com/open-leash/leash-plugin. Run /mcp auth leash if sign-in is requested. For OpenClaw, use openclaw plugins install git:github.com/open-leash/leash-plugin@v1.0.3, then inspect the enabled leash bundle. Its compatibility format is Cursor; no native code runs. For other clients, use their remote HTTP server option with the shared endpoint and OAuth. A public directory submission is not the same as an approved listing. Check the release notes for current availability.
Run the Leash setup skill or ask: "Check Leash is connected without accessing my personal accounts." Success must come from the check_connection tool, not merely from listing available tools. Then connect the accounts you want at https://openleash.com/personal.
Instructions and privacy
This package includes a setup skill and a personal-account skill. Cursor loads a packaged rule and Gemini CLI loads GEMINI.md while the extension is enabled. A plugin cannot guarantee that all AI activity uses Leash. For a permanent preference in other clients, add the credential-free rule from GEMINI.md to the client's supported personal instructions. ChatGPT web uses Settings → Personalization → Custom instructions; Claude app uses Settings → General → Instructions for Claude; Cursor uses User Rules. A chat reply confirming the connection does not confirm that these settings were saved. Preserve your other instructions. Never add credentials to memory or shared files.
This integration uses personal Leash connections. The personal-connection retention terms apply to it; workspace and desktop-client retention terms describe the separate business service. Protection checks may process relevant request and response content with TypeSafe JEV. Audit history is retained for 90 days. When undo is enabled, supported recovery details are encrypted and retained for up to 7 days. Turning undo off stops new recovery capture. Read https://openleash.com/privacy for the full policy.
Remove
Disable or uninstall the plugin in your AI, remove any Leash-specific saved preference you added, then remove its connection in Your AIs at https://openleash.com/personal. Removing that connection revokes access immediately without disconnecting other AIs.
Support
https://openleash.com/contact · max@openleash.com
Privacy: https://openleash.com/privacy · Terms: https://openleash.com/terms
This repository contains only public integration metadata, instructions and brand assets. Leash's gateway and protection engine remain private.
Leash MCP questions
How do I add Leash MCP to Claude Code?
Run claude mcp add --transport http leash-plugin https://secure.lea.sh/mcp in your terminal. Add --scope user to make it available in every project.
How do I add Leash MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
How do I verify if Leash is connected?
You can run the Leash setup skill or ask the AI to 'Check Leash is connected without accessing my personal accounts.' Success is confirmed via the check_connection tool.
How long is my activity history stored?
Audit history is retained for 90 days.
How long are undo recovery details kept?
When undo is enabled, supported recovery details are encrypted and kept for up to 7 days.
How do I revoke access to my accounts?
You can remove the connection in the 'Your AIs' section at openleash.com/personal, which revokes access immediately.