Unified Diff MCP Server

Beautiful diff visualization for Claude Desktop - Remote MCP Server

Local serverstdioGo

What is the Unified Diff MCP MCP server?

Unified Diff MCP becomes available to MCP clients through the unified diff mcp mcp server. Beautiful diff visualization for Claude Desktop - Remote MCP Server.

What Unified Diff MCP does

Beautiful diff visualization for Claude Desktop. Transform code diffs into stunning visual comparisons with GitHub Gist integration and local file output.

Tools it exposes

Once connected, the assistant can call these 2 tools directly:

  • apiKey — 'old-key'
  • Dependencies — The Dependencies tool exposed by this server

Installing the unified diff mcp mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Configuration

Before the server will start you need to supply 3 environment variables: GITHUB_TOKEN, DEFAULT_AUTO_OPEN, DEFAULT_OUTPUT_MODE. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Unified Diff MCP sits in that group, and the shape of its toolset — apiKey, Dependencies — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by gorosun, written in Go.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the unified diff mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
apiKey'old-key'
DependenciesThe Dependencies tool exposed by this server.

How to install the Unified Diff MCP MCP server

{
  "mcpServers": {
    "unified-diff-mcp": {
      "command": "bun",
      "args": ["run", "/path/to/unified-diff-mcp/src/index.ts"],
      "env": {
        "GITHUB_TOKEN": "your_github_token_here",
        "DEFAULT_AUTO_OPEN": "true",
        "DEFAULT_OUTPUT_MODE": "html"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GITHUB_TOKENCredential the server authenticates with.Yes
DEFAULT_AUTO_OPENConfiguration value read at startup.Optional
DEFAULT_OUTPUT_MODEConfiguration value read at startup.Optional

Example prompts to try

  • Use Unified Diff MCP to apiKey.
  • Use Unified Diff MCP to Dependencies.

Frequently asked questions

It connects Unified Diff MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (apiKey, Dependencies) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Unified Diff MCP directly.