Skip to content

Safety and privacy

ccdesk runs on your machine, reads your Claude Code config, and can change it. This page lists what it does to keep that safe.

ccdesk makes no network requests of its own. It does not connect to MCP servers, send telemetry or check for updates. The programs it starts are local: git, to see which files a repository tracks; your editor or browser when you ask; and Claude Code’s claude mcp when you change a user or local MCP server. Everything it shows is read from local files and served to your browser by the local server.

  • It listens on 127.0.0.1 only, so other machines on your network cannot reach it.
  • ccdesk generates a random token. Stopping ccdesk with Ctrl+C and starting it again within 15 minutes keeps the token and port, so an open page keeps working; after that, or after ccdesk was killed, the token is new and every old copy of the link (in a tab, the browser history or the terminal) stops working. The token and port are kept in ccdesk/server.json in your Claude folder, which must be readable by you only: one another account could read or has written is replaced. On a machine shared with other accounts, any of them can listen on the port while ccdesk is stopped, and a tab left open keeps sending the token to it, so close the tab when you stop ccdesk.
  • The browser receives the token in the address fragment (#token=…), which browsers do not send to servers or in referrers, and moves it into the tab’s session storage. Every API call must carry it.
  • Requests whose Host is not 127.0.0.1 or localhost on ccdesk’s port are refused, which stops DNS rebinding. Requests that change something are also refused when they come from another origin.
  • Pages are served with a content security policy that allows only ccdesk’s own scripts.
  • Values under env and headers, in settings files, hooks and MCP servers, are shown as •••, in tables, in the inspector and in diffs. The keys stay visible.
  • The user name, password and query string of a URL, such as an MCP server’s url, are hidden wherever ccdesk shows it. A key in the URL’s path is not recognised and stays visible; keep such a URL in an environment variable and write ${VAR} in the file.
  • In an MCP server’s args, the value after a flag such as --token, --api-key, --access-token or --client-secret, a header’s value after --header or -H (as mcp-remote takes Authorization: Bearer …), and a value that starts like a common key (sk-, ghp_, xoxb-), are shown as •••. The MCP servers page has the full list.
  • allowedMcpServers and deniedMcpServers entries match a server by repeating its command or URL, so a serverCommand’s arguments and a serverUrl’s user, password and query are hidden the same way. ccdesk still matches them against the real values.
  • A settings file reached through an @import or a link is shown with the same values hidden.
  • The comparison page compares the real values, so it says whether two hidden values are the same, never what they are.
  • An error about a JSON file that does not parse gives only the line and column, never the text around it.
  • ccdesk never changes hidden values. An edit that would touch them is refused, and so is a restore that would bring back different ones. Removing an MCP server with hidden values is allowed.
  • ~/.claude/.credentials.json, where Claude Code keeps your login, is never read, opened or written: not by name, not through a link, not through an import.
  • ~/.claude.json is never written, even through a settings file that links to it. Claude Code rewrites it during every session. User and local MCP server changes go through Claude Code’s claude mcp commands, which write it.
  • ~/.claude/remote-settings.json, where Claude Code caches your organisation’s server-managed settings, macOS configuration profiles and the Windows registry policy keys are not read. ccdesk only checks whether they are there, and the page names the ones it finds and how Claude Code ranks them.
  • A MEMORY.md that links outside its memory folder is left alone.
  • Sessions and transcripts are never deleted or changed. Forgetting a directory whose folder is gone moves its whole store, sessions included, into ~/.claude/backups/ccdesk/, from where Recent changes can move it back.

Nothing is written until you have seen the diff and pressed the button that saves it, and ccdesk saves exactly the change you reviewed: if the file changed in the meantime, it refuses and asks you to review again. The old file is copied to ~/.claude/backups/ccdesk/ first, and on Linux and macOS those copies are readable only by you. See Recent changes.

Writes go to a temporary file that replaces the original in one step, so a crash cannot leave half a file. A file that is a link stays a link. A file with other hard links is not saved, since replacing it would split it from its other names; edit it in your editor.

To count tool calls, reads of memory files and your answers to permission prompts, ccdesk reads the open directory’s transcripts in ~/.claude/projects/. Commands, URL hosts and the paths Claude read stay inside the ccdesk process; only counts, times and rule patterns such as Bash(pnpm test *) reach the page. Details are on Tool usage counts.

Instruction files, memories and skills are rendered without raw HTML. An AGENTS.md in a repository you cloned cannot run script in a page that can edit your settings.