Skip to main content
Glama

Server Details

Cloudflare Workers MCP server: diff-patch-tools

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2024-11-05
URL
Repository
lazymac2x/diff-patch-tools-api
GitHub Stars
0
ChatGPT
–
Claude
–

TDQS

A4/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: applying patches, validating patches, generating diffs for text and JSON, computing stats, and merging with conflict markers. No two tools could be confused with each other based on their descriptions.

Naming Consistency4/5

Most tool names follow a similar object_verb pattern (json_diff, text_diff, patch_validate, three_way_merge), but apply_patch breaks this with verb_object order, and diff_stats is an odd noun-noun combination. Overall still readable and largely consistent.

Tool Count5/5

Six tools is an ideal size for a focused diff/patch toolkit. Each tool serves a distinct function without redundancy or unnecessary bloat.

Completeness5/5

The toolkit covers the full lifecycle of diffing, patching, validating, analyzing, and merging, with specific support for both text and JSON. No obvious gaps in the stated domain.

Available Tools

6 tools
apply_patchAInspect

Apply a unified diff patch to an original text and return the patched result.

Inputs: patch (required), original (required).

diff_statsAInspect

Parse a unified diff string and return line-level statistics: additions, deletions, hunks, files changed.

Inputs: diff (required).

json_diffAInspect

Compute a structural diff between two JSON values, showing added, removed, and replaced fields.

Inputs: modified (required), original (required).

patch_validateAInspect

Check whether a unified diff patch can be applied cleanly to an original text without actually applying it.

Inputs: patch (required), original (required).

text_diffAInspect

Generate a unified diff between two text strings. Ideal for comparing file versions before and after edits.

Inputs: modified (required), original (required), context, modified_file, +1 more.

three_way_mergeAInspect

Perform a three-way merge of base, ours, and theirs. Conflicts are marked with standard diff3 conflict markers.

Inputs: base (required), ours (required), theirs (required), ours_label, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      B
      maintenance
      An MCP server that exposes VS Code's advanced diff algorithm as a tool, providing accurate unified diffs with move detection and annotations.
      1
      -
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to compute and apply minimal JSON Patch (RFC 6902) operational diffs for atomic state synchronization between structured documents. Runs as a zero-dependency Python MCP server with deterministic outputs and sub-millisecond execution overhead.
      8
      -
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.