Skip to main content
xynthis-mcp is a stdio MCP server that gives any MCP client (Claude Code, Cursor, Codex) direct access to the brain. The client launches it as a child process; each tool call becomes one request over the brain’s unix socket at ~/.xynthis/brain.sock. No new editor, no separate daemon of its own, but the brain must be running, which the installer sets up at login.

Registration

The binary ships in ~/.xynthis/bin/. For Claude Code:
For Cursor, Codex, or any client that reads a JSON config, add the server block:
(.mcp.json in a project root for Claude Code; ~/.cursor/mcp.json for Cursor.) Use the full path if ~/.xynthis/bin is not on the PATH the client inherits. Tools appear under the mcp__xynthis__ prefix. Every tool response is capped by a per-tool byte budget (60 KB default) before it reaches the client, so a fat recall can’t blow through the model’s context window. Truncated responses carry a [budget:...] footer.

Tools

Memory

brief is the recommended session opener. It fans out four brain ops concurrently: identity, profile, recall (top_k 40), and status. The facts block comes primarily from the server-side profile op, a grounded projection of remembered facts; recall supplies the recent working-memory ring and fills the facts block only when the profile projection is empty. Confirmed facts render with a signed marker.

Corpus and code

Watchers

Witnessed memory

Introspection and learning

Failure modes

If the brain is not running, tool calls fail with a JSON-RPC error (-32000) rather than hanging; there is no retry. xynthis health from a terminal confirms the stack is up. llm_status and llm_train_set are the exceptions: they are file-backed and work without the brain. ~/.xynthis/llm/state.json exists after the first xynthis-llm-serve start: the server writes an initial status snapshot at boot, before any training runs. To enable training, write train_config.json via llm_train_set or the app’s settings.