mcp-server-diff-python
Description
# mcp-server-diff-python An MCP server for obtaining text differences between two strings. This server leverages Python's standard library `difflib` to efficiently generate and provide differences between two texts in Unified diff format, making it ideal for text comparison and…
About
# mcp-server-diff-python An MCP server for obtaining text differences between two strings. This server leverages Python's standard library `difflib` to efficiently generate and provide differences between two texts in Unified diff format, making it ideal for text comparison and version control purposes. <a…
Details
- Author
- tatn
- Downloads
- 335
- Categories
- Developer Tools
Jump to
- Single tool: get-unified-diff for computing text differences.
- Returns differences in Unified diff format.
- Leverages Python's built-in difflib library.
- Lightweight—no external dependencies beyond Python standard library.
- Runs via uvx or local uv installation.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
mcp-server-diff-pythonCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install and run via uvx mcp-server-diff-python or clone the repository and use uv run. Add the server configuration to Claude Desktop's claude_desktop_config.json. The server exposes a single tool, get-unified-diff, which takes two required string arguments (string_a and string_b) and returns the diff in Unified diff format.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp-server-diff-python": {
"mcp-server-diff-python": {
"command": "uv",
"args": [
"sync"
]
}
}
}
}
McpServers
{
"mcp-server-diff-python": {
"command": "uv",
"args": [
"sync"
]
}
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





