MCP.so
登录

Unified Diff MCP Server

@gorosun

关于 Unified Diff MCP Server

暂无概览

基本信息

分类

版本控制

许可证

NOASSERTION

运行时

node

传输方式

stdio

发布者

gorosun

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Unified Diff MCP Server?

A server for Claude Desktop that transforms code diffs into beautiful HTML visual comparisons using diff2html. It supports GitHub Gist integration for instant sharing and local file output (PNG/HTML). Designed for developers doing code reviews or documentation.

How to use Unified Diff MCP Server?

Install via Smitherly (bunx @smithery/cli install @gorosun/unified-diff-mcp) or manually: clone repo, install Bun, run bun install, then configure Claude Desktop with the unified-diff-mcp MCP server, setting environment variables such as GITHUB_TOKEN. Use the tools visualize_diff_html_content (browser display & sharing) or visualize_diff_output_file (local file storage).

Key features of Unified Diff MCP Server

  • Beautiful HTML diff visualization using diff2html
  • GitHub Gist integration for instant sharing
  • Local file output in PNG or HTML format
  • Auto-delete functionality for temporary diffs (1–1440 minutes)
  • Multi-level security (Low/Medium/High) for shared diffs
  • Cross-platform support (Windows, macOS, Linux)

Use cases of Unified Diff MCP Server

  • Quick preview and share a diff via browser-ready URLs
  • Save a diff as an HTML or PNG file for documentation
  • Securely share sensitive diffs with password protection and auto-delete
  • Side-by-side code review inside Claude Desktop
  • Image export of diffs for presentations or reports

FAQ from Unified Diff MCP Server

What tools are available and what do they do?

Two tools: visualize_diff_html_content creates a GitHub Gist with an HTML preview URL; visualize_diff_output_file saves a local HTML or PNG file.

What runtimes and dependencies are required?

Requires Bun runtime and clone of the Git repository. Key dependencies include diff2html (HTML diff), playwright-core (browser automation), and @modelcontextprotocol/sdk.

Where are diffs stored, and how long do they persist?

Diffs can be stored as local files (PNG/HTML) or as temporary GitHub Gists. Gists auto-delete after a configurable period (default 30 minutes, max 1440 minutes).

How does authentication work for GitHub Gist integration?

A GitHub Personal Access Token with gist scope is required. Set it as the GITHUB_TOKEN environment variable. If the token is unavailable, the server falls back to local file output.

What transport/protocol is used?

The server uses the Model Context Protocol (MCP) and is configured in Claude Desktop’s claude_desktop_config.json. It connects via bun commands and supports standard MCP clients.

评论

版本控制 分类下的更多 MCP 服务器