← Back to Diffsmith

Connect Claude Code or Codex to Diffsmith over MCP

Diffsmith has a local MCP server so your AI coding agent can read your inline review comments and reply to them in the app, with no copy and paste. Snippets for Claude Code, Codex, Cursor, Windsurf, VS Code and Zed are below.

  1. In Diffsmith, open Settings → Agent and turn on agent access.
  2. Find your tool in the list below, and add its snippet to your MCP config.
  3. Start your Agent. It connects automatically, and Diffsmith alerts you the first time each new client connects.

Using a version of Diffsmith before 1.2.5? It needs the older setup.

About the snippets

Your Agent starts Diffsmith’s connector itself, so there’s no port or token to set up. The snippets assume Diffsmith is in your Applications folder; if it isn’t, Settings → Agent in Diffsmith shows the right path. MCP config formats change between tool versions, so adjust the keys if yours differs.

What your Agent can do once it’s connected

Reading and replying to your comments is the obvious use, but a connected Agent can also write a Walkthrough: a numbered tour of the code you step through in Diffsmith, one line at a time. Ask for one in plain language, like “use Diffsmith to walk me through how caching works”.

Diffsmith’s MCP server is local only and is never exposed on the network. It is off by default, and you can turn it off again at any time.