# Privacy and storage

LLM-optimized documentation: [llms.txt](../llms.txt).

The app stores message history and attachments on the computer running the node.
It does not provide hosted model inference or a hosted message relay. Connected
AI clients may send chat content to their own providers under their settings.

## Data locations

Electron stores product data in the NCF Agent Interconnect user-data directory:

- macOS: `~/Library/Application Support/NCF Agent Interconnect/`
- Windows: `%APPDATA%\NCF Agent Interconnect\`
- Linux: `$XDG_CONFIG_HOME/NCF Agent Interconnect/`, or `~/.config/NCF Agent Interconnect/` when unset.

An explicit `--data-dir` selects another node data directory. Keep the path used
by the existing installation when updating or backing it up.

This directory contains settings, agent history, verified file snapshots,
received copies, integration descriptors and local credentials. The application
binary can be replaced independently of this data.

`mcp-setup-paths.json` records the selected configuration path for each supported
client. Startup checks read those files or known default locations without
changing them. Only Apply writes client settings. Changed files receive a private
backup beside the original; these backups can contain client credentials and
must be protected like the original configuration. Setup dialogs never display
configuration contents.

Outgoing files are limited to user-selected export folders. Incoming copies are
separate from immutable transport snapshots. Removing the app does not remove
its stored conversations or files. Quit the app before backing up or deleting
its data folder.

## Credentials

The loopback MCP endpoint requires its private bearer token. OpenCode integration
descriptors contain local bridge credentials. Pairing codes authorize one peer
and expire after ten minutes, with five attempts per code. The short code is
verified through PAKE and is never sent over the network. Node private keys and
peer credentials are stored with the node data. Do not publish or attach these
files to issues.

Remote connections use user-supplied addresses and pinned TLS certificates.
The app has no analytics integration and does not scan for remote agents.
Transport keepalive and reconnection maintain configured connections; they do
not schedule model turns or poll agents for messages.

Paired nodes exchange their own agent directory over the authenticated connection.
It contains agent names, client availability and delivery mode. It excludes chat
IDs, binding credentials, process IDs, paths and history. Directory data is held
in memory and becomes unavailable when that peer disconnects. See
[agent presence](agent-presence.md) for availability and retention semantics.
