rewind-mcp-server package on your own machine. Your MCP client launches it as a child process with npx, and the two talk over stdin and stdout using JSON-RPC. Your API key stays in the client config file on your machine and is never sent anywhere except the Rewind API.
This is the right choice for desktop clients you control: Claude Desktop and the Claude Code CLI. If you are on mobile, on the web, or want a hosted endpoint instead, use remote connection.
Prerequisites
You need two things before you connect:- Node.js: the server is published to npm as
rewind-mcp-serverand runs withnpx, so most clients invokenpx -y rewind-mcp-serverto download and run the latest version on demand. - A Rewind API key: a read key (prefixed
rw_live_) is enough, since the server only ever makes GET requests.
Claude Desktop
Add Rewind to yourmcpServers config. Use a real key in place of the placeholder, then restart the app.
claude_desktop_config.json
Claude Code CLI
The fastest way to add Rewind in Claude Code is one command. Everything after-- is the command the CLI runs to start the server.
--env flag:
Project config with .mcp.json
To share the connection with everyone who works in a repository, commit a.mcp.json file to the project root instead. Claude Code reads it automatically when you open the project.
.mcp.json
Treat
.mcp.json like any other file that may contain secrets. If you commit
it to a shared repository, reference an environment variable rather than
pasting a live key, or keep the key in your shell environment and omit the
env block.Environment variables
The server reads its configuration from two environment variables.| Variable | Required | Default | Description |
|---|---|---|---|
REWIND_API_KEY | Yes | none | Your Rewind API key. The server exits at startup if it is missing. |
REWIND_API_URL | No | https://api.rewind.rest | Base URL for the Rewind API. Override only for self-hosting or testing. |
REWIND_API_URL. Leave it unset to point at the production API. Set it only if you run your own Rewind instance.