Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
An artifact manager for system specifications.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
SPECMGR_MCP_TRANSPORT, SPECMGR_MCP_HOST, SPECMGR_MCP_PORT, SPECMGR_ADR_DIR, SPECMGR_DOCS_DIR, SPECMGR_FEAT_DIR, SPECMGR_SIMILARITY_DISABLED, SPECMGR_FEAT_WARMUP_DISABLED, SPECMGR_PLANTUML_JAR, SPECMGR_PLANTUML_BIN, SPECMGR_PLANTUML_URL, SPECMGR_DIAGRAM_MAX_TITLE, SPECMGR_TESTS_NO_DOTENV, FASTEMBED_CACHE_PATHต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"biz-dfch-specmgr": {
"command": "uvx",
"args": [
"biz-dfch-specmgr",
"-m",
"biz.dfch.specmgr",
"mcp"
],
"env": {
"SPECMGR_MCP_TRANSPORT": "ใส่ค่าของคุณ",
"SPECMGR_MCP_HOST": "ใส่ค่าของคุณ",
"SPECMGR_MCP_PORT": "ใส่ค่าของคุณ",
"SPECMGR_ADR_DIR": "ใส่ค่าของคุณ",
"SPECMGR_DOCS_DIR": "ใส่ค่าของคุณ",
"SPECMGR_FEAT_DIR": "ใส่ค่าของคุณ",
"SPECMGR_SIMILARITY_DISABLED": "ใส่ค่าของคุณ",
"SPECMGR_FEAT_WARMUP_DISABLED": "ใส่ค่าของคุณ",
"SPECMGR_PLANTUML_JAR": "ใส่ค่าของคุณ",
"SPECMGR_PLANTUML_BIN": "ใส่ค่าของคุณ",
"SPECMGR_PLANTUML_URL": "ใส่ค่าของคุณ",
"SPECMGR_DIAGRAM_MAX_TITLE": "ใส่ค่าของคุณ",
"SPECMGR_TESTS_NO_DOTENV": "ใส่ค่าของคุณ",
"FASTEMBED_CACHE_PATH": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add biz-dfch-specmgr --env SPECMGR_MCP_TRANSPORT='ใส่ค่าของคุณ' --env SPECMGR_MCP_HOST='ใส่ค่าของคุณ' --env SPECMGR_MCP_PORT='ใส่ค่าของคุณ' --env SPECMGR_ADR_DIR='ใส่ค่าของคุณ' --env SPECMGR_DOCS_DIR='ใส่ค่าของคุณ' --env SPECMGR_FEAT_DIR='ใส่ค่าของคุณ' --env SPECMGR_SIMILARITY_DISABLED='ใส่ค่าของคุณ' --env SPECMGR_FEAT_WARMUP_DISABLED='ใส่ค่าของคุณ' --env SPECMGR_PLANTUML_JAR='ใส่ค่าของคุณ' --env SPECMGR_PLANTUML_BIN='ใส่ค่าของคุณ' --env SPECMGR_PLANTUML_URL='ใส่ค่าของคุณ' --env SPECMGR_DIAGRAM_MAX_TITLE='ใส่ค่าของคุณ' --env SPECMGR_TESTS_NO_DOTENV='ใส่ค่าของคุณ' --env FASTEMBED_CACHE_PATH='ใส่ค่าของคุณ' -- uvx biz-dfch-specmgr -m biz.dfch.specmgr mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"biz-dfch-specmgr": {
"command": "uvx",
"args": [
"biz-dfch-specmgr",
"-m",
"biz.dfch.specmgr",
"mcp"
],
"env": {
"SPECMGR_MCP_TRANSPORT": "ใส่ค่าของคุณ",
"SPECMGR_MCP_HOST": "ใส่ค่าของคุณ",
"SPECMGR_MCP_PORT": "ใส่ค่าของคุณ",
"SPECMGR_ADR_DIR": "ใส่ค่าของคุณ",
"SPECMGR_DOCS_DIR": "ใส่ค่าของคุณ",
"SPECMGR_FEAT_DIR": "ใส่ค่าของคุณ",
"SPECMGR_SIMILARITY_DISABLED": "ใส่ค่าของคุณ",
"SPECMGR_FEAT_WARMUP_DISABLED": "ใส่ค่าของคุณ",
"SPECMGR_PLANTUML_JAR": "ใส่ค่าของคุณ",
"SPECMGR_PLANTUML_BIN": "ใส่ค่าของคุณ",
"SPECMGR_PLANTUML_URL": "ใส่ค่าของคุณ",
"SPECMGR_DIAGRAM_MAX_TITLE": "ใส่ค่าของคุณ",
"SPECMGR_TESTS_NO_DOTENV": "ใส่ค่าของคุณ",
"FASTEMBED_CACHE_PATH": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"biz-dfch-specmgr": {
"type": "stdio",
"command": "uvx",
"args": [
"biz-dfch-specmgr",
"-m",
"biz.dfch.specmgr",
"mcp"
],
"env": {
"SPECMGR_MCP_TRANSPORT": "ใส่ค่าของคุณ",
"SPECMGR_MCP_HOST": "ใส่ค่าของคุณ",
"SPECMGR_MCP_PORT": "ใส่ค่าของคุณ",
"SPECMGR_ADR_DIR": "ใส่ค่าของคุณ",
"SPECMGR_DOCS_DIR": "ใส่ค่าของคุณ",
"SPECMGR_FEAT_DIR": "ใส่ค่าของคุณ",
"SPECMGR_SIMILARITY_DISABLED": "ใส่ค่าของคุณ",
"SPECMGR_FEAT_WARMUP_DISABLED": "ใส่ค่าของคุณ",
"SPECMGR_PLANTUML_JAR": "ใส่ค่าของคุณ",
"SPECMGR_PLANTUML_BIN": "ใส่ค่าของคุณ",
"SPECMGR_PLANTUML_URL": "ใส่ค่าของคุณ",
"SPECMGR_DIAGRAM_MAX_TITLE": "ใส่ค่าของคุณ",
"SPECMGR_TESTS_NO_DOTENV": "ใส่ค่าของคุณ",
"FASTEMBED_CACHE_PATH": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
SPECMGR_MCP_TRANSPORT envSPECMGR_MCP_HOST envSPECMGR_MCP_PORT envSPECMGR_ADR_DIR envSPECMGR_DOCS_DIR envSPECMGR_FEAT_DIR envSPECMGR_SIMILARITY_DISABLED envSPECMGR_FEAT_WARMUP_DISABLED envSPECMGR_PLANTUML_JAR envSPECMGR_PLANTUML_BIN envSPECMGR_PLANTUML_URL envSPECMGR_DIAGRAM_MAX_TITLE envSPECMGR_TESTS_NO_DOTENV envFASTEMBED_CACHE_PATH envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub dfch ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.38.0) เข้า registry 7 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Egovframe Scaffold MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว 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.
eGovFrame (전자정부 표준프레임워크) projects: templates, components, CRUD, build, 5.x migration, dependencies
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An artifact manager for system specifications.
This project is an MCP server that you can use to manage different specification artifacts — see Concepts for the full list of artifact types and how they relate, and MCP Server / docs/MCP.md for the tool/resource/prompt reference.
The MCP server (and the management CLI) are optional. You install them as "extras" (see Installation).
Every artifact is a plain markdown file with a YAML frontmatter block on disk — git-friendly, diffable, and readable/editable by hand. The filesystem is always the source of truth; the MCP server wraps it with structured, validated read/write/list/status tools (see Usage).
| Type | Purpose |
|---|---|
| QA — Question and Answer | Structured elicitation interview (organized by ISO/IEC 25010 characteristic) capturing stakeholder Q&A; usually where a new spec effort *starts* |
| GOL — Goal | High-level business goal — what the organization wants to achieve, above individual requirements |
| PRB — Problem Statement | Six-Sigma-style problem statement describing the problem a goal/requirement addresses |
| REQ — Requirement | A single system requirement (EARS-style phrasing), classified by ISO/IEC 25010 characteristic |
| UC — Use Case | Actor/system interaction describing a specific usage scenario |
| RSK — Risk | Risk-register entry: cause/trigger/consequence, 5x5 probability/impact assessment (initial + residual), TARA response strategy |
| DEC — Decision | General-purpose decision record (MADR-style), not limited to architecture |
| ADR — Architecture Decision Record | Architecture-specific decision record; deprecated, use DEC instead |
| TSK — Task List | Checklist of implementation tasks, e.g. for a requirement or feature |
| VCR — Verification Case Record | Verifies exactly one REQ or UC; holds a collection of AC-NNN acceptance criteria (each with a DTAIS verification method) plus one overall coverage outcome (full/partial/none) |
| SOP — Standard Operating Procedure | Step-by-step operational procedure with RASCI responsibility assignment and approval lifecycle |
| FEAT — Feature | Development work-unit plan/progress tracking (.specmgr/feat/ /README.md) |
| SYSRS — System Requirements Spec | Aggregates GOL/PRB/QA/UC/REQ/RSK/DEC-ADR/VCR via cross-reference lists into one navigable spec; its structure follows ISO/IEC/IEEE 29148:2018 (Systems and software engineering — Life cycle processes — Requirements engineering), with a few specmgr-only additions (e.g. ## Decisions, ## Risks) |
| TXT — Free-Form Text | Generic, minimally structured catch-all for unstructured markdown that does not warrant a dedicated domain (ad hoc notes, meeting minutes, review/audit write-ups, scratch analysis); free body (any markdown, incl. H2..H6) plus a mandatory newest-first ## Updates log |
A typical spec effort starts with a QA elicitation interview, which surfaces GOLs (goals) and PRBs (problems). Those inform REQs and UCs, which get risk-assessed (RSK) and backed by DECisions, verified via one VCR per REQ/UC (each collecting its acceptance criteria), and tracked via TSK task lists. A SYSRS ties all of it together into one ISO/IEC/IEEE 29148-structured specification. SOP and FEAT support the process itself rather than sitting in this chain, and TXT is the free-form catch-all that likewise sits outside it (any markdown that does not warrant a dedicated artifact type).
QA -> GOL / PRB -> REQ / UC -> RSK / DEC -> TSK, VCR -> SYSRS (aggregates all)
As a library only (no CLI, no MCP server):
pip install biz-dfch-specmgr
With the CLI:
pip install "biz-dfch-specmgr[cli]"
With the MCP server:
pip install "biz-dfch-specmgr[mcp]"
With semantic-similarity search (find_related/find_similar_text, see Semantic Similarity Search below), add the similarity extra on top of mcp:
pip install "biz-dfch-specmgr[mcp,similarity]"
Or with uv:
uv add "biz-dfch-specmgr[cli,mcp,similarity]"
With the CLI you can generate schema and documentation. We use these commands in pre-commit hooks and ci.yml.
_No domain document-management commands (create/update/status/etc.) exist in the CLI yet — those are currently MCP-only, see MCP Server. The CLI covers version, mcp (below), a handful of cross-cutting/doc-generation commands, and the diagram commands — UC → PlantUML (see UC → PlantUML Diagrams) and reference-graph (see Reference Graph Diagrams) (specmgr --help for the full list)._
specmgr version
specmgr lint [paths]... [--type T [--dir D]] [--all] [--skip-unrecognized] # in-tree spec artifact parseability gate: full model-level parse of the paths (type inferred from the layout, --type overrides) or a --type/--all sweep (exit 0 parsed / 1 parse failure or missing mcp extra / 2 usage-or-resolution)
specmgr lint requires the mcp extra, like specmgr diagram (the decoupling is tracked as issue #238).
Specmgr can turn UC artifacts into PlantUML diagrams — deterministic use-case and package diagrams, plus sequence diagrams attributed by the agent flow.
Sequence diagrams (agent path). The generate_uc_sequence_diagram MCP prompt (in OpenCode: the self-triggering uc-diagram skill or the /uc-diagram command) runs the frozen rulebook flow: the agent attributes every UNATTRIBUTED message (asking via the question tool when not confident), validates with validate_plantuml, and writes diagrams/uc/ .sequence.puml host-natively — no specmgr tool writes .puml files.
**Deterministic diagrams + tooling (CLI, deterministic-only — the CLI never creates, overwrites, or diffs the agent-owned *.sequence.puml files):**
specmgr diagram uc <id>|all --out <dir> [--check] # per-UC <id>.usecase.puml + package.puml; --check byte-diffs without writing (exit 0 ok / 1 diff / 2 usage-or-render error)
specmgr plantuml-check # validates any .puml through the chain (exit 0 valid / 1 invalid / 2 source misconfigured-or-unavailable / 3 inconclusive) specmgr plantuml-encode # offline classic SoWkI… encoding
Validation source. Exactly three env vars, the first one set is the only source used (no fall-through, no PATH discovery, no public default): SPECMGR_PLANTUML_JAR (a plantuml.jar path), SPECMGR_PLANTUML_BIN (an executable speaking the PlantUML CLI contract), SPECMGR_PLANTUML_URL (a PlantUML server base URL). All unset ⇒ offline structure-only validation. Diagram content is never sent to plantuml.com unless you set that URL.
The normative rulebook ships as the specmgr://uc/plantuml resource; the full MCP surface is in docs/MCP.md.
Specmgr can render the deterministic cross-reference network between its artifacts (the tag vocabulary behind the list_references tool) as a PlantUML component diagram — one node per artifact (label = the document title, truncated to the SPECMGR_DIAGRAM_MAX_TITLE limit, default 40), a stereotype + colour per artifact type (a frozen 15-entry palette), nodes grouped into per-domain curly component "TYPE" { … } domain groups, one label-free edge per unique reference ({src} --> {dst}), every edge that lies on a cycle (self-loops and same-SCC ≥ 2) drawn with a red label-free -[#red]-> arrow, and every reference whose target cannot be resolved on disk drawn as a top-level < > node. Fully deterministic: the same registry and the same arguments always emit byte-identical source.
MCP tools. get_reference_diagram(type, id, depth=1, reverse=False, include_feat=True, title=None) renders one source document's reference neighbourhood (the forward walk to depth, 1..5; reverse=True adds the direct incoming references, additive and direct-only); get_reference_diagram_all(include_feat=True, title=None) renders the registry-wide graph. Both return the PlantUML source directly (no file writes); the scoped tool accepts all 14 domains (adr included) and returns the non-raising ParseFailureResult for an existing-but-broken source; the registry-wide tool never raises for content.
CLI (writes the artifact, deterministic-only):
specmgr diagram refs <type> <id> [--depth N] [--reverse] [--no-feat] [--title T] [--out diagrams/refs] [--check] # scoped → <id>.refs.puml
specmgr diagram refs all [--no-feat] [--title T] [--out diagrams/refs] [--check] # registry-wide → reference-graph.puml
--no-feat drops every FEAT node except the explicitly requested source (then every edge touching a dropped node). Exit codes: 0 written / no diff, 1 a --check diff (a missing file counts as differing) or the missing mcp extra, 2 a usage-or-resolution error (wrong-format type/id/depth — a bare feat-NNN is rejected, use list_feat to discover the exact id — a missing source, an existing-but-broken source, all combined with a source). Written artifacts carry no structure-only header (checker-clean by construction).
Validation. specmgr plantuml-check (or the validate_plantuml MCP tool over the source) validates the diagram through the same strict chain as the UC diagrams (the three SPECMGR_PLANTUML_* source env vars, see UC → PlantUML Diagrams; all unset is the offline structure-only floor).
Label limit. SPECMGR_DIAGRAM_MAX_TITLE (an int, default 40) bounds the resolved-node H1 labels (word-boundary cut + …; a set-but-invalid value falls back to 40); the @startuml diagram title is sanitized but never truncated. Its set/valid/default/resolved status is reported by the diagram section of the specmgr://config resource (the raw value is never disclosed).
The normative rulebook ships as the specmgr://reference-graph resource; the full MCP surface is in [docs/MCP.md](doc
ตัดมาแค่ช่วงต้น อ่านต่อใน repo