Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Hash-anchored file editing with surgical precision over file editing and ironclad control of access
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 mrorigo 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于9个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。
同一分类中有:Spec Driven Development, Remote Desktop Commander, zanadir
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Find what a repository's CI is missing, and which security checks cannot fail the build.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Fine-Grained Control for AI File Operations — A Model Context Protocol (MCP) server that gives you surgical precision over file editing and ironclad control over file access.
Unlike traditional line-number-based editing that breaks when files change, Hashfile uses content-anchored operations:
Take complete control over what AI agents can touch with AGENTS.md frontmatter:
secrets/**, **/*.env)📖 Full AGENTS.md Documentation | 📋 Proposal Spec
All standard MCP filesystem tools included:
list_directory — Browse with [FILE]/[DIR] prefixesdirectory_tree — Compact tree view (10x more token-efficient than JSON)create_directory — Recursive directory creationmove_file — Rename/move files and directorieswrite_file — Raw UTF-8 writes (non-hashline)read_multiple_files — Batch reads in one operation| Feature | Benefit |
|---|---|
| Hash-Anchored Editing | Edits survive file changes — no more "line 42 doesn't match" errors |
| Content Verification | 6-character file hashing prevents race conditions |
| AGENTS.md Support | Declarative access control — protect secrets, lock schemas, hide noise |
| Fuzzy Line Matching | Finds the right line even after insertions/deletions |
| 9 MCP Tools | 3 hashline tools + 6 standard filesystem tools |
| Zero Dependencies | Pure Rust, compiles to a single binary |
cargo build --release
The binary will be at target/release/hashfile-mcp.
Add to Claude Desktop or your MCP client config:
{
"mcpServers": { "hashfile": { "command": "/path/to/hashfile-mcp/target/release/hashfile-mcp" } } }
Create AGENTS.md in your project root:
---
forbidden:
read_only:
ignore:
Your custom instructions for AI agents here...
The AI can now:
.env filesnode_modules or build artifactsTraditional line-number editing fails when files change:
Agent: "Replace line 42"
Reality: Someone inserted 3 lines at the top Result: Wrong line replaced! 💥
Content-anchored editing with hash verification:
42:a3|const x = 1;"anchor": "42:a3"read_text_fileReturns content with hash-tagged lines for reliable editing:
1:a3|import { useState } from 'react';
2:7f| 3:2c|export function Counter() {
hashline_version: 1 total_lines: 3 file_hash: 8f3a9b
edit_text_fileApply hash-anchored operations:
{
"path": "/path/to/file.ts", "file_hash": "8f3a9b", "operations": [ { "op_type": "replace", "anchor": "3:2c", "content": "export function Counter({ initial = 0 }) {" } ] }
Operation types: replace, insert_after, insert_before, delete
write_text_fileWrite content and get back hashline-tagged verification
list_directory[DIR] src
[DIR] tests [FILE] README.md [FILE] Cargo.toml
directory_treesrc/
├── agents.rs ├── config.rs ├── filesystem.rs ├── hashline.rs ├── main.rs └── tools.rs
Supports exclude_patterns for filtering (e.g., ["**/node_modules/**", "**/.git/**"])
create_directory, move_file, write_file, read_multiple_filesStandard filesystem operations with AGENTS.md enforcement
| Constraint | Effect | Use Case |
|---|---|---|
forbidden | Block all access | Secrets, credentials, private keys |
read_only | Allow reads, block writes | Schemas, lock files, generated configs |
ignore | Hide from AI context | Dependencies, build artifacts, noise |
Hashfile MCP automatically respects .gitignore files in your project:
.gitignore files.gitignore patterns (basename, directory, path)Pattern conversion:
# .gitignore
*.log → **/*.log node_modules/ → node_modules/** build/output → build/output
Precedence: AGENTS.md ignore patterns take precedence over .gitignore.
---
forbidden:
read_only:
ignore:
Place AGENTS.md files at any level:
/project/AGENTS.md ← Global rules
/project/backend/AGENTS.md ← Backend-specific rules (overrides global) /project/frontend/AGENTS.md ← Frontend-specific rules
The nearest AGENTS.md in the directory hierarchy applies.
cargo test
src/
├── main.rs # MCP server setup ├── tools.rs # Tool definitions (9 tools) ├── hashline.rs # Hash-anchored editing logic ├── filesystem.rs # Standard filesystem operations ├── agents.rs # AGENTS.md frontmatter parsing ├── config.rs # Configuration (future: tool enablement) └── roots.rs # Root path management (future)
rmcp, serde, serde_json, serde_yaml, globset, anyhow, fnvENABLE_FILESYSTEM_TOOLS=true)ENABLE_LIST_DIRECTORY=true, etc.)get_file_info, search_files, list_directory_with_sizesSee LICENSE file for details.