Connect your agent
Every agent client talks to the same MCP endpoint, POST /mcp (streamable HTTP, stateless); the Nexara Mobile app is the one exception below, speaking plain REST (/api/v1) like the web app. On your own computer the quickest route is Connect your laptop: nexara login, nexara connect, nexara sync wires Claude Code, Claude Desktop, Codex and Cursor in one browser approval and keeps their coding memory in Nexara. On your phone, Connect your phone does the same one-step approval for Approvals, Ask, Send to Nexara and Record. Otherwise pick yours:
| Client | Transport | Auth | Page |
|---|---|---|---|
| Your laptop (Claude Code, Claude Desktop, Codex, Cursor at once) | HTTP or nexara mcp-proxy | one browser approval, a key per tool | Connect your laptop |
| Nexara for Mac and Windows (tray app: connect, record meetings, save, approve) | HTTP or nexara mcp-proxy | one browser approval | Nexara for Mac and Windows |
| Your phone (Nexara Mobile, Android and iPhone) | REST (/api/v1) | one browser approval, an agent key + a human session | Your phone |
| Claude Code | HTTP | nxc_ key in a header (or OAuth) | Claude Code |
| Claude.ai, Claude Desktop, Claude mobile | HTTP from Anthropic's cloud | OAuth 2.1 (DCR + PKCE) | Claude.ai and Desktop |
| ChatGPT (developer mode) | HTTP from OpenAI's cloud | OAuth 2.1 | ChatGPT |
| Codex CLI | HTTP | bearer_token_env_var | Codex |
| Cursor (and Windsurf) | HTTP | header with ${env:NEXARA_KEY} | Cursor |
| Gemini CLI | HTTP (httpUrl) | header | Gemini CLI |
| Hermes | HTTP | header from ~/.hermes/.env | Hermes |
| Obsidian | git smart HTTP | nxg_ git token | Obsidian Git |
| stdio-only clients | nexara mcp-proxy | key | stdio clients |
Which credential
| Prefix | What | Accepted on |
|---|---|---|
nxc_ | Agent key, minted per agent in the app | /api/v1, /mcp |
nxa_ / nxr_ | OAuth access (1 hour) and refresh (30 days, rotating) tokens | /mcp (audience-bound), /api/v1 |
nxg_ | Git token, minted by an owner under Settings | /git only |
One agent per tool or machine is the right granularity: the audit log then tells you which one did what, and you can revoke one without touching the others.
The config snippets below are the same ones the app shows after you create an agent (web/src/lib/snippets.ts).