Nexara Connect docs0.1.0

Connect your agent

Every client talks to the same MCP endpoint, POST /mcp (streamable HTTP, stateless). Pick yours:

ClientTransportAuthPage
Claude CodeHTTPnxc_ key in a header (or OAuth)Claude Code
Claude.ai, Claude Desktop, Claude mobileHTTP from Anthropic's cloudOAuth 2.1 (DCR + PKCE)Claude.ai and Desktop
ChatGPT (developer mode)HTTP from OpenAI's cloudOAuth 2.1ChatGPT
Codex CLIHTTPbearer_token_env_varCodex
Cursor (and Windsurf)HTTPheader with ${env:NEXARA_KEY}Cursor
Gemini CLIHTTP (httpUrl)headerGemini CLI
HermesHTTPheader from ~/.hermes/.envHermes
Obsidiangit smart HTTPnxg_ git tokenObsidian Git
stdio-only clientsnexara mcp-proxykeystdio clients

Which credential

PrefixWhatAccepted 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).