MCP Server
diff-mcp
MukundaKatta/diff-mcp
48
InicialPluginScore · de 0 a 100MCP server: structured line-by-line diff between two strings via Myers LCS.
Instalação
$
npx convez-ai MukundaKatta/diff-mcp1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Estrelas
0Forks
0Acompanhando
0Saúde
42%Último commit
há 2 mesesVersão
—Issues abertas
4Contribuidores
1README
A tradução para o português deste README ainda está na fila.
diff-mcp
MCP server: structured line-by-line diff between two strings. Returns each
line tagged eq, add, or del, plus an optional unified-diff style
rendered string. Pure JS — no git required.
Tool
diff
{ "a": "a\nb\nc", "b": "a\nB\nc", "unified": true }
→
{
"entries": [
{ "op": "eq", "text": "a" },
{ "op": "del", "text": "b" },
{ "op": "add", "text": "B" },
{ "op": "eq", "text": "c" }
],
"unified": " a\n-b\n+B\n c"
}
Built on Myers' LCS — O(n*m) — fine for typical inputs (a few thousand lines each side). For very large blobs, chunk first.
Configure
{ "mcpServers": { "diff": { "command": "npx", "args": ["-y", "@mukundakatta/diff-mcp"] } } }
License
MIT.