mcp-server-diff-typescript MCP Server
A Model Context Protocol server that provides unified diff generation capabilities.
This TypeScript-based MCP server implements a diff generation system. It provides a tool to generate unified diffs between two text strings, which is useful for comparing and analyzing text differences.
Features
Tools
get-unified-diff
- Generate unified diff between two text strings- Takes
oldString
andnewString
as required parameters - Returns the difference in unified diff format
- Uses the
diff
package for accurate difference detection - Includes 3 lines of context around changes
- Takes
Installation
As a Global Package
npm install -g mcp-server-diff-typescript
As a Project Dependency
npm install mcp-server-diff-typescript
Usage
Using with Claude Desktop
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
"mcpServers": {
"mcp-server-diff-typescript": {
"command": "npx",
"args": [
"-y",
"mcp-server-diff-typescript"
]
}
}
or Add the following configuration:
git clone https://github.com/tatn/mcp-server-diff-typescript.git
cd mcp-server-diff-typescript
npm install
npm run build
"mcpServers": {
"mcp-server-diff-typescript": {
"command": "node",
"args": [
"/path/to/mcp-server-diff-typescript/build/index.js"
]
}
}
Debugging
To debug the MCP server:
npx @modelcontextprotocol/inspector npx -y mcp-server-diff-typescript
npx @modelcontextprotocol/inspector node /path/to/mcp-server-diff-typescript/build/index.js
Diff Generation Server
Project Details
- tatn/mcp-server-diff-typescript
- mcp-server-diff-typescript
- MIT License
- Last Updated: 3/20/2025
Recomended MCP Servers
MCP server that gives Claude ability to use OpenAI's GPTs assistants
Claude Desktop 的火山引擎知识库 MCP 服务器
DoiT official MCP Server

This MCP server provides image generation capabilities using the Replicate Flux model.
MCP server for OpenRouter.ai integration
High-performance string search MCP server with automatic CPU core scaling
Tiny MCP server with cryptography tools, sufficient to establish end-to-end encryption between LLM agents
百度地图 MCP Server
MRP (materials requirement planning) MCP which can extract data necessary for making an MRP calculation and make the...