> Dea 0.9.9 documentation.
> Canonical page: https://dea.dardanica.app/docs/reference/configuration/
> Documentation index: https://dea.dardanica.app/llms.txt

# Settings and file locations

Use the app's Settings and Connection screens for ordinary configuration. Paths below describe defaults; your OS can relocate Documents or app-data folders.

## Files Dea creates

| Item | Default location |
| --- | --- |
| Named agent screenshots | OS Documents folder, `Dea/Screenshots/<date>/` |
| Agent-saved page downloads | OS Documents folder, `Dea/Downloads/<date>/` |
| Ordinary browser downloads | OS Downloads folder |
| Website tweaks | OS Documents folder, `Dea/Tweaks/*.js` (normally named `.user.js`) |
| Project design map | `<project>/.dea/design-map.json` and Markdown companion |
| A downloaded update | `updates/` in the app-data directory, removed once installed |

Screenshot and download tools can accept explicit names and directories. Read their returned absolute paths. Reusing a filename can replace an existing output; tools that report replacement include that information in their result.

## App data

Settings are stored in `settings.json` inside Electron's `userData` directory. The MCP key is stored as `mcp-token` there. Typical directories are:

| Platform | Typical app-data directory |
| --- | --- |
| Linux | `~/.config/Dea/` (or the configured OS app-data location) |
| macOS | `~/Library/Application Support/Dea/` |
| Windows | `%APPDATA%\Dea\` |

Browser profile storage is app data too. Keep it during upgrades if you want to retain sign-ins. These folders contain personal state and credentials; do not publish them as documentation examples or attach the whole directory to a bug report.

## Environment variables

| Variable | Meaning |
| --- | --- |
| `DEA_MCP_PORT` | Preferred local MCP port; defaults to `7704` |
| `DEA_MCP=off` | Disables the MCP server when launching Dea |
| `DEA_MCP_OWNER_IDLE_MS` | Workspace ownership idle timeout in milliseconds; defaults to `600000` |
| `DEA_MCP_URL` | Supplied to Dea terminal processes with the running server's URL |
| `DEA_MCP_TOKEN` | Supplied to Dea terminal processes with its access key |
| `TYPESAFE_API_KEY` | Optional fallback TypeSafe key when none is stored in Settings |

Set startup variables in the environment that launches the app. Setting one only inside a terminal after Dea has started does not reconfigure the existing desktop process. Use Connection's displayed server URL because the actual bound port may differ from the preferred one.

Agent config paths also respect client-specific overrides such as `CODEX_HOME`, `XDG_CONFIG_HOME`, and `HERMES_HOME`; see [Connect your agent](https://dea.dardanica.app/docs/connect/).

## Workspace configuration

`configure_workspace` can save named startup tabs, viewports, a screenshot directory, and an optional branch/worktree directory. It does not restart existing shells. New shells and Files can use the configured worktree.

Closing or removing that workspace does not delete its project files or remove a Git worktree. Manage the worktree deliberately through your normal Git workflow.

## Tray and process lifetime

**Keep running in tray** makes closing the window hide Dea while the browser, terminals, and server remain running. Use the tray's Quit command to end the process. Without a running app, agents cannot call Dea and background watches cannot poll.
