Skip to main content
Glama

MCP Server Diff Python

by tatn

mcp-server-diff-python

두 문자열 간의 텍스트 차이점을 가져오는 MCP 서버입니다. 이 서버는 Python의 표준 라이브러리인 difflib 활용하여 두 텍스트 간의 차이점을 통합 diff 형식으로 효율적으로 생성하고 제공하므로 텍스트 비교 및 버전 관리에 이상적입니다.

특징

도구

서버는 단일 도구를 제공합니다.

  • get-unified-diff : 두 텍스트의 차이점을 Unified diff 형식으로 가져옵니다.
    • 인수:
      • string_a : 비교할 소스 텍스트(필수)
      • string_b : 비교할 대상 텍스트(필수)
    • 반환 값: Unified diff 형식의 차이점을 포함하는 문자열

용법

클로드 데스크탑

Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.

MacOS의 경우: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json

지엑스피1

또는 다음 구성을 추가합니다.

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 Inspector를 시작할 수 있습니다.

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
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

이 MCP 서버는 Python의 표준 라이브러리 difflib를 사용하여 두 개의 텍스트 입력에 대한 통합된 diff를 제공합니다.

  1. 특징
    1. 도구
  2. 용법
    1. 클로드 데스크탑
  3. 개발
    1. 디버깅

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    Server for using Dify. It achieves the invocation of the Dify workflow by calling the tools of MCP.
    Last updated -
    250
    Python
  • A
    security
    A
    license
    A
    quality
    This server provides a tool to generate unified diffs between two text strings, facilitating text comparison and analysis.
    Last updated -
    1
    251
    3
    JavaScript
    MIT License
    • Apple
  • -
    security
    F
    license
    -
    quality
    A Python-based server that helps users easily install and configure other MCP servers across different platforms.
    Last updated -
    2
    Python
    • Apple
    • Linux
  • A
    security
    F
    license
    A
    quality
    MCP server providing Git-related functionalities, primarily a tool to generate diffs for Git merge commits against their first parent.
    Last updated -
    2
    TypeScript

View all related MCP servers

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