convez.ai
MCP Server
MukundaKatta

diff-mcp

MukundaKatta/diff-mcp

Ver no GitHub
InicialPluginScore · de 0 a 100

MCP server: structured line-by-line diff between two strings via Myers LCS.

Instalação

$npx convez-ai MukundaKatta/diff-mcp

1 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
0
Forks
0
Acompanhando
0
Saúde
42%
Último commit
há 2 meses
Versão
—
Issues abertas
4
Contribuidores
1

README

A tradução para o português deste README ainda está na fila.

diff-mcp

npm mcp license

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.

Ver o original no GitHub

Relacionados