Skip to content

Connect Your AI

Graphnosis exposes a local MCP server — what we call the synapse, the small background process that bridges your AI client and your Cortex. You connect your AI client to it once; after that, your memory is available in every conversation — as long as the app is running and your Cortex is unlocked.

The synapse takes its name from the brain: a synapse is the connection that passes a signal between neurons. In Graphnosis it’s the connection that passes a recall query into the Cortex and the matched engrams back to your AI. No synapse, no memory exchange.

Why this beats dropping files into your AI client

Graphnosis pre-indexes your content into structured engram graphs (.gai files). That changes how your AI client behaves at conversation time:

  • More precise answers. Your AI does not re-parse the same 200-page PDF, your meeting-notes.md archive, or your budget.xlsx from scratch every time you prompt it. The relevant slice — already chunked, tagged, and semantically indexed — is what arrives in context.
  • More consistent answers across sessions. The same memory shows up the same way today, tomorrow, and three months from now. No re-uploading, no “I lost the file you shared last week,” no agentic tool fighting to re-extract the same text twice.
  • Smaller context windows used. The AI receives the few hundred tokens that matter, not the tens of thousands of tokens in your raw files. Faster responses, lower token costs, more headroom for the actual conversation.
  • Cross-source recall. Because everything is indexed in one graph, your AI can connect a sentence in a PDF to a related note in a markdown file to a clip you saved from a webpage — work an LLM can never do with one-shot file attachments.

This is the practical reason Graphnosis exists alongside the privacy story: AI clients become faster, more reliable, and noticeably smarter when they don’t have to re-read your files from zero every prompt.

Before you start: the app must be running

For any MCP-compatible AI client to read from your Cortex, Graphnosis must be running on your Mac and your Cortex must be unlocked.

Graphnosis stateWhat your AI client sees
App quit / not runningNo Graphnosis tools. The AI behaves as if you don’t have a Cortex.
App running, Cortex lockedGraphnosis tools may appear but every recall returns “Cortex is locked.”
App running, Cortex unlockedFull access to your memories. Only the chunks relevant to each prompt leave the app.

The Graphnosis main window can be closed (⌘W) — the app keeps running in your menu bar. To fully stop it, use the tray icon’s Quit option. If you want Graphnosis to start automatically at login, enable that in Settings → Auto-start.

Find your MCP socket path

When Graphnosis is running, click the menu bar icon and choose Copy MCP Config. This puts the correct JSON snippet for your MCP server path onto your clipboard.

Alternatively, the server always listens on:

~/.graphnosis/mcp.sock

(stdio transport is also supported — see below)

Claude Desktop

Open Claude Desktop’s config file:

~/Library/Application Support/Claude/claude_desktop_config.json

Add a graphnosis entry inside the mcpServers object:

{
"mcpServers": {
"graphnosis": {
"command": "/Applications/Graphnosis.app/Contents/MacOS/graphnosis-sidecar",
"args": ["--mcp-stdio"],
"env": {
"GRAPHNOSIS_CORTEX_PATH": "/Users/you/Documents/MyCortex"
}
}
}
}

Replace /Users/you/Documents/MyCortex with the path to your Cortex folder.

Restart Claude Desktop. On next launch you’ll see a small plug icon in the bottom-left of the input field — that confirms the MCP connection is live.

Claude Code (CLI)

Claude Code reads MCP server config from ~/.claude.json (user-level) or .mcp.json in your project root. Add a graphnosis entry to the mcpServers object:

{
"mcpServers": {
"graphnosis": {
"command": "/Applications/Graphnosis.app/Contents/MacOS/graphnosis-sidecar",
"args": ["--mcp-stdio"],
"env": {
"GRAPHNOSIS_CORTEX_PATH": "/Users/you/Documents/MyCortex"
}
}
}
}

Reload your Claude Code session (or open a new one). Run /mcp inside Claude Code to confirm graphnosis shows as connected, then the seven Graphnosis tools become available in any chat.

The fastest way to wire this is the menu-bar tray’s Connect an AI client → Claude Code option — it writes the right config file for you and tells you whether to reload an active session.

Cursor

In your project root, create or edit .cursor/mcp.json:

{
"mcpServers": {
"graphnosis": {
"command": "/Applications/Graphnosis.app/Contents/MacOS/graphnosis-sidecar",
"args": ["--mcp-stdio"],
"env": {
"GRAPHNOSIS_CORTEX_PATH": "/Users/you/Documents/MyCortex"
}
}
}
}

Reload the Cursor window. Graphnosis tools will appear in the MCP tools panel.

Other MCP-native clients

The same graphnosis MCP server entry works in every MCP-native client — only the config file path changes. Below is the full set we’ve verified, ranked by user base. Each is a config-file drop-in; no Graphnosis-specific work per client.

ClientConfig fileNotes
Zed~/.config/zed/settings.json (context_servers key)Native MCP support since late 2024. Growing dev audience.
Cline (VS Code extension)Settings panel in the Cline sidebarPer-VS-Code-window config; nice UI for adding MCP servers.
Continue.dev~/.continue/config.jsonOSS-leaning. Same JSON shape as Claude Desktop.
Goose (Block)~/.config/goose/profiles.yamlBlock-backed OSS MCP host. YAML, not JSON.
5ireUI-driven MCP picker in app settingsDesktop MCP-first client. No file editing needed.
WitsyUI-driven MCP picker in app settingsSmaller user base. Same flow as 5ire.
LibreChat / Open WebUITheir MCP plugin pagesSelf-hosted multi-model UIs. Documented in each project’s MCP docs.

The config snippet itself stays the same as the Claude Desktop / Claude Code / Cursor examples above — command, args: ["--mcp-stdio"], env: { GRAPHNOSIS_CORTEX_PATH }. Reload the client after editing.

