Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Mine the architecture rules your TypeScript repo already enforces, with the evidence attached.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"archprint": {
"command": "npx",
"args": [
"-y",
"archprint",
"mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add archprint -- npx -y archprint mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"archprint": {
"command": "npx",
"args": [
"-y",
"archprint",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"archprint": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"archprint",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Tommkruix ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.18.1) เข้า registry เมื่อวานซืน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, EmbeddedCI BenchPod
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
Drive a BenchPod hardware-in-the-loop bench: power, flash, UART, I2C, CAN, analog and logic.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Mine the architecture rules your repo already enforces, with the evidence attached.
[Try it in your browser](https://stackblitz.com/github/Tommkruix/archprint-demo), nothing to install · Quick start · Use in CI · Use with AI agents · Docs
Every codebase has unwritten rules. "Pages never talk to the database directly." "Shared code never reaches back into the app." Nobody wrote them down, but the code follows them, until one day someone (or an AI assistant) breaks one without noticing.
Archprint reads a TypeScript project, finds the rules its code already follows, and shows you the proof for each one: how many files follow it, which files break it, and how sure it is. The rules you trust become automatic checks in the tools your team already runs, so a break is caught the next time lint runs (in your editor, a pre-commit hook or CI), not weeks later in review.
Think of it as a building inspector who surveys the house first and writes down how it was actually built, instead of handing you a rulebook from somewhere else.
init, connected with wire, and removed with eject.archprint check flags only the rule breaks a pull request introduces, inline on GitHub, never the existing backlog.Your CLAUDE.md is guidance. Your lint rules are enforcement. Archprint closes the gap by generating the enforcement from patterns your codebase already demonstrates, so you adopt rules you can trust instead of authoring them by hand.
The recordings below use archprint-demo, a small Next.js API whose routes reach the database only through a service layer.
1. Find the rules your code already follows. Each rule comes with its evidence.
2. See why one rule is trusted. The confidence check, step by step.
3. Turn the rules on, watch a break get caught, and remove it all again. Archprint writes its files, adds one line to your ESLint config, lint flags a route that imports the database directly, and eject restores your project exactly.
Try it yourself, nothing to install: open the demo in StackBlitz. The scan runs as soon as it opens, and the demo's README walks through enforcing a rule in ESLint, breaking it, and asking for the rules over MCP.
AI coding agents can ask Archprint for a project's rules through MCP, an open standard that lets agents use outside tools. You ask in plain words; the agent calls Archprint on its own and answers with the evidence. Archprint only reports. Enforcement still runs in your linter.
Claude Code lists the rules with what is enforced and what is held for review, then adds a route and checks its own change with archprint before it reports back:
Cursor works the same way. In these recordings Cursor was set to Grok 4.7, not Claude. In the desktop app's chat, its agent called Archprint's scan tool on its own; this screenshot shows the tool result and the answer:
In the terminal (cursor-agent), it does the same: lists the rules, then adds the route and checks it with archprint_check:
We asked Claude Code (Opus 5.5) "What architecture rules does this repo already follow?" on the demo app (70 files), five runs each way. Median [range]:
| Without Archprint | With Archprint | |
|---|---|---|
| Tokens read | 81k [58k to 96k] | 52k [52k to 52k] |
| Tokens written | 1.1k [1.1k to 1.4k] | 0.6k [0.6k to 0.6k] |
| Cost per question | $0.083 [$0.078 to $0.153] | $0.037 [$0.032 to $0.076] |
| Time | 17 s [15 to 19] | 10 s [9 to 31] |
| Tool calls | 5 [4 to 10] | 2 [2 to 2] |
What the answers showed:
lib/services/.lib/db.ts reads process.env outside the config layer). No run without it noticed that.Read these numbers with care: about 50k of the tokens read in both columns are Claude Code's own system prompt, and this is one small repo; larger ones are not measured yet. Method, harness and every answer.
Setup for Claude Desktop, Claude Code, Cursor and other clients is in MCP setup.
Requires Node 20 or newer. Run these in a folder with a tsconfig.json. In a monorepo, scan and recommend also accept the root and cover every app, while init and generate work on one app at a time (for example apps/web); at a root with several apps they stop, list the apps, and ask you to rerun with one.
# 1. See the rules your code already follows, with the evidence. Changes nothing.
npx archprint scan .
npx archprint explain AP-001 .
npx archprint init .
npx archprint wire
npx eslint .
npx archprint eject
Your CLAUDE.md or AGENTS.md probably states rules already ("never call fetch in a component", "packages/ui must not import the app"). Agents read them as guidance. archprint gap-report checks them against the code: your agent maps each rule-like sentence to one of a few fixed templates, quoting it, and Archprint verifies the mapping and measures it. Ask your agent "Which of the rules in our CLAUDE.md does the code actually follow?", or give the CLI the mapping file your agent wrote:
{
"rules": [ { "source": { "file": "CLAUDE.md", "quote": "Never call fetch directly in a component" }, "name": "no-fetch-in-components", "template": "forbid-usage", "files": ["src/components/**"], "usage": ["fetch"] } ] }
Each sentence comes back as enforce now (nothing breaks it today), enforce with a baseline (broken today, with the files and lines), already an archprint rule, check the mapping (the quote is not in the file, or the mapping matches no code), or guidance only. Archprint never calls a model: the agent only maps prose to a template, and every number in the report is computed from your code. Adopt the ones you approve with archprint generate --declare mapping.json (add --baseline for those the code breaks today): each becomes an ESLint rule whose error is your team's sentence, with its line in CLAUDE.md, and archprint check enforces it in pull requests. See the gap report for the templates.
See it catch something. After step 4, break a rule on purpose: for example, make a route file import your database client directly, then run your linter. That is the whole loop the demo walks through in the browser.
To keep it in the project instead of using npx: npm install --save-dev archprint.
More commands for a deliberate, step-by-step setup:
# Inspect the evidence behind one rule
archprint explain AP-002 apps/web
archprint generate apps/web
archprint generate apps/web --check
archprint generate apps/web --rule AP-001
archprint generate apps/web --include-structural --rules AP-002,no-utils-to-app
archprint recommend apps/web
archprint gap-report mapping.json .
archprint generate apps/web --declare mapping.json
archprint migrate
Or build from source:
git clone https://github.com/Tommkruix/archprint
cd archprint npm ci npm run build node dist/cli.js scan
Archprint is deliberately cautious: one wrong rule hurts more than no rule. Every candidate rule passes two checks before it is turned on for you.
1. Is there enough evidence? Seeing 5 of 5 files follow a pattern is not proof; 40 of 40 is. Archprint scores each rule with a Wilson score lower bound, a standard statistical measure that combines how often the rule holds with how many files it was checked on. Each rule lands in one of three groups:
ตัดมาแค่ช่วงต้น อ่านต่อใน repo