Security at MCP Desk
What MCP Desk puts on your computers, what we can and cannot see, and how to check both yourself.
How can I trust MCP Desk?
MCP Desk lets an AI work on a computer of yours, so you should not have to take our word for anything. It is built so that little needs to be trusted, and most of what is left you can check yourself:
- Little is installed. One program on the computer you want to reach, and a way to check that the file is ours. On the computer your AI runs on: nothing, or, for the bridge, one container that runs with few rights. What runs where.
- Nothing happens without you. A code from the computer’s own screen, Allow pressed on that computer, and a way to end access at any time. You stay in control.
- We say what we can see. With Standard MCP our servers read each request to deliver it. With the MCP Bridge they cannot. What we can and cannot see.
- You can test it first. Run the agent in a throwaway container or virtual machine before it touches a real computer. Try it safely first.
- You can watch the wire. A packet capture shows who your computers talk to, and that nothing readable crosses. Check it with a packet capture.
See it work: the wire (why you open no port) and the breaker panel (who can switch a desk on).
What runs where
We try to put nothing on either computer that the job does not need.
On the computer you want to reach (the desk)
- One program. The MCP Desk agent,
mcpdeskagent: one file per system (an app on macOS). It installs no driver, no browser extension and no other software. - No AI on it. No model, no AI account and no AI key go on the desk. The AI stays where you already run it and only sends tool calls.
- Outgoing only. The agent dials out over TLS to
hub.mcpdesk.aiandmcp.mcpdesk.aion port 443, and toupdates.mcpdesk.aiormcpdesk.aiwhen it looks for a new version. You never open or forward a port yourself: nothing to set on your router. On the computer itself it listens only on127.0.0.1(port 8787), which other computers cannot reach, and that listener asks for an access key kept in the agent’s data folder. - Direct paths. For a direct bridge path or the live view, the agent opens outgoing UDP for that session only. For a Direct connection the desk may ask your router for a temporary UDP port that only the paired, encrypted session can use. It is removed afterwards, and you can switch this off.
- No installer needed. You can simply run it, and it then has the rights of your own account. Installing it as a service, so that it starts with the computer, is your choice; a machine-wide service needs administrator rights, and on Linux it runs as root.
- It reports little. A heartbeat every 30 seconds keeps the desk listed as online, and a short list of system details is sent when the agent starts and again every few hours (what we store). It sends no usage analytics and no crash reports: its logs stay in its data folder.
- Updates are signed. The agent accepts a new version only from a release entry signed with a key built into the agent (Ed25519). The entry names the version, the size and the SHA-256 of the file; the agent never installs a lower version and checks the downloaded file against that size and hash before it replaces itself.
mcpdeskagent update offturns updating off.
On the computer your AI runs on
- Standard MCP: nothing. You add one sign-in address to your AI client (
https://mcp.mcpdesk.ai/oauth/mcp) and sign in in the browser. No program of ours runs there. - MCP Bridge: one container. The bridge is the same program, started from our image
docker.io/mcpdesk/bridgeon Docker Hub. The image holds that one file: no shell and no package manager. It is pulled by its digest, a SHA-256 that is fixed for each release, never by a tag that could be moved to another image. - Few rights. The container runs read-only, as an unprivileged user, with every Linux capability dropped and privilege escalation switched off. It publishes no port, and exactly one folder of your computer is shared with it:
MCPDeskFilesin your home folder, for the files you move through the bridge (never your home folder itself, no other folder, no key). Its keys and sign-in live in a volume of its own. An AI client that uses the bridge can read, replace and send any file in that folder, and can fill it, so keep no secrets there. - A setup script you can read. It uses the Docker or Podman you already have (a container runtime is installed only when you have neither), starts the container, and points your AI clients at it after copying every settings file it changes. Read it first: install.sh, install.ps1. Or do a dry run, which prints every step it would take and stops before any container is made or any AI client is changed.
- Nothing else of ours. No program of MCP Desk is installed on that computer outside the container, and no helper script stays there. Your AI client talks to the bridge through the container runtime’s own
execcommand. - What a container does not change. The container holds the bridge and its keys. Your computer still runs the script you downloaded and the container runtime.
curl -fsSL https://mcpdesk.ai/install.sh | sh -s -- --dry-run Check the download
macOS: signed and notarized
The Mac app, its disk image and the plain Mac binaries are signed with our Apple developer identity, Developer ID Application: Omri Katz (C4F7B85K4V), and notarized by Apple. Ask macOS itself:
spctl -a -vv "/Applications/MCP Desk.app" spctl -a -vv -t open --context context:primary-signature mcpdeskagent-macos-universal.dmg Both must answer accepted, source=Notarized Developer ID and origin=Developer ID Application: Omri Katz (C4F7B85K4V). To see the signer alone:
codesign -dv --verbose=2 "/Applications/MCP Desk.app" Every file: SHA-256
Each release publishes SHA256SUMS, one line for every file on every system (Windows, macOS, Linux and Android). Run this in the folder that holds your download; it checks the files it finds there:
curl -fsSL https://mcpdesk.ai/downloads/latest/SHA256SUMS | shasum -a 256 -c --ignore-missing curl -fsSL https://mcpdesk.ai/downloads/latest/SHA256SUMS | sha256sum -c --ignore-missing Get-FileHash .\mcpdeskagent-windows-x86_64.exe -Algorithm SHA256 - Windows. The direct
.exeis not signed with a code-signing certificate yet, so Windows may show a warning before it runs. Check its SHA-256, or install from the Microsoft Store, where the Store signs the package. - Linux. The Linux files carry no platform signature. Check the SHA-256.
The bridge image
The digest of each release is published as one line. Compare it with what is running on your computer, and look at the container’s settings:
curl -fsSL https://mcpdesk.ai/downloads/latest/BRIDGE_IMAGE docker inspect mcpdesk-bridge --format '{{.Config.Image}}' docker inspect mcpdesk-bridge --format 'read-only={{.HostConfig.ReadonlyRootfs}} cap-drop={{.HostConfig.CapDrop}} security={{.HostConfig.SecurityOpt}} user={{.Config.User}} ports={{.HostConfig.PortBindings}}' The last one should print read-only=true cap-drop=[ALL] security=[no-new-privileges] user=10001:10001 ports=map[]. Shown for Docker; with Podman, write podman in place of docker.
What these checks prove: the checksum list and the image digest are published on the same site as the files, so they show that a file arrived unchanged, not that our site is honest. The Mac signature does not depend on our site: it is tied to our Apple developer identity.
You stay in control
- A code from the computer’s own screen. Every desk has a 9-digit desk code and a 6-digit one-time code. The one-time code is made on the desk and changes every 10 minutes. Connecting to a desk that is not linked to your account needs both.
- Allow, pressed on the computer. Linking a desk to your account (
link_desk) waits for someone at that computer to press Allow within 5 minutes. From then on the desk answers only your account, and its desk code and one-time code stop working for anyone else. Linking it to another account needs Allow again and removes the previous owner at once. How linking works. - The screen has its own approval. When someone else’s AI, or a bridge, wants to see or control the screen, the desk shows who is asking and waits for Allow, and a request nobody answers is dropped (unless someone at the desk switched on
mcpdeskagent screen auto-allow, which gives them a 20-second notice instead). An approval lasts 30 minutes unless you choose otherwise. Your own sessions on a desk linked to your account are different, by default: your signed-in live view opens without asking, and your own AI using the sign-in address gets a 20-second notice on the desk (Allow now or Decline) and is let in unless someone declines. Start the agent with--owner-allow askto be asked every time. - No screen on that computer? Approve from its own terminal:
mcpdeskagent link approve,mcpdeskagent screen approve. - The bridge is approved by you. A new bridge signs in through a page in your browser where you, signed in to your account, press Allow. When your AI client sets the bridge up for you, a one-time setup code stands in for that page: it works once, for two minutes after you said yes in the client’s own form; a yes that only the AI typed does nothing until you approve it yourself on the approval page (
mcpdesk.ai/bridge-approve). - Choose what the AI may do.
readonlymode only inspects,playbooksadds scripts you vetted,fullallows commands and file writes. A fresh launch starts infull; pass--mode readonlyto start smaller.--allow-toolsand--deny-toolsnarrow the tool list further, and--allowed-rootkeeps the file tools inside folders you choose. Details and examples. - A record on your own computer. The agent writes one line for every tool call and every refused request to a local audit log: the tool, the caller and the arguments, with long text cut short. The log stays on your computer, is never sent to us, and can be turned off with
--no-audit.
What the agent refuses by itself
- It never reads back what is in a password field.
- Its own “run as administrator” on Windows is for the person at the keyboard: no AI tool can start it, and the agent never answers the Windows consent prompt.
- The optional remote browser refuses addresses on your private network unless you allow them.
- A tool the mode or your lists hide is refused on the desk itself, whatever a client sends, and the refusal is written to the audit log.
There is no built-in list of forbidden commands. In full mode the AI can run what the agent’s account can run, and --allowed-root limits the file tools only, not commands. The mode is the control: use full while you supervise.
Ending access
- One AI client: dashboard → Connected apps. Every AI client and every bridge that signed in is listed there; Disconnect ends that sign-in, and a bridge it set up with a setup code goes with it.
- A linked desk: ask your AI to
unlink_desk, or runmcpdeskagent link revokeon the desk. The account loses access at once. - Everything, now: stop the agent. Access ends with it.
- For good:
mcpdeskagent uninstall-service --purgeremoves the service and the desk’s identity (as Administrator on Windows, withsudoon Linux and macOS). Without a service, delete the program and its data folder;mcpdeskagent goodbye --deregisterfirst also deletes the desk from our records. - The bridge: the setup script can undo itself, putting your AI clients’ settings back from the copies it made and removing the container. The container and its volume are also ordinary objects of your container runtime that you can remove yourself:
docker rm -f mcpdesk-bridge docker volume rm mcpdesk-bridge-data What we can and cannot see
There are two ways to connect, and they differ in exactly this.
| Standard MCP | MCP Bridge | |
|---|---|---|
| Route | AI client → our gateway → desk. Encrypted in transit with TLS. | AI client → bridge on your computer → desk. Encrypted on your computer, decrypted only on the desk. Direct between the two computers when a path opens, otherwise through our relay. |
| Readable by | Our gateway, in passing. HTTPS ends at the network edge in front of our servers (a content delivery network we use), and the gateway reads each request to deliver it to the right desk. | Only your two computers. The keys are made there and never leave. Our relay copies bytes it has no key for, and on a direct path the session does not pass our servers at all. |
| We see | Your account, the desk, when, sizes and timing, and the content while it passes. | Which account connected to which desk, when, for how long, and how many encrypted bytes passed the relay. Not what is inside. |
| We keep | Nothing of the content: commands, results and file contents are not stored and not logged. Logs hold the account, the desk code, the request path, the status, sizes and timing. Counters hold requests and bytes per desk per month, for three months. | |
More on the bridge: End-to-end encryption.
How the MCP Bridge is encrypted
Each side has its own long-term key (Ed25519), made on that computer. When they pair, each stores the other’s public key: the bridge then talks only to that desk key, and the desk only to bridges it has paired with. Every session starts with a handshake: a fresh key exchange (X25519) that both stored keys sign, so each session has its own keys and recorded traffic cannot be opened later. After the handshake every message is a sealed record (ChaCha20-Poly1305) with a counter, so it cannot be read, changed, replayed or reordered on the way.
A session starts through our relay. There the two sides run that handshake, and then tell each other their network addresses inside the encrypted session. When a direct path opens between the two computers, the session moves onto it: peer to peer, with no MCP Desk server in between. When none opens, it stays on the relay, encrypted in exactly the same way.
- Direct or relay? The bridge tries a direct path and otherwise uses the relay. From a container a direct path can open when the desk runs the latest agent and the desk is on a network that allows it, as most home and office networks do. Behind a phone hotspot or another strict network the route stays the relay, whatever Docker or Windows setting is used. That is normal, not a fault: the relay is the way that always works, and your privacy does not depend on which route you get.
- Finding the direct path. Each side asks a public STUN server what its own public address is. Those servers belong to third parties, not to us; they see an address and a port, and nothing about your account, your desk or your data. Set
MCPDESK_LANE_STUN=offfor the agent to skip them.
What stays visible, whichever way you connect
- That you connected. We see which account reached which desk and when, and the sizes of what we carry.
- What your AI sees. Encryption protects the path to your desk. Whatever a tool returns goes into the conversation with your AI vendor.
- The first pairing. When the bridge pairs with a desk by itself, the pairing code crosses our servers once, so that pairing trusts our servers at that moment. Both sides then show a six-digit check number: the same number on both means no server sat in between (no number means that pairing cannot be compared). To trust no server at all, pair with a code shown only on the desk’s own screen: how pairing works.
- AI clients in the cloud. An AI client that runs in its vendor’s cloud or in a browser tab cannot run a bridge, so it uses Standard MCP.
Live view, file links and our own staff
- Live view. The live view is separate from the bridge. Its picture goes directly between the desk and your browser when a direct path opens; otherwise it passes through a relay server or our gateway. It is encrypted in transit, and it is set up through our servers, so we do not call it end-to-end encrypted.
- File links. With Standard MCP,
download_linkandupload_linkstream a file through our gateway to or from the desk. The bytes are not written to our disks. A link works once, for 15 minutes unless the AI asks for another time, and whoever holds the link can use it. In a bridge session the desk refuses to make such links: files move inside the encrypted session instead. - Our staff. No admin function of MCP Desk can read a desk’s files or screen or run anything on it. The admin console shows accounts and the desk records listed under what we store.
Try it safely first
You do not have to start on a computer that matters. Run the agent somewhere you can throw away, watch what it does, then decide. We test it this way ourselves, in Linux containers and in Windows Sandbox.
Linux: a throwaway container
The agent needs no special rights in a container. Open one:
docker run --rm -it --name mcpdesk-try debian:12 bash Inside it, download the agent, check its SHA-256 and start it in read-only mode:
apt-get update -qq && apt-get install -y -qq curl ca-certificates && f=mcpdeskagent-linux-$(uname -m) && curl -fsSLO https://mcpdesk.ai/downloads/latest/$f && curl -fsSL https://mcpdesk.ai/downloads/latest/SHA256SUMS | grep " $f\$" | sha256sum -c - && chmod +x $f && ./$f --mode readonly It shows a desk code and a one-time code. Connect your AI to it and try things: a container has no screen, so the screen tools are not there, but system information, files and (without --mode readonly) commands are. From a second terminal, look at what it is doing:
docker top mcpdesk-try docker diff mcpdesk-try docker run --rm -it --network container:mcpdesk-try --cap-add NET_RAW --cap-add NET_ADMIN alpine:3 sh -c "apk add -q tcpdump && tcpdump -ni any" The file list holds what apt-get installed, the program itself, and one new folder: the agent’s data folder, /root/.local/share/mcpdesk. The traffic is two outgoing TLS connections to port 443 and nothing listening for the network.
When you are done, stop the agent with Ctrl+C, delete the test desk from our records, and leave. Stop it first: an agent that is still running registers a new desk when its own is deleted.
./mcpdeskagent-linux-$(uname -m) goodbye --deregister Windows and macOS
- Windows: Windows Sandbox gives you a throwaway desktop. Download the
.exeinside it, check its SHA-256 and run it. Closing the Sandbox deletes everything. - macOS, or any system: a fresh virtual machine does the same job.
- On a real computer: start with
--mode readonlyand without installing the service. Stopping the program ends it.
The bridge already runs in a container: read-only, with one folder of your computer shared (MCPDeskFiles, for file transfers) and nothing else.
Check it yourself with a packet capture
With the MCP Bridge, a packet capture shows two things: which computers yours talks to, and that nothing readable crosses the network. The tools are tcpdump, Wireshark, and pktmon on Windows.
1. See which route you are on
docker exec mcpdesk-bridge /mcpdeskagent bridge status The line for your desk ends with the route. lane up on tunnel means our relay; anything else after on is the direct path. Or ask your AI to run sysinfo: the connection.mode in its answer is written by the desk itself and says standard, tunnel or direct.
2. Capture on your AI’s computer
The bridge runs in a container, so capture inside the container’s network. This starts a small helper container that shares the bridge’s network and changes nothing in it:
docker run --rm -it --network container:mcpdesk-bridge --cap-add NET_RAW --cap-add NET_ADMIN alpine:3 sh -c "apk add -q tcpdump && tcpdump -ni any udp or tcp port 443" docker run --rm -it --network container:mcpdesk-bridge --cap-add NET_RAW --cap-add NET_ADMIN -v "$PWD":/out alpine:3 sh -c "apk add -q tcpdump && tcpdump -ni any -w /out/bridge.pcap udp or tcp port 443" Now ask your AI to run a command on the desk that prints a word you will recognise, such as echo my-marker-4821, and search the saved capture for it. The count should be 0:
grep -c my-marker-4821 bridge.pcap The first few packets are the helper downloading tcpdump. The filter leaves out the bridge’s own loopback address on purpose: that is where your AI client hands the request to the bridge, on your own computer, before the bridge encrypts it, so there it is still readable. Nothing on that address leaves the computer.
3. Capture on the desk
sudo tcpdump -ni any -X udp and not port 53 and not port 5353 sudo tcpdump -ni en0 -X udp and not port 53 and not port 5353 On a Mac, en0 is usually Wi-Fi; tcpdump -D lists the other interfaces.
On Windows, open a terminal as Administrator. Packet Monitor is part of Windows:
pktmon filter add mcpdesk -t UDP pktmon start --capture --comp nics --pkt-size 0 --file-name mcpdesk.etl pktmon stop pktmon etl2pcap mcpdesk.etl --out mcpdesk.pcapng pktmon filter remove What you should see in the capture
| On the relay | On a direct path | |
|---|---|---|
| Other end | Port 443 of mcp.mcpdesk.ai, over TCP. | Your other computer: its address on your own network, or the public address of the network it is on. Over UDP. |
| Packets | TLS application data and nothing else. Wireshark shows no readable request; your marker is not in the capture. | First short connectivity checks (Wireshark: STUN), then a handshake (DTLS 1.2: Client Hello, Server Hello and so on), then only encrypted application data. In tcpdump they are lines of UDP, length …, and the payload of a data packet begins with the bytes 17 fe fd (an encrypted DTLS record) followed by nothing readable. |
| Our servers | On the path, carrying ciphertext. | Not on the path. The bridge keeps its connection to the relay open, but once the session has moved, its data no longer goes there: run a large file transfer and watch the UDP packets carry it while the connection to port 443 carries next to nothing. |
nslookup mcp.mcpdesk.ai - Two layers on a direct path. The DTLS you see protects the hop. Inside it travel the same sealed records as on the relay, under keys only your two computers hold.
- Other packets you may see. A few small UDP packets to port 3478 or 19302 are the lookups at public STUN servers, and short UDP packets sent to your desk’s own addresses are the bridge trying to open a direct path; on the relay route they simply get no answer. On the desk, the agent’s own TLS connection to MCP Desk stays up the whole time: it keeps the desk listed as online and is how a session is set up.
- What a capture cannot show. On the relay, TLS already hides everything, so the capture cannot prove the second layer inside it; the direct path is the convincing case, because there our servers are not on the path at all. In our own lab run, with TLS taken off the relay, the relay leg carried the handshake and then only sealed records: no tool name, no file content.
Sign-in, codes and lockout
Signing an AI client in
An AI client signs in with OAuth in your browser; it never sees your password. The sign-in requires PKCE, sends the result only to the exact address the client registered, and gives the client an access token that lasts 15 minutes plus a refresh token that is replaced at every use. A refresh token used twice ends that sign-in. We keep only SHA-256 hashes of these tokens.
Identity and keys
Each desk has an Ed25519 key pair, created on the machine. The private key, the hub credential and the local access key live in the data folder (%LOCALAPPDATA%\MCPDesk on Windows, ~/Library/Application Support/MCPDesk on macOS, the XDG data folder on Linux). The private key never leaves the machine.
Brute-force lockout
Guessing a desk code or one-time code does not work for long. After a few failed attempts in a short time, MCP Desk makes that account or network wait before it can try again, and repeated lockouts wait longer, up to a day. A wrong desk code and a wrong one-time code get the same answer, so a guesser cannot tell which part was wrong. The lockout applies to whoever is guessing, not to the desk, so nobody can knock your desk offline by failing on purpose. Lockouts show up as a security alert on your dashboard.
Signed desk check
Each desk has its own device key that is created on the machine and never leaves it. When a desk registers or connects, it proves it still holds that key by signing a fresh check from MCP Desk (Ed25519, over its desk code, a random value and the time).
What we store
- Your account: the email and profile your sign-in provider returns, and login sessions (as hashes).
- Each desk: its desk code, name, platform and hostname, when it was last seen, the address it last connected from, its public key, which account it is linked to, and the system details the agent reports (system and version, CPU, memory, agent version, local network addresses).
- Sign-ins of AI clients: which client, when, and its tokens as hashes.
- The current one-time code of each desk, because our servers are what checks it. That is also why the bridge pairs with a separate code.
- Counters and events: requests and bytes per desk per month (three months), and security events such as lockouts (90 days).
- Not stored: commands, tool results, file contents, screenshots.
The full list is in the Privacy Policy.
The honest limits
- You run our builds. A signature and a checksum show that a file is ours and unchanged, not what it does. That is what the sandbox and the packet capture are for.
- Standard MCP is readable by our servers while it passes. If that matters to you, use the MCP Bridge.
- The bridge’s automatic pairing trusts our servers once. Compare the check number, or pair by hand.
- Your AI vendor sees what the model sees, whichever way you connect.
- A compromised computer is out of scope. Whoever controls your desk or your AI’s computer can read everything there.
- Full mode is powerful. An AI in
fullmode can do what the agent’s account can do, and the agent does not ask before each tool call.
Good practice
- Never paste agent secrets into an AI client; add the sign-in URL and sign in instead.
- Share the one-time code only with people you trust, and deny requests you do not recognise.
- Start a new desk in
readonlymode, and usefullmode only while supervising. - Link the desks you keep to your account, so their codes stop working for anyone else.
Report a vulnerability
Email [email protected] with details. Please give us time to fix the issue before disclosing it.
See also the Privacy Policy and the FAQ.