On this page you will connect MMW to Cursor, decide where the configuration goes (all projects or just one), and check that Cursor’s agent can see your memory.
What you get
Section titled “What you get”- The
remember,search,forget,validate_memoryandgateway_calltools in Cursor’s agent. mmw_sync_statuswhen you connect through the local agent.- Memory shared with Claude Code, Codex and claude.ai: a fact saved in Claude Code in the morning is found by Cursor in the afternoon.
Cursor session history is not uploaded: the agent uploads Claude Code and Codex sessions only.
Prerequisites
Section titled “Prerequisites”- An MMW API key (starts with
mmw_); see the Quickstart. - Cursor with MCP support.
- For the local agent: Python 3.11+ and uv (the
uvxcommand).
Where the config goes
Section titled “Where the config goes”| File | Applies to |
|---|---|
~/.cursor/mcp.json | Every project (recommended). |
.cursor/mcp.json in the project root | This project only. |
-
Open or create the configuration file (global or project).
-
Add an
mmwblock tomcpServers:~/.cursor/mcp.json {"mcpServers": {"mmw": {"command": "uvx","args": ["--from", "https://app.mmwhub.tech/downloads/mmw-agent/mmw_agent-0.1.4-py3-none-any.whl", "mmw-agent"],"env": {"MMW_API_KEY": "mmw_your_key","MMW_ENDPOINT": "https://mcp.mmwhub.tech"}}}} -
Save the file and restart Cursor (or toggle the server in the MCP settings).
-
Open or create the configuration file (global or project).
-
Add an
mmwblock tomcpServers:~/.cursor/mcp.json {"mcpServers": {"mmw": {"url": "https://mcp.mmwhub.tech/mcp","headers": { "Authorization": "Bearer mmw_your_key" }}}}Nothing to install, but no
mmw_sync_status. -
Save the file and restart Cursor (or toggle the server in the MCP settings).
Verify
Section titled “Verify”-
Open Cursor’s settings, MCP section. The
mmwserver should show a green indicator and the tool list:remember,search,forget,validate_memory,gateway_call(plusmmw_sync_statusthrough the agent). Where the section lives depends on your Cursor version. -
In chat, in agent mode, ask:
Remember in MMW: run integration tests with --forked, otherwise the database fixture fails. Fact key: tests-run.Cursor proposes a
remembercall; once you approve, the record is saved with theunverifiedstatus. -
In a new chat ask:
How do we run integration tests? Check MMW.Expected answer: the agent calls
searchand replies that tests run with--forked.