Tutorial· About 10 minutes
Connect Claude Code to Edith over MCP
When you finish, Claude Code can call Edith's tools: read your usage limits, list your machines, search your clipboard and anything else your enabled extensions offer. Changes still wait for a confirm. If you would rather click than type, Edith connects agents from Settings > Tools too; see Connect from the Settings window. You need Edith installed with ed working (see Set up a new Mac) and Claude Code installed on this Mac. For how MCP servers work in Claude Code in general, read How to add an MCP server to Claude Code.
Turn on the extensions you want the agent to use
Edith's MCP server only offers tools for extensions you have enabled, plus built-in ones such as edith_catalog. Turn on the ones you want first, from Library with Install, or from the terminal:
ed extensions lsed extensions install usageed extensions install machinesYou can add more later. The server tells the agent when its tool list changes.
Preview the registration
ed mcp install writes an edith entry into the client's settings file. Preview it first. --dry-run prints the entry and changes nothing:
ed mcp install --client claude --dry-runFor Claude Code the entry is a user-scope mcpServers.edith entry in ~/.claude.json, so it works in every project. It runs ed mcp from the installed app, /Applications/Edith.app/Contents/MacOS/ed, so it keeps working whether or not ed is on your PATH.
Register Edith with Claude Code
Run the same command without --dry-run:
ed mcp install --client claudeEdith copies ~/.claude.json to ~/.claude.json.edith-backup, changes only the edith entry and keeps every other server and setting. Claude Code rewrites that file often, so Edith retries if the file changes while it writes.
If the file is not plain JSON, Edith leaves it alone, exits 1 and prints the exact entry to paste yourself.
Connect from the Settings window
In the Developer profile, Edith can do the same without a terminal:
- Open Settings > Tools.
- Under Coding agents, find Claude Code. Each agent shows Installed on this Mac or Not found on this Mac, and its status.
- Press Connect. The status changes to Connected.
When more than one agent is waiting, Connect all connects every agent found on this Mac. To open that section from the terminal:
ed app reveal settings --tab toolsRegister your other agents
In Settings > Tools, press Connect next to each agent. The same command covers Codex, Cursor and VS Code:
| Client | --client |
Where the entry goes |
|---|---|---|
| Claude Code | claude |
mcpServers.edith in ~/.claude.json |
| Codex | codex |
[mcp_servers.edith] in ~/.codex/config.toml |
| Cursor | cursor |
mcpServers.edith in ~/.cursor/mcp.json |
| VS Code | vscode |
servers.edith in ~/Library/Application Support/Code/User/mcp.json |
--client all registers every client found on this Mac and skips the rest:
ed mcp install --client all --dry-runed mcp install --client alled mcp statusEach client shows as registered, registered, different command, not registered, client not found or config not readable. The last line names the command to run next. registered, different command means the entry points at another ed, such as a moved app. Run ed mcp install again to fix it.
Settings > Tools shows the same status next to each agent: Connected, Not connected, Points at another Edith or Settings file unreadable. Press Connect to fix an entry that points at another Edith, or Check again after you repair an unreadable file.
Restart Claude Code so it loads the server. Inside a session, type /mcp to see that edith is connected.
Test a tool
Ask Claude Code to call edith_catalog. It lists every extension with its status (enabled, installed or available), a summary and example ed commands. That is the agent's first step every time: discover, then call.
Then ask for something real, for example "What are my Claude rate limits right now?". The agent calls edith_usage_limits. Each tool is named after its command, so ed usage limits becomes edith_usage_limits, and ed machines ls becomes edith_machines_ls. A tool takes an arguments array with the words that follow the command. This call is the same as ed usage limits --refresh:
{ "arguments": ["--refresh"] }The tool runs the command with --json and returns the JSON unchanged, so the agent sees exactly what you would see from:
ed usage limits --jsonIf a command fails, the tool result carries the same error: and hint: lines you would see in a terminal, marked as an error.
See how changes are confirmed
Commands that change or remove something keep the command line's safety model. Their tools return a preview first. They apply only when the call passes confirm: true, which adds --yes. A call that slips --yes into arguments is refused, so confirm is the only way to apply.
Installing, updating, enabling, disabling and removing extensions follow the same rule. Try it: ask Claude Code to install an extension you do not have. It should show you the preview and ask before it confirms. After the install, the server announces that its tool list changed and the agent lists tools again.
Teach Claude Code how to use Edith
Tools give the agent abilities, not habits. The Plugins extension installs skills that teach Claude Code, Cursor or Codex to drive Edith well.

Open Plugins, press Preview to read a skill, then Install. The arrow next to Install picks a single agent. You can also paste the output of ed guide agent into a repository's instructions file.
Remove the server
ed mcp uninstall --client claudeOnly the edith entry is removed. Other servers and settings stay, and the file is backed up first. In Settings > Tools, pressing Disconnect next to the agent does the same.
Next steps
- MCP server for resources, protocol versions and error codes.
- Track agent usage limits so the limits the agent reads are fresh.
ed mcpreference.- Agent docs for running coding agents from Edith.
