Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Architectural sensor for Python codebases.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"archy": {
"command": "uvx",
"args": [
"archy",
"mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add archy -- uvx archy mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"archy": {
"command": "uvx",
"args": [
"archy",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"archy": {
"type": "stdio",
"command": "uvx",
"args": [
"archy",
"mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub hslee16 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.54.0) เข้า registry วันนี้
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Safe Fetch
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.
MCP server for fetching URLs, safe against SSRF, DNS rebinding, and redirect-to-internal attacks.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Your folders show your architecture. Your imports decide it.
archy turns a Python import graph into something an agent can *use*: blast radius before an edit, the tests that edit affects, the modules most at risk. And it *fails* when the graph disagrees with the layers you declared. Same graph either way, as a CLI and an MCP server, every session and in CI.
[!IMPORTANT]
Status, 2026-09-10: active, and pointed at the loop rather than the surface area.
What archy does. One graph, two front ends. It parses a Python project's
imports and calls once, keeps the parse cached, and answers the questions a
file tree cannot: what does this change reach, which tests does that affect,
where are the cycles, and does the graph still agree with the layers you
declared. It runs as a CLI in CI and as an MCP server inside an agent session,
off the same graph either way, and it *fails* when the declared architecture
and the real one disagree.
Where it is going: deeper into that loop, not wider. The local-model
question that reopened this project on 2026-09-02 is **closed, as six
interventions, none positive**, two of them measured as costing MORE than
their control. The write-up is Study 8 in
docs/WHAT_DIDNT_WORK.md, and it is the fifth
pre-registered null published here. The feature that line produced,
conventions --emit-headers, is kept, because it is derived rather than
hand-authored, cheap, and
--checkstops it rotting. Only the claim attached
to it is retired.
**What those six nulls did establish is where the failure lives: delivery and
retrieval, not capability.** Across 132 agent transcripts on a pinned tree,
readfired in 132 of 132 runs with a median of 9.5 calls before the first
edit; archy fired in 84 of 132, with a median of zero calls before it.
Every archy surface is pull. The model reaches for it after it has already
decided, or not at all. Two payloads pushed through the one channel archy
owns, the file itself, both came out more expensive than their control, which
is evidence about the channel and not the content.
So the working design rule is: **put the answer in the default output of a
command that is already being run**, rather than adding a surface that has to
be discovered first. The live threads follow from it. One is the vacuity
family: a check that could not have failed must not report like one that was
evaluated and held, which is now explicit on the contracts result and is being
finished across the remaining surfaces. The other is two structural refactors
of archy's own code: the module its own tools rate as central and fragile,
and the two files that have grown large enough to hide things. New tools and
new output formats stay gated behind a usage signal.
The discipline does not relax because the project is active. Thresholds
are pre-registered before a run, and any result, including another null, gets
published in
docs/WHAT_DIDNT_WORK.mdlike the
five before it. Nothing archy ships today claims a local-model benefit;
archy brief(v0.46) shipped explicitly on judgment ahead of that
measurement rather than on one, and the measurement did not later rescue it.
What is not changing. The original use case is still supported and still
works: layer governance in CI, blast radius and affected-tests for a frontier
agent, the MCP server. Nothing is being removed or renamed. Bugs still get
fixed, pull requests still get reviewed, and the
good first issuetickets
are still deliberately left open.
I built archy after watching coding agents produce changes that passed review and rotted the import graph underneath. Then I measured whether that happens, and it barely does.
| measurement | subject | rate |
|---|---|---|
| 25 live agent runs on the riskiest SWE-bench tasks | cycles or declared-layer violations | 0% (95% upper bound 12%) |
| 1,072 human commits, 11 repos | cycles introduced | 0.5% per commit |
| 151 commit pairs in projects that declare an architecture | contract violations | 0.66% per commit |
| 107 samples of those same projects over time | rules going stale, coverage eroding | null on all four pre-registered signals |
| 25 agents each building a backend to a specified architecture | wrong dependency direction | 12%, and a checker in the loop took it to 0% |
So: the problem is real (I have watched a developer's own architecture rule get broken in the wild), and it is rare, for agents and humans alike. "Agents will rot your import graph" is a claim I made and have retracted. Nobody has measured what one occurrence costs, so I cannot argue "rare but expensive" either.
The last row is the one that says what archy is for. All 25 unaided agents produced the four layer directories correctly. Every failure was an import going the wrong way: entities reaching down into data access. They got the *layout* right and the *direction* wrong, and a directional rule caught all three cases at no cost to the API's behaviour.
That is the shape of the whole thing. Layout is visible in a file tree. Direction, transitive reach and cycles are visible nowhere, at any zoom level, in any single file. And a separate study found that once one of these lands it is *never repaired*: zero violations were resolved across the sampled corpus, and 2 of 14 repositories sat on broken contracts indefinitely. Rare and permanent, not rare and self-healing.
What that means for what gets built. Feature work premised on "agents will wreck your architecture" went off the table when that premise was retracted, and nothing since has put it back. What survives is narrower and has a number behind it: directional rules, transitive contracts and cycle detection, checked every session. That is a real job and archy does it. What the studies argue against is *more* of it: five of them produced no evidence that another feature is the missing piece, and the honest reading of headroom-limited results is that the next one will not be either.
So the roadmap that was closed in July stays closed, and being active again did not reopen it. Work here goes into the loop that survived rather than into the list that did not: making what archy already computes arrive where an agent will actually read it, and saying honestly what each answer does and does not cover. Bugs get fixed and contributions are welcome, as before.
The full write-up, including the six measurement artifacts that nearly turned a failed study into a success story, is in docs/WHAT_DIDNT_WORK.md. If you only read one thing here, read that.
Nothing in that picture is derived. Which layer a module belongs to, and which direction is forbidden, are facts you write down in archy.yaml; archy only checks that the source still agrees with them.
Here is the failure it was built for, compressed into one line. This is archy's own source, under archy's own layer rules, with a single import of the kind an agent adds when it needs a helper and the nearest one is upward:
# src/archy/graph.py
from archy.cli import main # convenience import. The diff looks harmless.
$ uvx archy check .
graph -> cli (forbidden): archy.graph -> archy.cli (line: 40)
archy check --show-unlayered)$ echo $? 1
$ uvx archy cycles .
Cycle of 12 module(s):
Edges: archy.affected -> archy.impact (line: 29) archy.cli -> archy.affected (line: 27) archy.cli -> archy.conventions (line: 34) archy.cli -> archy.duplicates (line: 66) archy.cli -> archy.graph (line: 74) archy.cli -> archy.headers (line: 82) archy.cli -> archy.impact (line: 87) archy.cli -> archy.index (lines: 1537, 1538, 1566, 1591) archy.cli -> archy.mcp (line: 1511) archy.cli -> archy.scan_config (line: 111) archy.cli -> archy.simulate (line: 113) archy.conventions -> archy.graph (line: 72) archy.duplicates -> archy.graph (line: 84) archy.graph -> archy.cli (line: 40) archy.headers -> archy.conventions (line: 44) archy.headers -> archy.graph (line: 45) archy.impact -> archy.graph (line: 28) archy.index -> archy.graph (line: 31) archy.mcp -> archy.affected (line: 117) archy.mcp -> archy.conventions (line: 119) archy.mcp -> archy.duplicates (line: 157) archy.mcp -> archy.graph (line: 166) archy.mcp -> archy.impact (line: 182) archy.mcp -> archy.scan_config (line: 202) archy.mcp -> archy.simulate (line: 204) archy.mcp -> archy.watcher (line: 205) archy.scan_config -> archy.graph (line: 25) archy.simulate -> archy.graph (line: 46) archy.watcher -> archy.graph (line: 35) archy.watcher -> archy.index (line: 36)
$ uvx archy score .
modularity: 0.670 (48 communities, raw Q=0.505) call-weighted Q=0.699 (calls amplify community structure) acyclicity: 0.927 (1 cycles, tangle=0.073) depth: 0.533 (max depth 7) equality: 0.411 (Gini=0.589) complexity: 0.767 (2888 functions, cc_mean=2.86, cc_max=46)
One import, one edge. A forbidden layer edge, a twelve-module cycle, and the score down 0.003. Nothing in the diff itself says any of that, and no amount of reading the file reveals it, because the rule that makes it a violation is not in the source. You supplied it.
Note the size of the score move. 0.003 is small, and that is the honest shape of this problem: no single edit looks alarming on the number. The cycle count going 0 to 1 and check exiting 1 are the signals that matter here, and the score is what catches the version of this that happens forty times over six weeks. Read docs/SCORING.md before treating the composite as a quality gate.
That example is a *direct* forbidden import, which is the easy case: an agent that reads archy.yaml first can catch it without archy. The harder and more honest case is a transitive violation, where the edit adds no forbidden import at all and reading the config tells you nothing. docs/WALKTHROUGH.md is a one-co
ตัดมาแค่ช่วงต้น อ่านต่อใน repo