mcp-server-diff-typescript
1
Github Watches
4
Github Forks
2
Github Stars
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
oldStringandnewStringas required parameters - Returns the difference in unified diff format
- Uses the
diffpackage 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
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Advanced software engineer GPT that excels through nailing the basics.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Converts Figma frames into front-end code for various mobile frameworks.
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
Mirror ofhttps://github.com/agentience/practices_mcp_server
Reviews
user_fGNFX0EO
I've been using mcp-server-diff-typescript by tatn and it's simply fantastic! This tool has streamlined my TypeScript server-side diff processes immensely. Its intuitive design and robust features make it a crucial part of my development toolkit. Highly recommend to anyone looking to simplify their TypeScript development workflow. Check it out at https://github.com/tatn/mcp-server-diff-typescript!