MCP server for hledit hash-anchored file edits. Rejects stale writes before they happen for standard MCP clients.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add hledit -- npx -y hledit-mcp~/.codex/config.toml
[mcp_servers.hledit]
command = "npx"
args = ["-y", "hledit-mcp"]
# codex mcp add hledit -- npx -y hledit-mcp~/.cursor/mcp.json
{
"mcpServers": {
"hledit": {
"command": "npx",
"args": [
"-y",
"hledit-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"hledit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"hledit-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"hledit": {
"command": "npx",
"args": [
"-y",
"hledit-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"hledit": {
"command": "npx",
"args": [
"-y",
"hledit-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"hledit": {
"command": "npx",
"args": [
"-y",
"hledit-mcp"
]
}
}
}