Nexara Connect docs0.1.0

Connect your laptop

One sign-in in the browser, then every coding tool on your computer (Claude Code, Claude Desktop, Codex, Cursor) talks to Nexara as its own agent, and the coding memory those tools keep on your laptop (CLAUDE.md, AGENTS.md, Cursor rules, Claude Code's own memory files) lands in a Laptop memory project where you and your agents can read it from anywhere.

Three commands. No password ever goes through the terminal.

npm i -g nexara-cli            # needs Node 22 or later
nexara login https://app.nexara.ac
nexara connect
nexara sync

Or without a global install: npx nexara-cli login https://app.nexara.ac.

1. nexara login: approve the laptop in your browser

nexara login <your Nexara address> opens a page in your browser called Connect <your computer> laptop. The terminal shows the same link in case the browser does not open.

On that page you choose, once:

Press Approve this laptop. The browser hands a one-time code back to the terminal on your own computer (a 127.0.0.1 address; nothing leaves the laptop), and the CLI collects one key per agent. They are saved in your user config directory with owner-only permissions:

OSFile
macOS, Linux~/.config/nexara/config.json (mode 0600)
Windows%USERPROFILE%\.config\nexara\config.json

Set NEXARA_CONFIG to put it elsewhere. nexara logout deletes it.

To pick the tools yourself: nexara login https://app.nexara.ac --tools claude-code,cursor. The default is every tool the CLI finds on the computer.

If you already hold an agent key, nexara login --url <origin> --key nxc_... still works without the browser.

2. nexara connect: wire each tool

nexara connect writes the Nexara server into each tool's own config file, with that tool's own key:

ToolFileHow
Claude Code~/.claude.json (mcpServers.nexara)streamable HTTP, key in the Authorization header
Claude DesktopmacOS ~/Library/Application Support/Claude/claude_desktop_config.json, Windows %APPDATA%\Claude\claude_desktop_config.jsonnexara mcp-proxy over stdio (Claude Desktop only speaks stdio); key in the server's env
Codex~/.codex/config.toml ([mcp_servers.nexara])nexara mcp-proxy over stdio; key in [mcp_servers.nexara.env]
Cursor~/.cursor/mcp.json (mcpServers.nexara)streamable HTTP, key in the header

Before any file changes, a copy is saved next to it as <file>.bak-<timestamp>. The terminal prints what changed (keys masked). Other servers in those files are left alone; an older nexara entry is replaced.

nexara connect --dry-run prints the plan and writes nothing. --tools codex,cursor limits it.

Claude Code also gets a SessionEnd hook in ~/.claude/settings.json that runs nexara handoff --auto, so a session that ends without a hand-off still leaves an "Automatic note" in laptop-memory/global/handoff.md. --no-hook skips it; --hook-scope <project/folder> changes where the note goes.

Restart the tool afterwards. Each one shows in Agents as "Laptop (Claude Code)", "Laptop (Codex)" and so on, with the trust and lock you chose; change either there.

3. nexara sync: send coding memory to the cloud

nexara sync reads these files and writes one page each into the Laptop memory project, one folder per repo (global for the user-wide file):

File on the laptopPage
~/.claude/CLAUDE.mdlaptop-memory/global/claude-md
<repo>/CLAUDE.md, <repo>/.claude/CLAUDE.md, <repo>/CLAUDE.local.mdlaptop-memory/<repo>/claude-md and friends
<repo>/AGENTS.mdlaptop-memory/<repo>/agents-md
<repo>/.cursorrules, <repo>/.cursor/rules/*.mdclaptop-memory/<repo>/cursor-rule-<name>
~/.claude/projects/<repo key>/memory/MEMORY.md and topic files (Claude Code auto memory)laptop-memory/<repo>/memory, memory-<topic>

Repos come from the projects Claude Code has opened on this computer, plus the current directory when it is a git repo, plus any --repo <dir>.

Rules the sync follows:

nexara sync --watch repeats every 30 seconds (--interval <s>) until you stop it. --dry-run lists what would be sent. --force resends everything.

Revoke a laptop

Open Agents, pick the laptop's agent (or each tool's) and delete it, or revoke its key. A lost laptop is one click per agent; the pages it synced stay. A workspace lockdown revokes every key at once.

Troubleshooting

SymptomCause
server refused the laptop link (404)The server is older than the CLI. Ask the owner to update it
This laptop request has expired in the browserRequests last 10 minutes. Run nexara login again
no approval within 10 minutesThe browser page was never approved. Run nexara login again
Only "Existing project" offered on the approval pageYou are a Member; only an Owner or Admin can start a new project. Pick one you can edit, or ask them to make Laptop memory
Guests cannot connect a laptopGuests hold no standing credentials. Ask a Member or the owner
nexara connect says no key for ...That tool was not ticked at login. Run nexara login --tools <tool> again
A synced page says "waiting for review"The laptop is on Suggest. Accept it in Changes, or set the agent to Direct in Agents
"refused (looked like a credential)"The file holds something that looks like a key. Remove it and sync again; it was not stored