Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Auditable, conserved AST code intelligence for AI agents. JS/TS, Python, Go, Rust, Java, C/C++, C#.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ucn": {
"command": "npx",
"args": [
"-y",
"ucn"
]
}
}
}在终端中运行这条命令
claude mcp add ucn -- npx -y ucn粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ucn": {
"command": "npx",
"args": [
"-y",
"ucn"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ucn": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ucn"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 mleoca 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(5.5.2)于今天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Tools MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Web production tools for AI agents: contrast, JP text, WebP, JSON-LD, slugs, dates and 40+ more
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Auditable answers, with every match counted, unsure ones marked and blind spots named.
If you work with AI Agents, add UCN as a Skill or MCP tool. One tool gives the agent compact, source-linked answers to caller, impact, and test questions, with uncertainty labeled instead of guessed. The answer depends on the indexed source, not on who asks: a person at a terminal and an agent over MCP receive the same records for the same question.
Conceptual overview · Still image
Use the CLI directly, install the agent skill, or connect through MCP. One engine supplies all three:
Terminal AI Agents Agent Skills
│ │ │ CLI MCP Skill └────────────────────┼────────────────────┘ │ ┌──────┴──────┐ │ UCN Engine │ │ commands │ │ tree-sitter │ └─────────────┘
UCN uses tree-sitter abstract syntax trees (ASTs) for static code analysis, without compiling the project or starting a language server. The CLI runs on demand and reuses an incremental index; MCP keeps a process available for repeated queries. No project configuration is required, and the cache lives outside the repository.
Supports JavaScript, TypeScript, JSX/TSX, Python, Go, Rust, Java, C, C++, C#, and HTML inline scripts.
npm install -g ucn # Node.js 20+
From a project directory:
ucn repo
ucn show handleRequest --lines ucn source handleRequest --raw ucn impact --staged --lines ucn check --staged
repo maps the project. show --lines locates callers, source --raw retrieves the implementation, and impact and check inspect a staged change. When a name is ambiguous, find returns a file:line:name handle that subsequent commands accept.
--lines returns path:line:text records; --raw returns source code. Both fit an agent's existing scripts without parsing a human-readable report.
Text search remains useful for comments, configuration, strings, and code outside the supported languages. usages provides the literal-name inventory when the task needs every occurrence, including those that are not calls.
show gives a symbol's summary, callers, and callees by default. Select --sections to request source, tests, or related context, or set an output budget to keep the answer focused. trace follows the call graph across files, down into callees or up through callers toward entry points. Unverified relationships remain visible, and the tree's accounting reports where exploration stopped.
impact connects a symbol or Git diff to its callers. tests follows indexed call and reference paths to identify statically linked tests, including links several hops away. plan previews a rename or signature change with source locations and review items; it does not edit files. Together these commands support code exploration, refactoring, and change review from a terminal or an AI agent.
For caller answers, UCN checks bindings, imports, receiver types, and ownership to distinguish calls to the selected definition from other uses of its name. Calls without enough evidence stay visible as unverified, with a reason. A matching method name alone does not establish which implementation runs; receiver and ownership evidence determine how the candidate is classified.
In ripgrep at 82313cf9, the selected file_name helper has four confirmed call sites and one unverified candidate. This animation accounts for all 29 matching lines, alongside import relationships and same-name definitions drawn from UCN's output.
Captured findings · Still image · Data
The ACCOUNT line reconciles the observed name occurrences: confirmed calls, unverified candidates, non-call occurrences, and matches attributed to another target. Each occurrence is counted in exactly one category, so the totals can be checked line by line rather than taken on trust. CONTRACT describes the scope of that accounting. Warnings identify source the index could not cover. These details survive text truncation for an agent's output budget; a budget too small to hold them withholds the answer and names the budget that would.
An empty result therefore means something specific about the inspected code. It cannot establish that reflection, generated code, runtime registration, or external consumers never reach a symbol. deadcode supplies candidates to investigate; deletion still needs corroboration. A refactor preview still needs the compiler and tests.
Release gates compare UCN's answers with independent compilers and language servers on a ten-repository board of pinned production codebases. The local November 6, 2026 evaluation, using clangd 18.1.8 for C/C++ and .NET 10.0.403 for Roslyn, recorded these sampled caller results:
| Repository | Pinned commit | Oracle | Symbols sampled | Confirmed precision | In-scope recall |
|---|---|---|---|---|---|
| preact-signals | e0ce9fdf | ts-morph | 27 | 100% | 100% |
| httpx | b5addb64 | Pyright | 50 | 100% | 100% |
| cobra | ad460ea8 | gopls | 50 | 100% | 100% |
| viper | 528f7416 | gopls | 50 | 100% | 100% |
| ripgrep | 82313cf9 | rust-analyzer | 41 | 100% | 100% |
| clap | d3e59a9a | rust-analyzer | 50 | 100% | 100% |
| javapoet | b9017a95 | JDT LS | 50 | 100% | 100% |
| newtonsoft-json | 4f73e743 | Roslyn | 50 | 100% | 100% |
| cjson | c859b25d | clangd | 50 | 100% | 100% |
| fmt | e424e3f2 | clangd | 50 | 100% | 100% |
That evaluation scored 9,677 confirmed caller edges, all correct; 41 further edges were unscored. It reported zero missing in-scope oracle edges in both caller and callee answers. The separate value-reference sample scored 1,241 confirmed sites, all correct, with 4 unscored and zero missing in-scope sites. All 8,000 cross-command comparisons agreed. The default dead-code audit found zero false-dead results among 7 scored claims; 4 additional claims could not be pinned by the oracle and were unscored.
The samples are deterministic and stratified by reference activity. Confirmed precision applies to scored claims; recall counts in-scope oracle edges found in either the confirmed or unverified band. Unverified candidates, oracle abstentions, and unscored findings remain separate. These measurements do not establish complete runtime knowledge.
The scheduled board covers 43 pinned repositories: the ten above plus zod, express, hono, zustand, fastify, dayjs, rich, click, attrs, grpc-go, chi, cursive, itertools, rayon, rand, gson, jsoup, pino, tanstack-form, tqdm, zap, nom, guice, dapper, lz4, pugixml, stateless, luxon, arrow, more-itertools, rust-url, indicatif, and cachetools. A rotating fresh-repository arm checks 13 untuned codebases. Repositories used to repair a finding move to the pinned board and receive untuned replacements. A fresh failure fails the weekly run; independent checks still run and upload their reports.
The repository manifest records the full commits. The Publish workflow gates releases, and the Eval workflow runs the checks on schedule and on demand. Their run pages provide CI results and evaluation artifacts. Reproduce the checks locally with the oracle dependencies installed:
npm run verify
npm run trust:gate
| Task | Command |
|---|---|
| Repository orientation and health | repo [--sections=summary,files,stats,health] [--deep] |
| Symbol summary and relationships | show [--sections=...] |
| Definition lookup | find [--type=type] [--with-source] |
| Complete literal-name inventory | usages |
| Literal, regex, or structural search | search [term] [--regex] [structural flags] |
| Exact source extraction | source |
| Call trees: down, up, or to entry points | trace [--direction=...] [--to=entrypoints] |
| Symbol or Git-diff impact | impact [symbol] [--staged] |
| Direct or transitively linked tests | tests [--depth=N] |
| Signature or pre-commit validation | check [symbol] [--staged] |
| Refactor preview | plan --rename-to=... |
| Imports, importers, and cycles | deps [file] [--direction=...] [--cycles] |
| Project or file public API | api [file] |
| Runtime and framework roots | entrypoints |
| Server/client HTTP surface | endpoints [--bridge] |
| Conservative dead-code candidates | deadcode |
| Likely missing awaits | audit-async |
| Stack-trace frame resolution | stacktrace |
--staged selects the Git-diff form of impact or check, without a symbol.
deps --cycles groups circular dependencies and, in JS/TS and Python, distinguishes eager imports from deferred or type-only edges. Enumeration limits are disclosed. repo reports source coverage as well as project structure; its HOT ranking counts confirmed production callers exactly (a refinement budget only binds on very large repositories, and is disclosed), and repo --sections=stats --hot ranks by all callers.
endpoints --bridge matches server routes and client requests recognized by its framework extractors. plan handles code relationships such as imports, overrides, and interface or trait methods when ownership is resolved; ambiguous relationships remain review items.
Run ucn --help for flags, or use the command reference.
Records and code go to stdout; accounting and notes go to stderr. Unverified records carry a tab-separated reason. An empty --lines listing exits 1, an error exits 2, and a successful listing exits 0. --lines supports find, show, usages, search, and impact; show --lines lists callers by default. Use --json when the script needs structured fields or a tree result.
Listings are deterministic for a given source tree: a fresh build, a cache load, and an incremental rebuild return the same records in the same order. --lines listings have no default row cap. Explicit limits disclose what they omit, and a shell-mode character budget fails before writing partial output. source --raw extracts complete functions and classes unless an explicit line limit is requested; any resulting truncation is reported on stderr.
Ordinary text-mode command errors also exit 2. JSON keeps exit 0 for successful empty
只显示了开头部分;其余内容请在仓库中阅读