- Home
- MCP servers
- Diff
Diff
- typescript
1
GitHub Stars
typescript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"keyhoffman-diff-mcp": {
"command": "node",
"args": [
"/path/to/your/diff-mcp-server/dist/index.js"
]
}
}
}You can run a local MCP server that compares two texts and shows exact differences. It supports flexible options like ignoring whitespace, case, or line endings, and it provides line-by-line diffs to help you understand exactly where texts differ.
How to use
Start the server locally and connect your MCP client to send two text inputs for comparison or for obtaining a detailed diff. You can compare two strings to determine if they are identical or request a line-by-line breakdown of the differences. Use the available options to tailor the comparison to your needs, such as ignoring whitespace, case differences, or line ending variations.
How to install
Prerequisites: install Node.js and npm on your machine.
Clone the project repository and install dependencies.
Available tools
compare_texts
Compares two text strings and returns whether they are identical, with optional flags to ignore whitespace, case, and line endings.
get_detailed_diff
Provides a line-by-line diff between two texts, returning a structured list of changes and a summary.