One wire, pushed out from the inside
Nothing can reach in. The agent reaches out, and that one outgoing connection is all your AI needs. Press the buttons and see why.
Swipe the picture sideways to see all of it.
The finished picture: the agent has dialled out, so your AI reaches the computer four layers deep while the firewall stays closed. Press “Walk through it” to build it step by step.
- Try to reach it from outside. Your AI cannot open a connection into the machine. Press the button and watch it stop at the firewall.
- Start the agent. The agent opens an outgoing connection to the MCP Desk hub. Outgoing connections are allowed, so no hole is needed.
- Bury it deeper. Put the computer inside a remote desktop, a host server and a virtual machine. Drag the slider.
- Send a command. Your AI sends the desk code. The hub finds the computer, and the command runs there.
- Switch it off. Stop the agent and the connection closes. Access ends.
What this shows
- The agent on the computer makes an outgoing connection to MCP Desk. That is why no inbound rule, public IP or port forwarding is needed.
- The hub keeps the registry and the code. The gateway carries your AI’s MCP requests to the computer through that connection.
- Burying the computer inside a remote desktop, a host server and a virtual machine changes nothing about this, as long as the computer can make an outgoing internet connection.
- Stop the agent and access ends.
What it does not show
- What travels over the wire, and who can read it on the way. That is next: two paths over the wire.
- Who is allowed to connect. That is The breaker panel.
- What your AI may do once connected. That depends on the agent mode and tool limits: see Security.
Two paths over the wire
The picture above shows how your AI reaches the computer. What travels on that wire, and who can read it on the way, depends on how you connect. There are two ways, and they differ in exactly this: Standard MCP, and the recommended MCP Bridge.
Swipe the picture sideways to see all of it.
Top: Standard MCP, readable at our gateway. Bottom: the MCP Bridge, sealed from your computer to the desk, with its two routes: the direct line, and the dashed one through our relay.
- Standard MCP. Your AI client → our gateway → desk. Encrypted in transit with TLS. Our gateway reads each request to deliver it to the right desk. Commands and file contents are not stored or logged.
- MCP Bridge. Your AI client → MCP Bridge on your computer → desk. Encrypted on your computer, decrypted only on the desk. Peer-to-peer when the network allows, relayed through our servers otherwise. The hub introduces the two sides and holds no keys, so it cannot read your commands or files.
What each hop can see
Follow one request from your AI to the desk. This is what every stop on the way gets to see, on each way of connecting.
| Standard MCP | MCP Bridge | |
|---|---|---|
| Your AI client | Sends each request to our gateway over TLS. | Hands each request to the bridge on the same computer. That handover is still readable, and it never leaves the computer. |
| MCP Bridge, on your computer | Not there. No program of ours runs on your AI’s computer. | Seals every request before it leaves the computer and opens the desk’s answers. Its private key was made on this computer and never leaves it. |
| The networks in between | TLS: who talks to whom, when and how much. Not what. | On the relay route, TLS with the sealed records inside it. On a direct path, encrypted UDP packets between your two computers. |
| The network edge in front of our servers | HTTPS ends here, at a content delivery network we use, so the request can be read here and at our gateway. | On the relay route the sealed records pass here too, still sealed. A direct path does not come this way. |
| MCP Desk gateway | Reads each request to deliver it to the right desk. Commands, results and file contents are not stored and not logged. | Its relay copies bytes it has no key for. On a direct path the session does not pass our servers at all. |
| MCP Desk hub | Keeps the registry and the codes: it checks your sign-in and which desk you may reach. The requests pass the gateway, not the hub. | Introduces the two sides: it checks the bridge’s sign-in, and the gateway then asks the desk to start a session. The sign-in is checked again every minute while the relay is open. The hub holds no keys, so it cannot read your commands or files. |
| Public STUN servers | Not used. | Each side asks one what its own public address is, to find a direct path. They belong to third parties, not to us; they see an address and a port, and nothing about your account, your desk or your data. |
| MCP Desk agent, on the desk | Gets the request through its own outgoing TLS connection and runs it. | The only place the sealed request is opened. The agent runs it and seals the answer. Its private key was made on the desk and never leaves it. |
| What we see, in total | 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. |
Whichever way you connect, your AI vendor sees what the model sees: whatever a tool returns goes into the conversation. And we keep nothing of the content: commands, results and file contents are not stored and not logged.
How the two sides exchange keys
With the MCP Bridge the keys are made on your two computers and stay there. It takes two steps: the bridge and the desk pair once, and from then on they prove themselves to each other at the start of every session.
Once: pairing
- Each side makes its own long-term key (Ed25519) on its own computer. The private half never leaves that computer, and no key is ever made by MCP Desk or sent to us.
- The desk makes a short pairing code. It is separate from the rotating one-time code, and it works once.
- With that code the two sides run a password-authenticated key exchange (SPAKE2). A wrong guess reveals nothing about the code.
- Under the keys of that exchange each side sends the other its public key, signed. Each stores the other’s: from then on the bridge talks only to that desk key, and the desk only to bridges it has paired with.
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.
Every session: the handshake
A session starts through our relay, which passes four messages between the two sides and holds no key for what is sealed in them.
- Bridge → desk readable by the relayA fresh public key, made for this session only (X25519), with the desk code and a random number.
- Desk → bridge public key readable, the rest sealedIts own fresh public key and random number. The two fresh keys give both sides the same secret, which never crosses the wire. Sealed under it, in the same message: the desk’s long-term public key and its signature. The bridge checks that this is the desk key it stored when pairing before it signs anything itself.
- Bridge → desk sealedThe bridge’s long-term public key and its signature. The desk checks the key against the bridges it has paired with.
- Desk → bridge sealedAccepted or refused. Because the answer is sealed, a server in between cannot forge it.
- What our relay sees of it. The desk code, the two fresh public keys and two random numbers. The long-term keys and both signatures travel sealed, and the secret is never sent.
- The signatures cover the whole exchange. The desk code and both fresh keys are inside what each side signs, so a recorded handshake cannot be played again or moved to another desk.
- Fresh keys every session. The session keys come from that secret (HKDF-SHA256), one for each direction, so each session has its own keys and recorded traffic cannot be opened later.
- Then sealed records. 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.
Then: peer-to-peer when the network allows
- A session starts through our relay. There the two sides run the handshake.
- Inside the encrypted session they tell each other their network addresses.
- 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, or it drops, the session carries on through the relay with the same keys. Your privacy does not depend on which one you get.
The same in more words, and how the direct path is found: How the MCP Bridge is encrypted.
Check it yourself with a packet capture
You do not have to take a picture’s word for it. With the MCP Bridge, a packet capture shows two things: which computers yours talks to, and that nothing readable crosses the network.
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.
2. Capture in the bridge’s own network
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 -v "$PWD":/out alpine:3 sh -c "apk add -q tcpdump && tcpdump -ni any -w /out/bridge.pcap udp or tcp port 443" The first few packets are the helper downloading tcpdump.
3. Look for your own words
While it runs, ask your AI to run a command on the desk that prints a word you will recognise, such as echo my-marker-4821. Then stop the capture and search the file for that word. The count should be 0:
grep -c my-marker-4821 bridge.pcap What you should see
| 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. Your marker is not in the capture. | Short connectivity checks, then a handshake, then only encrypted application data. Your marker is not in the capture. |
| Our servers | On the path, carrying ciphertext. | Not on the path. |
nslookup mcp.mcpdesk.ai - 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.
- Standard MCP looks the same from outside. A capture of Standard MCP shows TLS too. The difference is at the far end: there our gateway reads each request to deliver it, and with the bridge what reaches our relay is still sealed.
The full recipe, with the capture on the desk itself (Linux, macOS and Windows) and what each kind of packet is: Security: check it with a packet capture.
Use the MCP Bridge
The bridge is recommended but not required, and you can add it whenever you like: both ways reach the same desks with the same tools. The one line that sets it up is on the MCP Bridge card of the Connect tab in your dashboard. What it puts on your computer, what we can and cannot see, and the honest limits are on the Security page.