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
또는 다음 구성을 추가합니다.
개발
디버깅
다음 명령을 사용하여 npx를 사용하여 MCP Inspector를 시작할 수 있습니다.
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
이 MCP 서버는 Python의 표준 라이브러리 difflib를 사용하여 두 개의 텍스트 입력에 대한 통합된 diff를 제공합니다.
Related Resources
Related MCP Servers
- -securityFlicense-qualityServer for using Dify. It achieves the invocation of the Dify workflow by calling the tools of MCP.Last updated -189Python
- AsecurityAlicenseAqualityThis server provides a tool to generate unified diffs between two text strings, facilitating text comparison and analysis.Last updated -182JavaScriptMIT License
- -securityFlicense-qualityA Python MCP server for invoice and receipt processing that uses OCR technology to extract data from PDFs and images, offering AI assistants the ability to process, extract text from, and merge invoice documents.Last updated -Python
- -securityAlicense-qualityA Python-based text editor server built with FastMCP that provides tools for file operations. This server enables reading, editing, and managing text files through a standardized API following a multi-step process.Last updated -2PythonMIT License