Dsh Isolation Gate
MCP server by huanlin-labs Verified · npm:dsh-isolation-gate
Dsh Isolation Gate lets owners mark directories as deny, read-only, or full access for AI coding harnesses. It adds an audit log and tools the assistant can use to check the policy and request wider access. It is for users of DeepSeek Harness (DSH) who want to control which folders an agent can touch.
Install Dsh Isolation Gate
Built from the published package, never by AI.
claude mcp add dsh-isolation-gate -- npx -y dsh-isolation-gateRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"dsh-isolation-gate": {
"args": [
"-y",
"dsh-isolation-gate"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"dsh-isolation-gate": {
"args": [
"-y",
"dsh-isolation-gate"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"dsh-isolation-gate": {
"args": [
"-y",
"dsh-isolation-gate"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add dsh-isolation-gate -- npx -y dsh-isolation-gate{
"mcpServers": {
"dsh-isolation-gate": {
"args": [
"-y",
"dsh-isolation-gate"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add dsh-isolation-gate npx -y dsh-isolation-gateGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the dsh-isolation-gate block.
About
Dsh Isolation Gate is an access gate for AI coding harnesses. Each managed object, either a top-level folder name or an absolute path, has one of three levels: deny (the default), read, or full. Objects not on the roster are not managed. Changes take effect immediately and are saved to disk. Every access decision is written to an audit log that records time, object, level, operation, and outcome, but not file contents.
The gate checks tool calls before they run through a tool execution guard and through a command-line channel, bin/gate.mjs. The assistant can read the policy and add objects or tighten levels. It cannot loosen a level on its own. Loosening needs an owner-approved request or a time-limited grant. The main target is DSH on Windows. Claude Code, opencode, Gemini CLI, and MCP clients are supported to varying degrees, as described in the project notes.
Written from the project's README and checked against it.
Tools it gives your assistant
gate_statusShows the default level, managed objects, pending requests, and any active grant window.gate_checkPredicts whether an operation on a target will be allowed or blocked.gate_logReads recent audit log records.gate_requestsLists the pending access requests the assistant has submitted.gate_addAdds a directory or name to the managed roster, fixed at deny.gate_set_levelChanges a level. Tightening is direct, loosening needs an owner authorization window.gate_requestSubmits a request to loosen a level, with a reason, for the owner to approve.
What you need
- Node.js
- DeepSeek Harness (DSH) for the full feature set
- Windows, the only platform the source says was fully tested
Try asking
- Use gate_status to show which folders are currently denied.
- Use gate_check to see if deleting files in D:\Zcode would be allowed.
- Submit a read-only gate_request for the partner archive folder with a reason.
Good to know
- Full verification is only on DSH with Windows. Other harnesses and operating systems are experimental.
- MCP clients get advisory checks only and cannot hard block tool calls.
- Programs or agents that access the disk outside DSH tool calls are not seen by the gate.
- Shell command checks are text-based heuristics and are not a kernel-level control.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Dsh Isolation Gate
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
Dsh Isolation Gate: common questions
Can the AI assistant open a folder by itself?
No. The assistant can only tighten levels directly. Loosening needs either an owner approval of a request or an owner-started time window that expires automatically.
Does it work with Claude Code?
The source says Claude Code support was added in v1.3 through a PreToolUse hook, with unit tests passing but no real-machine verification noted.
Does it replace a sandbox?
No. The project says it is not a sandbox or a kernel-level gate and does not change system ACLs. Stronger control would need an OS-level sandbox.
How do I install Dsh Isolation Gate?
In Claude Code run claude mcp add dsh-isolation-gate -- npx -y dsh-isolation-gate. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Dsh Isolation Gate the official server?
Dsh Isolation Gate is published by npm:dsh-isolation-gate from its verified domain in the official MCP Registry.
Is Dsh Isolation Gate free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Dsh Isolation Gate safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Dsh Isolation Gate?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does Dsh Isolation Gate work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
