← All integrations

AllSource Prime with Cursor

Cursor reads stdio MCP servers from the same mcpServers shape as Claude Desktop.

Prime runs as a local allsource-prime binary over stdio in Cursor. The same store serves every MCP client you wire it into — one source of truth, everywhere your agents work.

1. Install the binary

From crates.io. Builds standalone — no AllSource server required, just a Rust toolchain.

cargo install allsource-prime

2. Hosted memory (recommended)

Mint 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.

Mint your API key

One click mints a Prime-scoped key. We don't show secrets twice — paste it into the config below.

Get API key

Then paste this, swapping <YOUR_API_KEY> for the key you just minted:

Paste into: ~/.cursor/mcp.json
{
  "mcpServers": {
    "prime": {
      "command": "allsource-prime",
      "args": [
        "--data-dir",
        "~/.prime/memory",
        "--auto-inject",
        "--sync-to",
        "https://api.all-source.xyz",
        "--api-key",
        "<YOUR_API_KEY>"
      ]
    }
  }
}

3. Local-only alternative (no account)

Skip the account entirely. Drop the --sync-to / --api-key flags and memory stays on disk at ~/.prime/memory. Nothing leaves your machine.

Paste into: ~/.cursor/mcp.json
{
  "mcpServers": {
    "prime": {
      "command": "allsource-prime",
      "args": [
        "--data-dir",
        "~/.prime/memory",
        "--auto-inject"
      ]
    }
  }
}

Or let the agent do it

Cursor can edit its own config. Paste this prompt and let it wire Prime up:

Set up the AllSource Prime MCP server in Cursor. Run `cargo install allsource-prime`, then add a `prime` entry to ~/.cursor/mcp.json with command `allsource-prime` and args ["--data-dir", "~/.prime/memory", "--auto-inject"]. Reload the window when done.

Notes

  • Reload the Cursor window (or toggle the MCP server in Settings → MCP) after saving.
  • Per-project memory: use `.cursor/mcp.json` in the repo with a project-specific `--data-dir`.

After install

  • Restart Cursor so it picks up the new MCP server.
  • Verify by asking it: "List the MCP tools you have available." You should see prime_add_node, prime_recall, and friends.
  • On the hosted path, watch nodes appear live at /dashboard/memory.