Claude Code
From the project directory, add the server with Claude Code’slocal scope:
local MCP scope means “only this project” and stores the
credential privately under this folder’s entry in ~/.claude.json. Do not use
--scope user, which enables the server globally. Do not use --scope project
here either: that writes the token to a shareable .mcp.json file.
Cursor
Create.cursor/mcp.json inside the project folder:
.cursor/mcp.json to .gitignore because it contains your token. Do not
put this server in ~/.cursor/mcp.json.
Cursor does not load a project-level MCP server until you approve it:
- Press
Cmd+Shift+Pon macOS orCtrl+Shift+Pon Windows and Linux. - Open Cursor Settings.
- Select Tools & MCP.
- Find
resumecontext, then enable and approve it.
.cursor/mcp.json is not enough by itself. You must complete this
approval in Cursor before its Agent can use the ResumeContext tools.
Codex
Create.codex/config.toml inside the project folder:
.codex/config.toml to .gitignore, then trust the project when Codex
asks. Codex ignores project-level configuration for untrusted projects. Do not
put this server in ~/.codex/config.toml.
opencode
Createopencode.json in the project root:
opencode.json to .gitignore because it contains your token. Do not put
this server in ~/.config/opencode/opencode.json and do not use a global MCP
installation.
The block
resumecontext mcp prints is the mcpServers JSON form, which is
the shape Cursor uses. Claude Code, Codex, and opencode want the same URL and
token through their own folder-scoped mechanism, so copy the two values into
the instructions above rather than pasting the whole block.