Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
MCP server for the phlow agent runtime: bounded planner-coder-reviewer agent workflows.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 qompass.ai 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.1)于18天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。
同一分类中有:Spec Driven Development, Remote Desktop Commander, AI Deprecations
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
AI model shutdown dates, replacements, change feed and webhook alerts for 8 providers.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Local, bounded planner → coder → reviewer workflows, with real file tools and a host-enforced verification gate. Ollama is the default backend. CLI, terminal UI and the MCP server share one safe runtime; none uses the old unrestricted shell or auto-loaded plugin path.
Flow can work alone or bidirectionally with Rose: Rose calls Flow over MCP stdio; Flow calls Rose's native editor tools over a private Neovim socket.
Requirements: Python 3.11+, uv, and Ollama with an installed tool-capable model. POSIX is required for Flow's secure local file I/O; the primary targets are Linux and macOS.
From this checkout:
uv venv .venv
uv pip install --python .venv/bin/python -e '.[editor,dev]'
ollama serve ollama pull qwen2.5-coder:7b
.venv/bin/flow status --workspace /absolute/path/to/project
The editor extra installs optional pynvim. dev installs pytest, Ruff and the wheel builder. Omit extras for the basic CLI/TUI runtime. Dependencies belong in the project environment, not a global Python installation.
Create an operator-reviewed TOML file, for example flow-operator.toml. Workspace values must be at the root, before any TOML table header.
workspace_dir = "/absolute/path/to/project"
[ollama] base_url = "http://127.0.0.1:11434" model = "qwen2.5-coder:7b" timeout = 120 # seconds
[models] planner = "qwen2.5-coder:7b" coder = "qwen2.5-coder:7b" reviewer = "qwen2.5-coder:7b"
[agent] max_iterations = 6 # model turns per role invocation max_cycles = 2 # coder → verification → reviewer cycles max_tool_calls = 64 # total across the entire run max_context_chars = 100000
[checks.tests] cmd = [".venv/bin/python", "-m", "pytest", "-q"] timeout = 60000 # milliseconds, as in Rose required = true kind = "test" filetypes = ["python"]
[checks.lint] cmd = [".venv/bin/ruff", "check", "."] timeout = 30000 required = true kind = "lint" filetypes = ["python"]
Those executables must exist in the target project's environment; Flow does not install project dependencies or select commands for you. For this Flow checkout, the included config.toml supplies its own test and lint checks.
.venv/bin/flow check --config /absolute/path/to/flow-operator.toml --trusted
.venv/bin/flow run --config /absolute/path/to/flow-operator.toml --trusted \ "Fix the failing parser tests and explain the changes" .venv/bin/flow status --workspace /absolute/path/to/project .venv/bin/flow tui --config /absolute/path/to/flow-operator.toml --trusted
run, check, and status print one JSON object. Exit codes: 0 for an ok result, 1 for failed/unverified results, 2 for configuration/usage errors, and 130 for an interrupted session. Common flags work before or after the command. --workspace overrides configuration before runtime/tool construction; --model overrides every role. With no subcommand, flow starts the TUI.
TUI commands: /help, /status, /check [name], /tools, /models, /model , /build , /clear, /quit. Ctrl-D exits. Natural-language tasks and /build use the same verified runtime. Every task has fresh, separate role contexts. Legacy /plugins, /evolve, /memory, and /feedback are explicitly unavailable, not silently wired to unsafe helpers.
A run is verified: true only when:
Static evidence is an explicitly configured required check with kind = "lint", "typecheck", or "diagnostics" and matching filetypes, or a completed native Rose linter returning status="ok", verified=true. kind="test", "build", and "check" do not by themselves establish static language coverage. Use language names ("python"), extensions (".py"), or an explicit "*" only when a check really covers every language you edit. Unknown source extensions can use their extension or suffix as the coverage key. Documentation/data extensions such as .md, .json, and .toml still require the named gate but do not require a source-language linter.
All required checks run: filetypes describes coverage, never silently skips a required command. Optional checks are reported but cannot replace a required gate. Checks are language-agnostic exact argv: Rust, Go, TypeScript, C, Nix, or another language can use the same mechanism. There are no inferred npx downloads or automatic package-manager installs.
Missing executables/checks, timeout, invalid reviewer output, absent static coverage and exhausted budgets are not success. Failed checks and review issues feed the next bounded repair cycle. Reports retain checks, verification.coverage, verification_history, changed files, role/model/turn counts and tool-call IDs/errors. Empty cached LSP diagnostics are only a snapshot, not verification; a missing LSP remains explicitly unavailable even when a real linter independently verifies its configured scope. Actual diagnostic errors or stale results veto native coverage.
This is evidence within configured checks' scope, not a proof that all behavior, all languages, or an entire application are correct.
--trusted allows project edits and explicitly configured named checks. It does not approve new model-selected commands.--config FILE explicitly approves loading that operator file. Workspace config.toml/.flow.toml are never auto-loaded, even with --trusted. Only $XDG_CONFIG_HOME/flow/config.toml (default ~/.config/flow/config.toml) is loaded automatically as user configuration..git, symlinks, multiply-linked files and outside-root paths are rejected. Writes are atomic, size-limited, descriptor-relative and no-follow. Root replacement is detected as stale. Operator configuration cannot be edited through the model file tools.ollama.allow_remote=true; no cloud fallback, API key lookup or automatic external search exists.Legacy executable factories now fail closed. The former application generator and orchestrator names require an explicit Runtime; their raw-write/text-to-shell paths are gone. Bundled prompts/profiles are installed inside flow/skills and read as package resources, never implicitly from a project's skills/ directory.
Configure Rose's native entrypoint with the same absolute workspace and trust:
require('rose').setup({
workspace = '/absolute/path/to/project', trusted = true, ollama = { base_url = 'http://127.0.0.1:11434', model = 'qwen2.5-coder:7b' }, flow = { cmd = { '/absolute/path/to/flow/.venv/bin/flow', 'serve', '--config', '/absolute/path/to/flow-operator.toml' }, bridge = true, timeout = 300000, -- milliseconds; budget for the complete bounded run }, })
Rose appends the workspace/trust flags and starts/passes a private socket for the reverse bridge. Manual invocation has the same interface:
flow serve --workspace /absolute/root --trusted \
--config /absolute/operator.toml --nvim /private/directory/nvim.sock \ --editor-timeout 120
The socket must be explicitly supplied and same-user/private: on POSIX use a 0700 parent directory or a socket inaccessible to group/others. TCP is rejected. A Neovim socket grants arbitrary code execution to other same-user clients; keep it private. Flow itself only sends the fixed expressions return require('rose.tools').schemas() and return require('rose.tools').call(...), with names/args as parameters.
Editor schemas are discovered dynamically and filtered to editor_context, editor_diagnostics, editor_symbols, editor_references, editor_lint, editor_check, editor_scip, and editor_debug. Debug launch/probes remain manual: the agent sees only editor_debug status. Planner/reviewer receive read-only tools, not checks/lint or writes.
For buffer safety the reverse bridge also allowlists fixed file_read and file_write calls. Flow validates its paths, trust, role, size and protected configuration first, verifies Rose's resolved workspace matches, then uses Rose's buffer-aware I/O. Unsaved/read-only buffers are not overwritten; loaded buffers are synchronized with disk writes. An unavailable/mismatched bridge does not fall back to unsafe disk writes. Named checks refuse unsaved buffers. Rose's editor-context freshness API v1 is required: Flow checks the global dirty buffer list and compares loaded/observed workspace snapshots across checks and review, including noncurrent buffers. Missing freshness fields fail closed.
pynvim is imported on the main thread before attachment (pynvim records the signal-owner thread at import time); connection creation, requests and close stay on one owning worker. Editor request timeout defaults to 120 seconds and is configurable from 0.1–660 seconds. Model and check timeouts have separate units. SCIP support is decoded JSON supplied by Rose, not raw protobuf decoding. No reverse flow_run calls are exposed.
One UTF-8 JSON-RPC 2.0 object per newline; not Content-Length framing. Protocol 2025-11-25; compatible dates 2025-06-18 and 2025-03-26 are accepted. Send initialize, then notifications/initialized, before tools/list or tools/call. ping is available throughout.
| Tool | Arguments |
|---|---|
flow_status | {} |
flow_run | {"task":"..."} |
flow_check | {} or {"name":"configured-name"} |
Tool responses contain content=[{type:"text",text:" "}], structuredContent=report, and isError for non-ok outcomes. The MCP tool list is intentionally only these three tools. Stdout is protocol only; stderr is for diagnostics. Parse/method/parameter errors preserve JSON-RPC IDs where valid. Oversized frames close the session after an error.
The server is deliberately sequential to fit on device. It does not process notifications/cancelled cooperatively during a running request. To cancel, terminate the Flow session (RoseStop): SIGTERM/KeyboardInterrupt unwind active check process-group cleanup and close the editor client; reconnect afterward. Already saved edits are not r
只显示了开头部分;其余内容请在仓库中阅读