tatn_mcp-server-diff-typescript
If you are the rightful owner of tatn_mcp-server-diff-typescript and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol server that provides unified diff generation capabilities.
The mcp-server-diff-typescript is a TypeScript-based Model Context Protocol (MCP) server designed to generate unified diffs between two text strings. This server is particularly useful for comparing and analyzing text differences, making it an essential tool for developers and teams who need to track changes in text files or code. By implementing a diff generation system, it allows users to easily identify changes, additions, and deletions in text, providing a clear and concise view of modifications. The server uses the 'diff' package to ensure accurate difference detection and includes three lines of context around changes to provide better understanding of the modifications.
Features
- get-unified-diff: Generates unified diff between two text strings, using 'oldString' and 'newString' as parameters, and returns the difference in unified diff format.
- Accurate Difference Detection: Utilizes the 'diff' package for precise detection of text differences.
- Contextual Changes: Includes three lines of context around changes to enhance understanding of modifications.