Private Desktop MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Private Desktop MCP
Self-hosted multi-device Model Context Protocol bridge for Desktop Commander using Cloudflare Workers, Durable Objects and a one-command Windows connector.
Transport: Streamable HTTP to ChatGPT; outgoing WebSocket from the device to the relay.
Public npm release
npx.cmd --yes --prefer-online --package=@juexibobi/private-desktop-mcp@latest -- private-desktop-mcp connectEach release gets its own immutable npm version. Do not overwrite a fixed .tgz at a stable URL: npm caching might start an old version.
Terminal logging (v0.3.6)
PCC now uses TRACE logging by default. The normal connect command prints MCP call IDs, sanitized/truncated command and response previews, timings, connection details, and errors. There is no need for --trace.
Privacy: TRACE can reveal sensitive file contents or command output. Redaction is best effort; avoid sharing or recording the terminal. Use --debug for detailed metadata without content previews, or --safe for compact logs. The former --trace flag remains supported for compatibility.
Windows system proxy detection (v0.3.4)
PCC automatically uses the current Windows user's effective system proxy (WinINET), including static HTTP/Mixed proxies, Windows proxy bypass rules, and supported PAC/WPAD configurations. It uses the same detected proxy for the HTTPS device-pairing API and for the secure WebSocket relay. No manual HTTPS_PROXY configuration is required for normal Windows system proxy settings.
Explicit HTTPS_PROXY, HTTP_PROXY or ALL_PROXY settings take precedence over Windows settings; NO_PROXY exclusions are respected for an explicitly configured environment proxy. Supported proxy transport is HTTP/HTTPS CONNECT. SOCKS-only proxy endpoints must be exposed through an HTTP/Mixed port. The detected proxy is re-checked periodically when retrying a lost connection. If system lookup fails or times out, PCC reports a warning and tries a direct connection.
Debug mode prints redacted parameter metadata and response size/type, not command contents, file contents or raw tool results. Sensitive fields and inline tokens are masked, but local paths and other non-sensitive metadata may still appear, so avoid sharing debug logs publicly. The child gateway's detailed stderr/stdout is still stored at %TEMP%\private-desktop-mcp-device.log. Neither logging mode changes device pairing, OAuth or startup behavior.
Related MCP server: SIN Mac Gateway
Current independent endpoint
https://private-desktop-device-relay.ljx2043979076.workers.dev/mcpSet up a remote Streamable HTTP MCP connection with Cloudflare Access OAuth. The gateway and device pairing admin page share this free workers.dev host. The old qqking.top route is a temporary fallback, not a dependency of this connector.
Pairing devices
On a Windows machine with Node.js 20.18.1+ run
private-desktop-mcp connectafter installation (or the npx command above).The first run prints an expiring pairing code and an Access-protected approval URL.
Sign into Cloudflare Access and approve the matching code in the admin page.
The device saves a locally scoped credential in the user's AppData and connects via WebSocket. Never commit or share that credential.
Leave the terminal open while using tools. Press Ctrl+C to disconnect. No startup tasks or Windows services are installed.
Reconnecting the same paired device needs no further approval. Revoke old devices from the admin page.
If multiple devices are online, select the intended one at the admin page. The relay must never route to an arbitrary device when the target is ambiguous.
Running without npm publication
Install from your own checked-out repository with npm install then node bin/cli.mjs connect. To install globally from the project: npm install -g ..
Cloudflare deployment
The Worker source is in worker/index.mjs. The infrastructure is described by wrangler.toml. Production has a separate Cloudflare Access self-hosted application protecting exactly /mcp and /admin/*, with Owner-only policy. Device pairing paths /relay/* remain reachable but device WebSocket access is protected by a bearer token issued only after pairing approval.
Never protect the entire Worker with Worker-level Access: this would prevent WebSocket connections. Never deploy the Worker without first configuring path-based Access for the MCP and admin endpoints. Use Wrangler or Cloudflare API credentials provided directly in your own secure environment.
worker/index.mjs currently supports the legacy qqking.top host for rollback. The free workers.dev endpoint is the canonical address.
Releases
CI executes syntax tests and package validation.
Immutable versioned npm packages carry the authoritative
latestdist-tag.Release workflow uses GitHub Actions OIDC npm trusted publishing for this repository and release.yml; no long-lived npm publish token is needed.
GitHub Releases preserves the same immutable
.tgzas a backup.Secrets, local
device.json,.env,node_modulesand existing Cloudflare Access policies are not stored in Git.
Security
This tool has Windows filesystem and command-execution capabilities. Restrict Cloudflare Access to your own identity, approve only devices you control and never expose a naked HTTP MCP endpoint. See SECURITY.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Zero-dependency Cloudflare Worker gateway turning websites and REST APIs into MCP tools.
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables remote MCP clients to access local filesystem and shell commands by deploying a Cloudflare Worker relay and a local daemon, providing tools like read/write files, exec commands, git status, etc.72 npm1MIT

SIN Mac Gatewayofficial
AlicenseNot gradedqualityDmaintenanceEnables remote MCP clients to securely access a trusted macOS machine's local file system and command execution tools (mcp-combiner) via OAuth-authenticated HTTPS through Cloudflare Tunnel, without opening router ports.MIT- AlicenseNot gradedqualityDmaintenanceEnables remote MCP clients like ChatGPT to run shell commands and manage files on your local machine via a Cloudflare tunnel, exposing tools for file operations, search, and task management.7MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to securely access and control a Windows machine remotely, running commands and managing files via an MCP server protected by Bearer-token authentication and exposed through a Cloudflare Tunnel.MIT