Complete AI Training

MCP server · Developer tools

Unified Diff MCP server

by gorosun

Turn a plain code diff into a nice side-by-side picture or web page your AI can show or share.

Flow diagram: you ask your AI “Turn this diff into a side by side picture”, on your own computer the Unified Diff MCP server works with your computer, and you get back A picture or web page you can open.

This is a small helper that takes a code difference (a diff) and turns it into something you can actually look at: a clean side-by-side comparison or a line-by-line view. It is handy if you review code changes and want a picture or a link instead of a wall of plus and minus signs. Your AI does the asking, this helper does the drawing.

What is an MCP server? The 30-second version

On its own, your AI can only chat with you. An MCP server is a small helper program that gives your AI one extra skill. This helper gives your AI the skill of turning a diff into a visual comparison, either as a web page you can open or as a file saved on your computer. So when you paste a diff and ask for a picture, your AI passes it to this helper, and the helper builds the visual for you.

What this MCP server does

You paste a diff into your chat and ask your AI to visualize it. Your AI sends that diff to this helper. The helper turns it into a formatted comparison, either a web page or a saved file. If you want a shareable link, it can put the page on GitHub Gist and give you a URL. Then you get back a link or a file you can open, look at, or send to someone.

Flow diagram: you ask your AI “Turn this diff into a side by side picture”, on your own computer the Unified Diff MCP server works with your computer, and you get back A picture or web page you can open. Click to zoom

What you can do with it

  • Turn a diff into a side-by-side comparison you can read at a glance
  • Show a diff line by line instead of side by side
  • Save the visual as an HTML page or a PNG image on your computer
  • Create a shareable link through GitHub Gist
  • Set the link to delete itself after a chosen number of minutes
  • Choose a security level for shared diffs, from low to high
  • Open the result in your browser automatically if you want

Try asking your AI

  • “Please visualize this diff in side-by-side format: [paste your diff]”
  • “Save this diff as a PNG image on my computer”
  • “Create a shareable link for this diff that deletes itself in 30 minutes”
  • “Visualize this diff with high security and give me an access code”

What it gives back to you

You get back a visual comparison, either as a link you can open in your browser or as a file saved on your disk. If it made a shareable link, it also tells you when that link will disappear. For secure sharing it can show an access code and a time limit. In the chat you mostly see a short message with the link, the file path, or the code.

Before you start

What you need

  • The Claude desktop app or another MCP client
  • Bun installed on your computer (the tool it runs on)
  • A GitHub token with gist permission if you want shareable links (GitHub gives you one for free in your settings)
  • The project files downloaded and built on your computer

Good to know

If you share a diff through a link, anyone with that link may be able to see the code inside it, so avoid sharing diffs that contain passwords, keys, or private information.

Install it with your AI

Add Unified Diff MCP server to your AI, no technical skills needed

You don't install anything by hand. You copy one prompt, paste it into an AI that can work on your computer, and it checks, installs and connects the server for you, asking you when it needs something.

Sign in to get the install prompt

Members get a ready-made prompt that lets the Claude desktop app check Unified Diff MCP server, install it and connect it for them, step by step. You don't need any technical skills: you copy, paste and answer a few questions. Your connected AI can also find and install any of the 4,066 MCP servers here for you.

Sign in Become a member

Who it's for

Developers, reviewers, and anyone who looks at code changes and wants a clear picture or a shareable link instead of raw diff text.