Rewind/MCP server

Rewind MCP server

Rewind exposes itself over the Model Context Protocol, so any MCP client — Claude Code, Cursor, Claude Desktop — can query an agent's own history.

Tools it exposes

Add it to Claude Code

Point the server at your Rewind API with REWIND_API_URL, then add it to .mcp.json:

{
  "mcpServers": {
    "rewind": {
      "command": "npx",
      "args": ["-y", "@rewind/mcp-server"],
      "env": { "REWIND_API_URL": "https://your-api-url" }
    }
  }
}

Cursor / VS Code

Cursor reads .cursor/mcp.json; VS Code reads .vscode/mcp.json (with a servers key instead of mcpServers). The command and env are the same.

Try it

Once connected, ask your agent: “what have my past sessions learned about the refund flow?” — it queries Rewind and returns a synthesis of past runs.

Explore the timelines →