Windsurf's Cascade reads MCP servers from an mcp_config.json with the standard mcpServers envelope.
Prime runs as a local allsource-prime binary over stdio in Windsurf. The same store serves every MCP client you wire it into — one source of truth, everywhere your agents work.
From crates.io. Builds standalone — no AllSource server required, just a Rust toolchain.
cargo install allsource-primeMint an API key, then run Prime with --sync-to. Your memory persists to your AllSource tenant and shows up live in the dashboard — and the same key works from any other client you connect.
One click mints a Prime-scoped key. We don't show secrets twice — paste it into the config below.
Then paste this, swapping <YOUR_API_KEY> for the key you just minted:
{
"mcpServers": {
"prime": {
"command": "allsource-prime",
"args": [
"--data-dir",
"~/.prime/memory",
"--auto-inject",
"--sync-to",
"https://api.all-source.xyz",
"--api-key",
"<YOUR_API_KEY>"
]
}
}
}Skip the account entirely. Drop the --sync-to / --api-key flags and memory stays on disk at ~/.prime/memory. Nothing leaves your machine.
{
"mcpServers": {
"prime": {
"command": "allsource-prime",
"args": [
"--data-dir",
"~/.prime/memory",
"--auto-inject"
]
}
}
}prime_add_node, prime_recall, and friends.