Skip to main content
Glama
tatn

MCP Server Diff Python

by tatn

mcp-server-diff-python

2つの文字列間のテキスト差分を取得するためのMCPサーバーです。このサーバーはPythonの標準ライブラリdifflibを活用し、2つのテキスト間の差分をUnified diff形式で効率的に生成・提供します。テキスト比較やバージョン管理に最適です。

特徴

ツール

サーバーは次の単一のツールを提供します:

  • get-unified-diff : 2つのテキストの差分をUnified diff形式で取得する

    • 引数:

      • string_a : 比較するソーステキスト(必須)

      • string_b : 比較する対象テキスト(必須)

    • 戻り値: 差分をUnified diff形式で格納した文字列

Related MCP server: Git Stuff Server

使用法

クロードデスクトップ

Claude Desktop で使用する Claude Desktop で使用するには、サーバー設定を追加します。

MacOSの場合: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

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

または次の構成を追加します。

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"
    ]
  }
}

発達

デバッグ

次のコマンドでnpxを使用して MCP インスペクターを起動できます。

npx @modelcontextprotocol/inspector uvx mcp-server-diff-python
npx @modelcontextprotocol/inspector uv --directory path\to\mcp-server-diff-python run mcp-server-diff-python
Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tatn/mcp-server-diff-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server