Skip to main content
Glama

diff-mcp

by benjamine

jsondiffpatch提供支持

特征

  • 比较文本(使用由google-diff-match-patch提供支持的文本差异)
  • 比较数据(json、json5、yaml、toml、xml、html)并以多种输出格式(text、json、jsonpatch)获得可读的差异

工具

差异

比较文本或数据并获取可读的差异。

输入:

  • left (字符串 | 未知[] | Record <string, unknown>):左侧文本或数据
  • leftFormat (字符串,可选):text、json、json5(默认)、yaml、toml、xml、html
  • right (字符串 | 未知[] | Record <string, unknown>):右侧文本或数据(与左侧进行比较)
  • rightFormat (字符串,可选):text、json、json5(默认)、yaml、toml、xml、html
  • outputFormat (字符串,可选):文本(默认)、json、jsonpatch

设置

与 Claude Desktop 一起使用

将其添加到您的claude_desktop_config.json中:

{ "mcpServers": { "diff": { "command": "npx", "args": [ "-y", "diff-mcp" ] } } }

所有贡献者✨

执照

此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。

-
security - not tested
A
license - permissive license
-
quality - not tested

比较两个文本或数据(支持文本差异、json、json5、yaml、toml、xml 和 html)。由 jsondiffpatch 提供支持

  1. 工具
    1. 差异
  2. 设置
    1. 与 Claude Desktop 一起使用
  3. 所有贡献者✨
    1. 执照

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        This MCP server provides unified diffs of two text inputs using Python's standard library difflib.
        Last updated -
        1
        4
        Python
        MIT License
        • Apple
      • A
        security
        A
        license
        A
        quality
        This server provides a tool to generate unified diffs between two text strings, facilitating text comparison and analysis.
        Last updated -
        1
        8
        2
        JavaScript
        MIT License
        • Apple
      • A
        security
        A
        license
        A
        quality
        Enables extracting data from websites using natural language prompts, allowing users to specify exactly what content they want in plain English and returning structured JSON data.
        Last updated -
        1
        1,379
        4
        TypeScript
        MIT License
        • Apple
        • Linux
      • -
        security
        A
        license
        -
        quality
        A tool that helps rank codebase files by importance (1-10 scale), track file dependencies, and provide summaries, all accessible through a simple JSON-based interface.
        Last updated -
        2
        TypeScript
        GPL 3.0
        • Linux

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/benjamine/jsondiffpatch'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server