# A memory server for Cursor, Claude and Codex

FluctlightDB’s MCP server stores and recalls memory for Cursor, Claude and Codex with memory_remember and memory_recall on a local brain directory.

The module is fluctlightdb.mcp_server. A re-run from main on 30 September 2026 called memory_remember, which checkpoints after it flushes the turn, and a second process recalled the sentence. The GitHub release v0.5.22, published 1 October 2026, says that checkpoint shipped, and that the extra pins mcp below 2 so the server can import FastMCP. PyPI published fluctlightdb 0.5.22 the same day, and its metadata lists that pin. The re-run did not leave a server process listening. This site does not name a version to install.

> Checked, and not clean.
>
> The 30 September re-run installed an mcp extra with no upper bound. Resolving it installed mcp 2.x, and python -m fluctlightdb.mcp_server could not start: the module imports mcp.server.fastmcp.FastMCP, and that name was removed. Pinning mcp below 2 made FastMCP import. Calling run() with the network start replaced registered the eleven tool names. That object was not left listening. memory_remember and memory_recall were called as functions, in two processes, and the second printed the stored sentence. The v0.5.22 release note says the extra now pins mcp below 2. This page did not start the server from that published package.

## Tools the module registers

These names are the functions decorated in [mcp_server.py](https://github.com/voxmastery/FluctlightDB/blob/main/sdks/python/fluctlightdb/mcp_server.py). With mcp pinned below 2 they were present on the server object run() builds. They were not all called, and the process was not left listening.

- memory_remember, memory_recall, memory_resolve, memory_consolidate, memory_observe_tool
- fluctlight_status, fluctlight_recall, fluctlight_remember, fluctlight_handoff, fluctlight_list_handoffs, fluctlight_session_context

## How the assistants are pointed at it

The re-run used the install on the [integrations index](/integrations): main, subdirectory sdks/python, with the native and mcp extras among the others. The line below is the unpinned install. The v0.5.22 release note says the checkpoint and the mcp pin below 2 are in that tag. fluctlight-project renders a config from the templates in the package. On Linux and macOS the command is the python3 it finds, and the arguments are ["-m", "fluctlightdb.mcp_server"]. Cursor and Codex get an mcp.json. Claude gets the same server merged into its settings. Each sets FLUCTLIGHT_AGENT to its own name. The September re-run did not leave that process listening.

Unpinned install. The v0.5.22 note says the checkpoint and the mcp pin shipped in that tag.

```bash
pip install "fluctlightdb[native,mcp]"
```

Shape of the Cursor and Codex template, after the placeholders are filled

```json
{
  "mcpServers": {
    "fluctlight": {
      "command": "python3",
      "args": ["-m", "fluctlightdb.mcp_server"],
      "env": { "FLUCTLIGHT_AGENT": "cursor" }
    }
  }
}
```

## Remember, then recall in a new process

memory_remember opens a brain, pushes the text, flushes the turn, and calls checkpoint(). memory_recall opens its own brain. The two calls below were separate interpreters on the same FLUCTLIGHT_BRAIN_PATH, after the directory had been created. The second printed one episodic hit. The id and the score change between runs, so they are not printed. The content, the verified flag and the lane are.

First process. Run from main.

```python
import os
os.environ["FLUCTLIGHT_BRAIN_PATH"] = "./mcp-brain"
os.makedirs("./mcp-brain", exist_ok=True)
from fluctlightdb.mcp_server import memory_remember
print(memory_remember("Keep the primary CTA disabled"))
```

Printed

```text
{
  "stored": true,
  "flush": {
    "committed": 1,
    "turn_id": 1
  }
}
```

Second process, same directory.

```python
import json
import os
os.environ["FLUCTLIGHT_BRAIN_PATH"] = "./mcp-brain"
from fluctlightdb.mcp_server import memory_recall
payload = json.loads(memory_recall("primary CTA"))
for hit in payload["hits"]:
    print(hit["content"], hit["verified"], hit["lane"])
print(payload["mode"], payload["lanes_used"])
```

Printed

```text
Keep the primary CTA disabled False episodic
episodic ['episodic']
```

## Related

- [All integrations](/integrations)
- [Handlers for the OpenAI Agents SDK](/integrations/openai-agents)
- [MCP memory for Claude and Cursor](/guides/mcp-memory-claude-cursor)
- [What actually survived a new process](/use-cases/crash-safe)
- [checkpoint() and the HTTP surface](/docs#checkpoint)