Not yet MCP-native (need an adapter, not built yet):

  • ChatGPT (Desktop / Web / Mobile) — OpenAI has committed to MCP but rollout is partial. Today, the path is a Custom GPT Action (OpenAPI 3 spec served by Graphnosis’s HTTP bridge). Tracked for a v0.7 follow-up.
  • GitHub Copilot (VS Code) — uses Microsoft’s internal tool API. No MCP support today.
  • Gemini / Bard — Google’s own function-calling format. No MCP.

Generic MCP clients (stdio transport)

Any MCP 1.x client that supports stdio transport can connect. Use:

  • Command: /Applications/Graphnosis.app/Contents/MacOS/graphnosis-sidecar
  • Args: ["--mcp-stdio"]
  • Env: GRAPHNOSIS_CORTEX_PATH set to your Cortex folder path

Connect from your phone (or any HTTP MCP client)

Mobile AI clients (Claude for iOS, Claude for Android) and any other tool that speaks MCP over HTTP can reach your Cortex from a different device — your phone in your pocket, a browser extension on a different Mac, a remote scripting environment.

Graphnosis exposes an opt-in HTTP/SSE MCP server on port 3457 with bearer-token auth. The setup is 3 clicks via the in-app wizard:

  1. Open Graphnosis → Settings → Mobile & Remote Access → “Set up mobile access…”
  2. Step 1: toggle Enable on, leave the default port (3457), choose loopback-only if you only want connections from the same Mac OR all-interfaces if you want LAN / Tailscale connections.
  3. Step 2: confirm the network interface (Tailscale is auto-detected and recommended if you have it — encrypted, no public-port exposure).
  4. Step 3: copy the MCP Server URL + bearer token. Paste both into your mobile AI client’s MCP server settings.

The wizard is fully detailed in Connect from your phone — read that for screenshots and the security tradeoff explanation.

Why Tailscale is the recommended path: the alternative — all-interfaces on your LAN — works at home but breaks the moment you leave the house. Tailscale gives you an encrypted overlay network that follows you everywhere without exposing a port to the public internet. Install it once on both devices; the wizard auto-detects the Tailscale IP.

The bearer token is unique per Cortex and auto-rotates on every wizard re-open. Treat it like a password: revoke by toggling Mobile Access off and back on in Settings.

The 7 MCP tools

Once connected, these tools are available to your AI:

ToolWhat it does
recallSemantic search over your Cortex. The AI calls this automatically when it needs context. Returns the top-k most relevant chunks.
remindSame as recall but tuned for “remind me about X” intent — biases toward recently-touched memories.
rememberStore a new memory from within a conversation. Useful for saving decisions, notes, or facts mid-chat. Supports target_engram so the AI can route the note into a specific engram (with a user-confirmation banner if the name doesn’t exist or is ambiguous — see below).
correctPropose a natural-language correction to an existing memory. Sends a diff to a local LLM and stores the proposed change for user review. Fires a notification when the app is in the background.
applyApply a confirmed correction. Must be called after correct returns a correction ID.
forgetRemove a specific memory by ID.
statsReturn Cortex statistics: total sources, chunks, graphs, embedding model info.

Asking the AI to save into a specific engram

When the AI calls remember with target_engram: "Book Notes", Graphnosis tries to resolve the name against your existing engrams:

  • Exact name match → the note is saved immediately.
  • Close matches (typos, partial words, reordered tokens — unpublishedUnpublishedRomania, Romania UnpublishedUnpublishedRomania) → a banner appears top-center in the app listing the candidates with a match-reason label. Pick the right engram or create a new one with the AI’s suggested name.
  • No match → banner offers to create a new engram with that name in one click.

The AI never auto-creates engrams or silently disambiguates. Every new engram is your decision. If the app is in the background when this happens, you get a macOS notification too.

See the full MCP Tools reference for parameter details.

How recall works automatically

When sensitivity allows it, Graphnosis can inject context proactively — before the AI even calls recall. The sidecar listens for the conversation’s first user message, runs a fast semantic search, and prepends the top results as a system context block. This requires no AI cooperation; it works at the MCP transport layer.

If your client does not support proactive injection, the AI will use recall as a tool call in the first turn. Either way, your memory gets attached.

Beyond AI clients: auto-ingest from your existing tools

Graphnosis is not just a memory you talk to — it’s a memory that grows on its own from services you already use. Six built-in connectors pull or receive new content on a schedule:

ConnectorPullsSetup
RSS / Atomnew entries from any feed URL(s)paste URLs, no credentials
GitHubissues, PRs, releases from repos you watchBYO Personal Access Token
Slackstarred items + (optional) channel historyBYO Slack app Bot/User Token
Trellocards + checklists from boards you chooseBYO API Key + Token
Linearissues with priority/state/assignee/label filtersBYO Personal API Key
Webhookanything that can POST JSON (Zapier, IFTTT, custom scripts)auto-generated unique URL

All connectors are configured in Settings → Connectors in the Graphnosis app. Your credentials, your apps — Graphnosis is never in the OAuth callback chain. Credentials are stored encrypted at rest in your Cortex (XChaCha20-Poly1305, same as your memory files).

Full setup walkthroughs for each connector: Auto-ingest from your tools.

Troubleshooting

The MCP connection isn’t showing up in Claude Desktop

  • Make sure Graphnosis is running (menu bar icon visible) and the Cortex is unlocked.
  • Verify the command path is correct: ls /Applications/Graphnosis.app/Contents/MacOS/graphnosis-sidecar
  • Check Claude Desktop logs at ~/Library/Logs/Claude/.

recall returns no results

  • Your Cortex may be empty. Add some content first.
  • The Cortex may be locked. Click the menu bar icon and unlock it.