Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
The Open Context Layer for Data Agents
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"canonic": {
"command": "uvx",
"args": [
"canonic",
"mcp",
"start"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add canonic -- uvx canonic mcp startวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"canonic": {
"command": "uvx",
"args": [
"canonic",
"mcp",
"start"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"canonic": {
"type": "stdio",
"command": "uvx",
"args": [
"canonic",
"mcp",
"start"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub mischuh ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.46.1) เข้า registry 8 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Fomu MCP
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.
Kenya government form guides: checklists, draft letters, eCitizen, Huduma, timelines. Sample data.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
The context layer that lets AI agents query your data correctly.
Point canonic at your database and it builds the context an agent needs to answer data questions accurately: definitions, relationships, business meaning, and the guardrails that stop confidently-wrong answers. It keeps that context up to date as your data changes, and it never touches your warehouse beyond reading it.
📖 Full documentation: https://docs.getcanonic.app
An AI agent connected straight to your warehouse sees tables and columns, not meaning. It doesn't know that revenue lives in orders.amount but excludes refunds, or that "active customer" has a specific definition your finance team agreed on. So it guesses. Schema access makes an agent *fluent*. It doesn't make it *correct*.
Real output, captured from a live run against the ecommerce example:
$ canonic sql "SELECT SUM(amount) FROM fct_orders"
┏━━━━━━━━━┓ ┃ sum ┃ ┡━━━━━━━━━┩ │ 4050.50 │ └─────────┘
This total includes two refunded orders ($260), a confident, well-formatted number that's off by 6.4%.
$ canonic --json query --metrics revenue
{ "result": { "rows": [["3790.50"]] }, "compiled": { "sql": "SELECT SUM(\"orders\".\"amount\") AS \"revenue\" FROM \"fct_orders\" AS \"orders\" WHERE \"orders\".\"status\" <> 'refunded'" }, "metadata": { "guardrails_fired": [{ "id": "revenue-excludes-refunds", "kind": "mandatory_filter" }] } }
canonic resolves "revenue" to its canonical definition, compiles the guardrail into the SQL whether or not anyone asked for it, and returns the right number with the reasoning attached.
canonic is not a BI tool and not a chat interface: it's the layer that feeds the tools you already have (a BI dashboard, an agent, a notebook) correct, governed answers.
mandatory_filter, required_dimension, restrict_source and min_trust are part of the contract, so a documented caveat can't be silently skipped. Contracts and guardrailsvia, canonic doesn't guess. Compilertrusted, provisional, caution) with the reasons behind it. Assertions gate CI, and confirmed-wrong outcomes lower a metric's trust. Trust and assertionscanonic decompose and the MCP tool decompose_change attribute the change of a metric between two periods, overall and by member. The method follows the metric's kind, so a ratio is split into mix and rate effects that add up, instead of per-member differences that do not. Tools referenceambiguous_join_path, guardrail_block, ...) the agent can act on, never as a guess. Error codescanonic review, canonic apply), drift is flagged, and references to things that disappeared are proposed for removal. Ingestioncanonic audit and canonic status, and an accuracy harness (canonic assert, canonic eval baseline) turns "trustworthy" into something you can check. Instrumentation your sources canonic consumers
──────────── ─────── ───────── warehouse schema ┐ ingest ┌──────────────────────────┐ CLI (query, sql, review) dbt / Ossie ├─────────▶ │ semantics/ knowledge/ │ ──▶ MCP server Looker, Metabase │ propose │ contracts/ (files in git)│ Claude Code, Cursor, Codex, Notion, web docs ┘ → review └──────────────────────────┘ any MCP client
A question takes one deterministic path: resolve the metric, compile SQL against the canonical definition, apply guardrails, run it read-only, attach the metadata band. No LLM is involved at answer time.
Real output (abridged) from canonic --json query --metrics gross_revenue in the saas-analytics example:
{
"result": { "columns": [{ "name": "gross_revenue", "type": "decimal" }], "rows": [["77071.00"]] }, "compiled": { "sql": "SELECT SUM(\"fct_invoices\".\"amount\") AS \"gross_revenue\" FROM \"fct_invoices\" AS \"fct_invoices\" WHERE \"fct_invoices\".\"status\" <> 'refunded' AND \"fct_invoices\".\"is_trial\" = FALSE", "dialect": "duckdb" }, "metadata": { "resolved": { "metrics": { "gross_revenue": "fct_invoices.total_amount" } }, "guardrails_fired": [ { "id": "revenue-excludes-refunds", "kind": "mandatory_filter", "severity": "error" }, { "id": "revenue-excludes-trials", "kind": "mandatory_filter", "severity": "error" } ], "freshness": [{ "source": "fct_invoices", "stale": false }], "trust_score": { "tier": "provisional", "reasons": ["gross_revenue: assertion unverified (pass/fail not yet persisted)"] } } }
The agent sees which definition answered, which rules shaped the SQL, and why the number is only provisional, so it can caveat the answer instead of presenting it as settled.
canonic's context lives in three committed surfaces: plain files in your git repo, reviewed like code.
| Layer | File | Answers | Owned by |
|---|---|---|---|
| Semantics | semantics/**/*.yaml | "How do I query this safely?" | auto-maintained |
| Knowledge | knowledge/**/*.md | "What does this mean to the business?" | auto-maintained |
| Contracts | contracts/**/*.yaml | "Which definition is canonical, and what must the answer obey?" | human-owned |
Changes how the SQL *runs* → semantics. A human needs it to *trust* the answer → knowledge. Governs *which* definition is authoritative → contracts. See Concepts: the three layers.
canonic needs Python 3.13 or newer (uv fetches it for you).
uvx canonic --version # try it without installing
uv tool install canonic # persistent, global command pip install canonic # without uv docker pull ghcr.io/mischuh/canonic:latest # CI, headless, air-gapped
The fastest path uses local connectors, no server, no network. Point at a SQLite .db or DuckDB .duckdb/CSV/Parquet file:
canonic setup
The wizard names your project, connects a source, optionally configures an LLM, drafts your semantics from the live schema, then runs a real query and shows the answer with its freshness and definition. A server-based database or an LLM provider needs a credential in an environment variable (or a file: reference) *before* you run canonic setup, because canonic never stores secrets in canonic.yaml directly.
You now have a working context layer committed to your repo:
canonic overview # what's askable
canonic query --metrics revenue --dimensions order_date # ask it canonic review && canonic status # review what it drafted
Air-gapped install and offline wheels: Installation.
canonic exposes its tools over a local, on-demand MCP server, verified with Claude Code, Cursor, and Codex:
canonic mcp start
{
"mcpServers": { "canonic": { "command": "uvx", "args": ["canonic", "mcp", "start", "--project", "/path/to/canonic/examples/rental", "--suggestions"] } } }
GUI-launched clients (Claude Desktop, Cursor) don't source your shell profile, so pass connection credentials via the config's env field, not export.
See Connecting your agent for remote and enterprise deployment (--transport http, per-client bearer tokens) and the tools reference. To see masking, run_sql gating and tenancy scoping applied to a real identity, scripts/local_idp runs the marketplace example behind a local Keycloak: walkthrough.
examples/ ships seven ready-to-run projects, each with a guide:
| Example | Backend | Shows |
|---|---|---|
| jaffle-shop | DuckDB | dbt manifest with MetricFlow models as evidence |
| ecommerce | Postgres | the full loop: guardrails, finality, Notion and dbt evidence, observability |
| rental | SQLite | cross-fact fanout and a NULL-handling guardrail, no setup needed |
| saas-analytics | DuckDB | every metric binding kind, all guardrail kinds, finality, assertions |
| dutch-railway | DuckDB | a geography dimension chain and ratio metrics |
| marketplace | SQLite | tenant scoping, role-based access and c
ตัดมาแค่ช่วงต้น อ่านต่อใน repo