// integration

Add memory to Windsurf

Windsurf's Cascade agent speaks MCP, so giving it persistent memory is a few lines in a config file. Add the server, refresh, and Cascade can store and recall named memory across sessions.

In one line: Add AgentRAM's MCP server to Windsurf and the Cascade agent can store and recall persistent memory as native tools.

What you get

Persistent memory that survives across Windsurf sessions: named values you store once and recall later, shared memory for multi-agent work, temporal memory for facts that change over time, and no vector database to run. It is fifteen tools in total, and they show up as tools Cascade calls directly during a task. For the concepts underneath, see the MCP integration overview.

Prerequisites

Add the server

Windsurf reads MCP servers from mcp_config.json. The quickest way in is the UI: open Windsurf Settings, go to Tools, and under Windsurf Settings use Add Server, then View Raw Config to edit the file directly. Or open it yourself:

Add AgentRAM under the mcpServers object:

{
  "mcpServers": {
    "agentram": {
      "command": "npx",
      "args": ["-y", "agentram-mcp"],
      "env": { "AGENTRAM_API_KEY": "agentram_your_key_here" }
    }
  }
}

Save the file, then press the refresh button on the Cascade MCP panel (or restart Windsurf) so the tools load.

If MCP is turned off, enable it first: Settings, Advanced Settings, the Cascade section, then toggle MCP on and restart. Config paths and the settings layout can shift between Windsurf versions; if the server does not appear, check Windsurf's current MCP docs. The server command and env var stay the same.

Quick start

Refresh the Cascade MCP panel (or restart Windsurf) so it picks up the server, then in Cascade try:

Store my test command as "npm run test:ci" under the key test_cmd.

Later, in a new session:

Recall test_cmd from AgentRAM.

It reads the value back instead of starting from nothing. To see the temporal side, ask it to store a fact that changes, like a plan or a status, update it later, and then ask for the history.

Smoke test and troubleshooting

Give your agent memory

AgentRAM is a simple memory API for AI agents. One call to store, one to recall, shared across agents, no vector database. Store your first memory in about a minute.

Get your API key

1,000 free operations. No credit card.

© 2026 AgentRAM. All rights reserved.