mcp-server-diff-typescript MCP Server
@MCP-Mirror
About mcp-server-diff-typescript MCP Server
Mirror of
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"tatn_mcp-server-diff-typescript": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"npx",
"-y",
"mcp-server-diff-typescript"
]
}
}
}Tools
1Generate unified diff between two text strings
Overview
What is mcp-server-diff-typescript?
mcp-server-diff-typescript is a Model Context Protocol server that provides unified diff generation between two text strings. It is built in TypeScript and uses the diff package for accurate difference detection, making it useful for comparing and analyzing text differences.
How to use mcp-server-diff-typescript?
Install globally with npm install -g mcp-server-diff-typescript or as a project dependency with npm install mcp-server-diff-typescript. Configure it in Claude Desktop by adding the server configuration to claude_desktop_config.json using npx -y mcp-server-diff-typescript or pointing to the built index.js file. The server exposes one tool: get-unified-diff, which takes oldString and newString as required parameters.
Key features of mcp-server-diff-typescript
- Provides the
get-unified-difftool for generating unified diffs - Accepts
oldStringandnewStringas required parameters - Returns differences in unified diff format
- Uses the
diffpackage for accurate detection - Includes 3 lines of context around changes
- Written in TypeScript
Use cases of mcp-server-diff-typescript
- Comparing two versions of a text document or code snippet
- Analyzing changes in configuration files
- Integrating diff functionality into AI-assisted editing workflows
FAQ from mcp-server-diff-typescript
What tool does mcp-server-diff-typescript provide?
It provides a single tool called get-unified-diff that generates a unified diff between two text strings.
How do I install mcp-server-diff-typescript?
You can install it globally with npm install -g mcp-server-diff-typescript or as a project dependency with npm install mcp-server-diff-typescript.
How do I use mcp-server-diff-typescript with Claude Desktop?
Add the server configuration to claude_desktop_config.json in the mcpServers section. Example: use "command": "npx" with "args": ["-y", "mcp-server-diff-typescript"].
What parameters does the get-unified-diff tool require?
It requires two parameters: oldString (the original text) and newString (the updated text).
Does mcp-server-diff-typescript have any runtime dependencies?
It relies on Node.js and the diff npm package for generating diffs. Installation via npm handles these dependencies.
More Version Control MCP servers

Github
modelcontextprotocolModel Context Protocol Servers
MCP GitHub Project Manager
kunwarViveka mcp server to manage github project's functionality

GitLab
modelcontextprotocolModel Context Protocol Servers
Jira MCP
nguyenvanduocitA Go-based MCP (Model Control Protocol) connector for Jira that enables AI assistants like Claude to interact with Atlassian Jira. This tool provides a seamless interface for AI models to perform common Jira operations including issue management, sprint planning, and workflow tra

Git
modelcontextprotocolModel Context Protocol Servers
Comments