Cover image
Try Now
2025-01-21

镜像://github.com/tatn/mcp-server-diff-typescript

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

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.

Server Diff TypeScript MCP server

Features

Tools

  • get-unified-diff - Generate unified diff between two text strings
    • Takes oldString and newString 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

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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Jan Meindl
  • Builds new GPTs

  • Khalid kalib
  • Write professional emails

  • XLwebDev.com
  • PR Professional: Guiding You to Get Media Placements and Publicity Quickly and Effectively

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    4 (1)
    Avatar
    user_MVBfdzAi
    2025-04-16

    I am extremely impressed with the tatn_mcp-server-diff-typescript by MCP-Mirror. It offers seamless integration for managing server differences using TypeScript, ensuring optimal performance and reliability. The repository is well-documented, making it easy to set up and use. Highly recommend checking out the product via this link: https://github.com/MCP-Mirror/tatn_mcp-server-diff-typescript