L'Atlas / Serveurs MCP / diff-patch-tools

diff-patch-tools

io.github.lazymac2x/diff-patch-tools

Serveur MCP OK

Faire examiner Voir les tarifs

Cloudflare Workers MCP server: diff-patch-tools

Fiche technique

Auteur
lazymac2x (espace de noms du registre)
Dépôt
github.com/lazymac2x/diff-patch-tools-api
Site
—
Version
1.0.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://api.lazy-mac.com/diff-patch-tools/mcp Streamable HTTP
Outils
6
Catégories
Cloud et infrastructure
Dernière mise à jour
16 mai 2026
Publication
16 mai 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.lazymac2x/diff-patch-tools.svg)](https://latlas.dev/mcp/io.github.lazymac2x/diff-patch-tools)
HTML
<a href="https://latlas.dev/mcp/io.github.lazymac2x/diff-patch-tools"><img src="https://latlas.dev/badge/fiche/io.github.lazymac2x/diff-patch-tools.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://api.lazy-mac.com/diff-patch-tools/mcp
Dernier résultat
OK 28 nov. 2026, 09:49
Temps de réponse
612 ms (initialize + tools/list)
Version du protocole
2024-11-05
Nom annoncé
diff-patch-tools 1.1.0
Outils
6

Historique

DateRésultatRéponseOutils
28 nov. 2026, 09:49OK612 ms6

Outils exposés (6, réponse à tools/list, 28 nov. 2026)

text_diff

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

ParamètreTypeRequisDescription
originalstringouiOriginal text
modifiedstringouiModified text
contextnumbernonContext lines around each change (default 3)
original_filestringnonLabel for the original file (default "original")
modified_filestringnonLabel for the modified file (default "modified")

json_diff

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

ParamètreTypeRequisDescription
originalouiOriginal JSON value (object, array, or JSON string)
modifiedouiModified JSON value (object, array, or JSON string)

apply_patch

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

ParamètreTypeRequisDescription
originalstringouiOriginal text to patch
patchstringouiUnified diff patch string

three_way_merge

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

ParamètreTypeRequisDescription
basestringouiCommon ancestor text
oursstringouiOur version of the text
theirsstringouiTheir version of the text
ours_labelstringnonLabel for ours in conflict markers (default "ours")
theirs_labelstringnonLabel for theirs in conflict markers (default "theirs")

diff_stats

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

ParamètreTypeRequisDescription
diffstringouiUnified diff string to analyse

patch_validate

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

ParamètreTypeRequisDescription
originalstringouiOriginal text
patchstringouiUnified diff patch string

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://api.lazy-mac.com/diff-patch-tools/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http diff-patch-tools https://api.lazy-mac.com/diff-patch-tools/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : diff-patch-tools ; URL : https://api.lazy-mac.com/diff-patch-tools/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : diff-patch-tools ; Server URL : https://api.lazy-mac.com/diff-patch-tools/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "diff-patch-tools": {
      "url": "https://api.lazy-mac.com/diff-patch-tools/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "diff-patch-tools": {
      "type": "http",
      "url": "https://api.lazy-mac.com/diff-patch-tools/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "diff-patch-tools": {
      "url": "https://api.lazy-mac.com/diff-patch-tools/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "diff-patch-tools": {
      "httpUrl": "https://api.lazy-mac.com/diff-patch-tools/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.diff-patch-tools]
url = "https://api.lazy-mac.com/diff-patch-tools/mcp"

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.