Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Ranks type debt per file: any and ts-ignore counts weighted by import blast radius.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"typegap": {
"command": "npx",
"args": [
"-y",
"@reneturcios/typegap",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add typegap -- npx -y @reneturcios/typegap mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"typegap": {
"command": "npx",
"args": [
"-y",
"@reneturcios/typegap",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"typegap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/typegap",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 CloudCorpRecords 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于3天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, Docker。
同一分类中有:Spec Driven Development, Remote Desktop Commander, DepTime
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
What changed in a Python library, in which release, and what replaces it. Answered locally.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Every codebase has files where the types gave up: a cast to any here, a @ts-ignore there. typegap tells you which of those files hurt most. It counts type debt per file and weights each file's score by how many other files import it, so a sloppy file that half the codebase depends on ranks above an equally sloppy leaf file nobody touches.
Array (a boundary — a character that is not [A-Za-z0-9_$], or the line edge — is required before Array)Record and Record (a boundary is required before Record) (no boundary requirement)any[] (a boundary is required before any, which is why company[] does not count): any (the character after any must be a boundary)as any (a boundary is required before as and after any, which is why has any does not count)Because earlier families remove their spans, Array counts once rather than again as , and : any[] counts once under any[].
@ts-ignore, @ts-expect-error, and @ts-nocheck.debt = 2 * any_count + 3 * ts_ignore_count + 1 * ts_expect_error_count + 5 * ts_nocheck_count, and blast_radius = debt * (1 + imported_by). Suppressions that silence the compiler weigh more than a stray any, and @ts-nocheck — which opts a whole file out — weighs most of all.Counting is textual on purpose: comments and string literals are not parsed, so a pattern inside one counts like code. That keeps the tool deterministic and honest about its scope — it measures where debt markers cluster, not what the compiler thinks of them.
The result lists only the files with debt, sorted by blast radius descending, then debt descending, then path ascending. Alongside the list it reports how many files were scanned, how many carry debt, the any and debt totals over every supplied file, and the worst file's path (null when nothing supplied carries debt).
Validation is strict: a missing or empty file list, a file missing its path or content, an empty, non-string, or duplicate path, a non-string content, or an imported_by that is not an integer >= 0 is an error naming the offending path (for example files[1].imported_by must be an integer >= 0), and no partial ranking is produced. The computation is pure and local: no network, no configuration, no files read beyond the input you pass in.
npx @reneturcios/typegap rank --input args.json
npx @reneturcios/typegap --version
args.json contains the full arguments object:
{
"files": [ { "path": "src/api.ts", "content": "let raw: any;\n// @ts-ignore\n", "imported_by": 12 }, { "path": "src/clean.ts", "content": "export const n: number = 1;\n" } ] }
imported_by is optional per file and defaults to 0; content is required but may be empty. The ranking is printed as JSON:
{
"files": [ { "path": "src/api.ts", "any_count": 1, "ts_ignore_count": 1, "ts_expect_error_count": 0, "ts_nocheck_count": 0, "debt": 5, "imported_by": 12, "blast_radius": 65 } ], "scanned_files": 2, "files_with_debt": 1, "total_any": 1, "total_debt": 5, "worst_file": "src/api.ts" }
Exit codes: 0 on success, 1 on a runtime error (including an unreadable or invalid input file, or invalid input), 2 on a usage error.
npx -y @reneturcios/typegap mcp
MCP client config:
{
"mcpServers": { "typegap": { "command": "npx", "args": ["-y", "@reneturcios/typegap", "mcp"] } } }
rank_type_debt — Rank files by type debt.files (array, required, at least one) — source files as {path, content, imported_by?} objects; path is unique across the set, content is the full source text, and imported_by says how many other files import the fileReturns {files, scanned_files, files_with_debt, total_any, total_debt, worst_file}.
docker run -i ghcr.io/cloudcorprecords/typegap
docker run --rm -v "$PWD:/w" ghcr.io/cloudcorprecords/typegap rank --input /w/args.json
npm install
npm run build # tsc -> dist/ npm test # tsx --test test/*.test.ts (pure local, no network) npm run dev # run the CLI from source
MIT — Copyright (c) 2026 Rene Turcios