1. Conduid
  2. Developer Tools
  3. Diff Python
MCP server · Developer Tools

Diff Python

This is an MCP server that gets the difference between two texts.

Unclaimed MIT last commit a year ago devtools
48Fair

Scored 5 months ago · breakdown

About Diff Python

Diff Python is an MCP server published by tatn in the Developer Tools category: this is an MCP server that gets the difference between two texts.

The repository has 9 stars and 8 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/tatn/mcp-server-diff-python

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (1)

get-unified-diffGet differences between two texts in Unified diff format

Parameters not published.

Ask AI

✦

Ask AI about Diff Python

Powered by Claude · Grounded in docs

I know everything about Diff Python. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

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.

Features

Tools

The server provides a single tool:

  • get-unified-diff: Get differences between two texts in Unified diff format
    • Arguments:
      • string_a: Source text for comparison (required)
      • string_b: Target text to compare against (required)
    • Return value: A string containing the differences in Unified diff format

Usage

Claude Desktop

Using with Claude Desktop To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

"mcpServers": {
  "mcp-server-diff-python": {
    "command": "uvx",
    "args": [
      "mcp-server-diff-python"
    ]
  }
}

or Add the following configuration:

git clone https://github.com/tatn/mcp-server-diff-python.git
cd mcp-server-diff-python
uv sync
uv build
"mcpServers": {
  "mcp-server-diff-python": {
    "command": "uv",
    "args": [
      "--directory",
      "path\\to\\mcp-server-diff-python",
      "run",
      "mcp-server-diff-python"
    ]
  }
}

Development

Debugging

You can start the MCP Inspector using npxwith the following commands:

npx @modelcontextprotocol/inspector uvx mcp-server-diff-python
npx @modelcontextprotocol/inspector uv --directory path\to\mcp-server-diff-python run mcp-server-diff-python

README fetched from the repository 7 days ago. The original is authoritative.

Questions

About Diff Python

How do I install Diff Python?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Diff Python safe to use with an AI agent?

Its trust score is 48 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Diff Python still maintained?

The last commit was a year ago and 1 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.