Install WhiteMagic
The recommended install is Gen 3 v11.3.0 for Linux x86-64/ARM64 and Apple Silicon macOS. On Windows or Intel macOS, use the Gen 2 fallback below.
The Gen 3 project is currently in open alpha.
Native Linux builds require glibc 2.39 or newer. Before installing, run getconf GNU_LIBC_VERSION. For older systems, the release notes include a version-pinned Docker option.
Release channel
Need the earlier isolated preview?
Recommended Gen 3 · v11.3.0 · the install command is pinned to this release.
curl -fsSL "https://www.whitemagic.dev/install.sh?ref=install-a" | sh -s -- --version v11.3.0 --dir "$HOME/.local/bin" --ref install-a
No sudo required · Installs in user space
No account · Memory and sessions stay on your machine · No usage telemetry off-device by default
Download and install the Linux x86-64 binary manually
wm_download=$(mktemp -d) && (
cd "$wm_download" &&
curl -fsSLO 'https://github.com/lbailey94/whitemagic/releases/download/v11.3.0/wm-linux-x86_64' &&
curl -fsSLO 'https://github.com/lbailey94/whitemagic/releases/download/v11.3.0/wm-linux-x86_64.sha256' &&
sha256sum -c 'wm-linux-x86_64.sha256' &&
install -d "$HOME/.local/bin" &&
install -m 755 'wm-linux-x86_64' "$HOME/.local/bin/wm" &&
"$HOME/.local/bin/wm" --version
)Ask your AI to set it up
Paste this prompt into a local coding agent that can run terminal commands.
Set up local WhiteMagic for this client using https://www.whitemagic.dev/install. Check my OS, CPU architecture, and client first. On Linux run getconf GNU_LIBC_VERSION and check the install page's requirement. Use pinned v11.3.0 on supported Linux and Apple Silicon Macs, or the guide's Gen 2 fallback on Windows and Intel Macs. If my platform falls outside those requirements, explain my options first.
After install, use the executable's full path printed by the installer to check the version. Use the matching client recipe to configure local stdio MCP and check the absolute store path. Restart the client and verify that it can see the WhiteMagic tools. Save and recall a synthetic test note, then report the installed version, client and result.Verify the Gen 3 install in the same terminal
Run these commands right after installation. The full path works before your shell reloads PATH.
"$HOME/.local/bin/wm" --version
"$HOME/.local/bin/wm" --store "$HOME/.local/share/whitemagic/gen3" grimoire --plan
"$HOME/.local/bin/wm" serve --helpPlan mode checks local readiness. To use its optional starter prompt, run grimoire without --plan against the same store first to seed the guide galaxy. Verify the client connection in the next section.
These checks ran against the published v11.3.0 Linux x86-64 binary.
Connect your client
These examples use the default Gen 3 install and store paths on Linux and macOS. If you chose different paths, use the absolute paths printed by your installer.
Use one writer at a time. Before switching clients, close the client that is using this store.
Claude Code
Run this from your project directory. Claude Code saves the entry privately for this project. Look for Connected in the output, or check /mcp in a new session.
claude mcp add --transport stdio whitemagic -- \
"$HOME/.local/bin/wm" --store "$HOME/.local/share/whitemagic/gen3" serve &&
claude mcp get whitemagicCursor
Replace both instances of /absolute/home with your home directory, such as /home/alex or /Users/alex. Merge into ~/.cursor/mcp.json for all projects, or .cursor/mcp.json for one project. Keep existing entries. Restart Cursor and check for WhiteMagic on the Customize page under MCP.
{
"mcpServers": {
"whitemagic": {
"command": "/absolute/home/.local/bin/wm",
"args": [
"--store",
"/absolute/home/.local/share/whitemagic/gen3",
"serve"
]
}
}
}Codex CLI
Codex saves the entry in your user settings. Open a new Codex CLI session and use /mcp to see the WhiteMagic tools.
codex mcp add whitemagic -- \
"$HOME/.local/bin/wm" --store "$HOME/.local/share/whitemagic/gen3" serve &&
codex mcp listOpenCode
Run this from a Git project directory with OpenCode 2. It adds WhiteMagic to that project. If the first list is empty, rerun opencode mcp list after startup. Once connected, open a new session from the same directory.
opencode mcp add whitemagic -- \
"$HOME/.local/bin/wm" --store "$HOME/.local/share/whitemagic/gen3" serve &&
opencode mcp listUsing the Gen 2 fallback? Use the absolute paths to your Gen 2 binary and store, with arguments in this order serve --profile curated --store "/path/to/gen2-store".
Save a test note and recall it
Send the first prompt in your connected client. Quit and reopen the client, then send the second. Look for the exact stored text and the WhiteMagic tool that returned it.
Use the local WhiteMagic MCP server to save this test note: "My WhiteMagic test marker is cedar-lantern-739." Tell me whether the tool call succeeded.Use the local WhiteMagic MCP server to recall the test note containing cedar-lantern-739. Quote the stored note and tell me which tool returned it.Run the Gen 3 test in your terminal
Two separate processes save and recall the note in a temporary store.
wm_trial=$(mktemp -d) &&
"$HOME/.local/bin/wm" --store "$wm_trial" remember 'My WhiteMagic test marker is cedar-lantern-739.' &&
"$HOME/.local/bin/wm" --store "$wm_trial" recall 'cedar-lantern-739'Confirm the binary and store
Run command -v wm and wm --version; inspect the client launch log and verify its absolute paths.
Preserve existing data and verify a backup before changing or repairing a store.
Your data stays on your device
The default store is not encrypted. Backups, exports, and replicas are separate copies; deleting one store does not delete the others.
Restore only trusted backups; a checksum beside a backup does not authenticate it. Consult wm backup --help and verify backups in an isolated location without overwriting existing data.
no usage telemetry off-device by default. Privacy details