deskmcp
Open-source local-first MCP policy gateway for controlled ChatGPT access to local files and terminal sessions.
Install / Use
claude mcp add edmen12 -- npx -y github:edmen12/deskmcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
SecuritySupported Platforms
Our assessment of deskmcp
deskmcp scores 73/100 on our quality scale, 1038th of 1,103 Security skills we index.
Its MCP Server is 26 KB long, well organised into 19 sections with 6 code examples: a thorough specification that gives an agent plenty to work with.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 12 days ago, so deskmcp is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
deskmcp compared with similar skills
All 4 of these similar skills score higher than deskmcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| deskmcp (this skill)by edmen12 | 73 | 10 | 12d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 114.7k | 1d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 90.0k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.4k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 80.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install deskmcp?
- Run
claude mcp add edmen12 -- npx -y github:edmen12/deskmcp. The install tabs above show the steps for each supported agent. - Which AI agents does deskmcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is deskmcp safe to use?
- It is Apache-2.0-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is deskmcp still maintained?
- The repository was last updated 12 days ago, so deskmcp is actively maintained.
Skill content
View source on GitHubDeskMCP
DeskMCP is an open-source local-first MCP policy gateway that gives ChatGPT controlled access to local files, terminal sessions, and Windows desktop UI. It runs policy enforcement on your computer, exposes a stable MCP tool surface, and connects through an OpenAI Tunnel while keeping the local MCP endpoint bound to 127.0.0.1.
The default profile is Read-only. Filesystem access is scoped to a workspace you choose locally, sensitive paths are excluded before search, and elevated process capabilities are session-owned rather than arbitrary PID control.
Personal open-source project by edmen12.
Why DeskMCP?
| | | | --- | --- | | Local-first | The Gateway and policy enforcement run on your computer. | | Workspace scoped | Safe profiles keep file tools inside the folder you explicitly select. | | Secure by default | First run starts in Read-only mode; Full Control and Fully Unlocked are never persisted. | | Easy to install | The self-contained Setup does not require Node.js, npm, .NET, Git, or a source checkout. |
Product preview
<p align="center"> <img src="docs/images/control-panel.png" alt="DeskMCP Control Panel" width="430" /> </p>The tray Control Panel shows Gateway/Tunnel health, the active permission profile, the selected workspace, Agent Desktop bindings, Windows startup settings, and Tunnel configuration without exposing secrets.
Windows quick start
<p align="center"> <img src="docs/images/quick-start.svg" alt="DeskMCP Quick Start" width="100%" /> </p>- Download
DeskMCP-Setup-<version>.exefrom the latest GitHub Release and run it. - Choose the workspace DeskMCP may access.
- In OpenAI Platform, create a Tunnel and copy its Tunnel ID and Runtime API Key into First Run.
- In ChatGPT, open the existing DeskMCP plugin if one already exists. Only use Plugins → New plugin when DeskMCP is not present.
- For a new plugin use Name: DeskMCP, Connection: Tunnel, Auth: No auth. If ChatGPT reports Connector name already exists, cancel creation and reuse the existing DeskMCP plugin instead.
- Select the Tunnel, check I understand and want to continue, then Scan tools.
Expected result: 27 DeskMCP tools.
The Runtime API Key is protected with Windows DPAPI and is not written to settings.json. Secret writes are verified by immediate DPAPI readback; settings use atomic replacement with a recoverable backup. You can skip Tunnel setup during First Run and configure it later.
Architecture
<p align="center"> <img src="docs/images/architecture.svg" alt="DeskMCP architecture and security boundary" width="100%" /> </p>ChatGPT
↕ OpenAI Tunnel
DeskMCP Gateway (127.0.0.1:8765)
↕ local policy enforcement
├─ DeskMCP backend
│ ↳ selected workspace
│ ↳ Gateway-owned process sessions
├─ Agent Runtime
│ ↳ Workspace-bound recoverable Task Rooms
│ ↳ verified expiring artifacts
│ ↳ dynamic Streamable HTTP MCP facade
│ ↳ versioned model-readable Skills
├─ Browser Runtime
│ ↳ DeskMCP-owned Chromium profile / loopback CDP / verified screenshots
└─ Windows Computer Use backend
↳ Microsoft WinApp CLI / UI Automation / screenshot / input
The Tunnel provides the remote transport. The local Gateway checks policy before filesystem, process, computer-use, artifact publication, dynamic MCP, or Skill mutations. Recoverable task state stays local under Workspace-bound Task Rooms: parallel chat windows receive separate opaque room capabilities by default, task listing requires the current room capability, and an interrupted chat can explicitly reattach by exact task id or by a discovered room id plus matching label. Artifacts and installed Skill versions stay local under DeskMCP's data root; Skills expose instructions/resources to the model but never auto-execute bundled scripts. Dynamic MCP servers are user-configured and only their non-secret configuration plus environment-variable names are persisted. Windows Computer Use is packaged as a pinned backend behind DeskMCP's own stable MCP schema, so backend changes do not become remote API changes.
Permission profiles
- Read — default; read, list, metadata, bounded search, Task Room discovery plus task inspection when the current room capability is already available, artifact inspection/read, cached dynamic-MCP discovery, and installed Skill list/get/read plus local package validation.
- Write — adds guarded create/edit/write/move operations plus Task Room creation/reattach and task mutation, artifact publish/delete, and local Workspace Skill install/activate/rollback.
- Full — session-only; keeps the Workspace filesystem boundary and adds terminal/process sessions, Windows Computer Use, isolated Browser Automation, dynamic MCP refresh/live calls, and remote Skill validation/install over verified HTTPS sources.
- Unlock (
fully-unlocked) — session-only; disables DeskMCP Workspace, sensitive-path and fresh-observation file guards and also permits explicitly requested system-wide key injection. Windows ACL/UAC and Secure Desktop remain host boundaries.
Full and Unlock are never persisted. Restarting DeskMCP returns to the last safe persisted profile: Read or Write. Neither profile bypasses Windows ACL/UAC or any remote-client safety policy.
Tool surface
DeskMCP currently exposes a stable 27-tool MCP surface:
desktop_policy_status
desktop_read_file
desktop_list_directory
desktop_get_file_info
desktop_search
desktop_create_directory
desktop_write_file
desktop_edit_file
desktop_move_file
desktop_start_process
desktop_read_process
desktop_interact_process
desktop_terminate_process
desktop_ui_windows
desktop_ui_snapshot
desktop_ui_action
desktop_agent_desktop
desktop_task_manage
desktop_artifact_manage
desktop_mcp_manage
desktop_mcp_tool_search
desktop_mcp_tool_inspect
desktop_mcp_tool_call
desktop_skill_manage
desktop_browser_session
desktop_browser_snapshot
desktop_browser_act
The schemas stay discoverable across profiles so the remote connection remains stable. Discoverable does not mean permitted: every invocation is still checked by the local DeskMCP policy before it can execute. The dynamic MCP facade keeps arbitrary upstream tool schemas behind search → inspect → call rather than expanding DeskMCP's top-level tool list for every connected server.
Windows Computer Use is UI Automation first. desktop_ui_snapshot returns a short-lived opaque computer_observation_id; every desktop_ui_action must consume a fresh observation. Any action invalidates sibling observations for that window, and physical/global input also invalidates observations for other windows because it can change global desktop state. GUI mutations are serialized process-wide. Screenshot capture is optional and bounded before it is returned as MCP image/png; use it when visual context is needed instead of paying the image cost on every step. See docs/COMPUTER_USE.md.
On Windows, window_mode controls only whether the CMD/PowerShell console itself is hidden or visible. It is independent from privilege elevation. window_mode: "hidden" remains the default for background agent work; use window_mode: "visible" only when the local user should see and interact with the console window. Visible sessions take interactive keyboard input from their Windows console instead of desktop_interact_process.
elevation: "admin" uses the Windows runas broker and always relies on the normal local UAC approval flow. It is valid with either window mode: hidden + admin shows the standard UAC prompt and, after approval, runs the administrator process without an extra CMD/PowerShell window; visible + admin shows UAC and then opens the visible administrator console. UAC cancellation or denial is returned as an error; DeskMCP does not bypass UAC.
Agent Desktop pool on Windows
Desktop 1 is reserved for the local user. Create Desktop 2 or later with Windows Virtual Desktops, switch to each desktop you want to offer to agents, then use Settings → Agent Desktop → Bind Current. Multiple bound desktops form a pool: each new Agent Control lease receives the first free live desktop, and concurrent agents cannot take the same slot.
Settings lists each bound desktop separately with its current state. Ready means the slot is available, Controlling means an agent owns the slot, and Unavailable means the original Windows virtual-desktop GUID was removed or became Desktop 1. Idle or unavailable bindings can be removed with Unbind; a controlling desktop must exit Agent Control first. DeskMCP resolves the live Windows desktop number from the stable desktop GUID before allocation, so normal Windows desktop renumbering does not misroute a lease.
Agent Desktop Browser sessions belong to the Agent Control lease rather than one tool call. The browser remains open, including page/login state, until that lease exits, is revoked, or its linked Task Room completes. The blue safety edge/HUD is shown only on the currently viewed controlled Agent Desktop; switching back to Desktop 1 hides the overlay without stopping agents running on other bound desktops.
Security model
- Gateway HTTP binds only to
127.0.0.1:8765. - In Read, Write and Full, allowed filesystem access is restricted to the locally selected Workspace and lexical/canonical path checks block symlink/junction escapes.
- Sensitive paths such as
.env,.npmrc,.pypirc,.netrc,.ssh,.gnupg, and.aws/credentialsare denied by default, and search excludes them before DeskMCP backend/ripgrep reads candidates. - In Read/Write/Full,
desktop_read_fileissues a one-time opaqueobservation_id. Editing, moving, or overwriting an existing file must present the matching fresh capability; capabilities are path/version-bound, single-use, bounded to 1024 entries, and same-path mutations are serialized across Gateway instances so concurrent agents cannot silently overwrite each other from the same observed version. - Unlock intentionally disables those three DeskMCP filesystem protections for the current session. Audit remains enabled and Windows account permissions remain the final local boundary.
- Process tools use opaque Gateway-owned session IDs instead of exposing arbitrary Windows PID control. Capacity counts active sessions plus in-flight start reservations, so no more than 32 owned sessions can be active/starting at once. DeskMCP backend's own
list_sessionsis the active-session source of truth (rather than OS PID liveness guesses); completed-session capabilities remain readable in bounded history, any later reuse of the same OS PID invalidates older capabilities for that PID, and Gateway shutdown cleans up owned live sessions. - Computer Use exposes opaque
window_idcapabilities rather than HWND/PID targets. A freshcomputer_observation_idis required for every action, observations expire after 30 seconds and are one-time, and the first action on a window invalidates sibling observations from the same UI state
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
114.7kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
90.0kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
80.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
