Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Safe-by-default MCP for Laya: fast, local, typed decisions (classify/score/yes-no), 100+ langs.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
LAYA_DEFAULT_MODEL, LAYA_MODELS, LAYA_ALLOW_DOWNLOAD, LAYA_MIN_CONFIDENCE, LAYA_DEVICEต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"laya": {
"command": "uvx",
"args": [
"mcp-laya"
],
"env": {
"LAYA_DEFAULT_MODEL": "ใส่ค่าของคุณ",
"LAYA_MODELS": "ใส่ค่าของคุณ",
"LAYA_ALLOW_DOWNLOAD": "ใส่ค่าของคุณ",
"LAYA_MIN_CONFIDENCE": "ใส่ค่าของคุณ",
"LAYA_DEVICE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add laya --env LAYA_DEFAULT_MODEL='ใส่ค่าของคุณ' --env LAYA_MODELS='ใส่ค่าของคุณ' --env LAYA_ALLOW_DOWNLOAD='ใส่ค่าของคุณ' --env LAYA_MIN_CONFIDENCE='ใส่ค่าของคุณ' --env LAYA_DEVICE='ใส่ค่าของคุณ' -- uvx mcp-layaเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"laya": {
"command": "uvx",
"args": [
"mcp-laya"
],
"env": {
"LAYA_DEFAULT_MODEL": "ใส่ค่าของคุณ",
"LAYA_MODELS": "ใส่ค่าของคุณ",
"LAYA_ALLOW_DOWNLOAD": "ใส่ค่าของคุณ",
"LAYA_MIN_CONFIDENCE": "ใส่ค่าของคุณ",
"LAYA_DEVICE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"laya": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-laya"
],
"env": {
"LAYA_DEFAULT_MODEL": "ใส่ค่าของคุณ",
"LAYA_MODELS": "ใส่ค่าของคุณ",
"LAYA_ALLOW_DOWNLOAD": "ใส่ค่าของคุณ",
"LAYA_MIN_CONFIDENCE": "ใส่ค่าของคุณ",
"LAYA_DEVICE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
LAYA_DEFAULT_MODEL envLAYA_MODELS envLAYA_ALLOW_DOWNLOAD envLAYA_MIN_CONFIDENCE envLAYA_DEVICE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub dockndevai ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.1) เข้า registry 43 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, AvaHR
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.
Read hiring data and create inactive assessment and questionnaire drafts for human review.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A safe-by-default Model Context Protocol server for Laya — a fast, non-autoregressive System-1 decision engine. It gives an agent a *thinking* primitive: typed decisions — classify, score, yes/no — over any state (text, an email, a ticket, a JSON object), in a single local forward pass (~33 ms), across 100+ languages, with no text generation — nothing to parse and nothing to hallucinate, and a calibrated confidence on every answer.
Instead of burning a slow, costly LLM round-trip on "which team should handle this? is it urgent? is this a refund request?", the agent calls a typed tool that answers locally, in milliseconds, offline. It's the safest server in the suite — laya only *reads* a state and returns a decision; it changes nothing.
Part of the dockndevai MCP server suite — one governance model across all of them. (This is the first Python server in the suite; the rest are Node/TS.)
| Tool | For |
|---|---|
decide | answer several typed questions (choice/score/noul) in one pass — the full engine |
classify | assign the single best category (one choice) |
score | rate on an ordinal scale, e.g. urgency (one score) |
check | a yes/no/unknown gate for control flow (one noul) |
triage | a ready-made decision set via a laya preset (triage / email / moderation / guard) |
detect_language | script + language of a text (sub-ms, no model) |
explain_routing | which checkpoint would answer, without running inference |
list_models | the checkpoints available, default, device, offline status |
Three checkpoints, auto-routed per request: english (ModernBERT-large), multilingual (mmBERT, 100+ languages), typed-decisions.
pipx install mcp-laya # or: pip install mcp-laya
Python 3.10+. laya pulls in torch; the model checkpoints download once from Hugging Face (see below), after which it runs fully offline.
Downloads are off by default (nothing leaves your machine at runtime). Pre-fetch the checkpoints one time with network access:
LAYA_ALLOW_DOWNLOAD=true python -c "import laya; laya.Router(preload=True)"
Then run the server offline.
{
"mcpServers": { "laya": { "command": "mcp-laya", "env": { "LAYA_DEFAULT_MODEL": "auto" } } } }
See docs/CLIENTS.md for Claude Code / Cursor / Codex / VS Code / Windsurf, and .env.example for every variable.
Ask your agent to *"use laya to classify this ticket's department and whether it's a churn risk"*:
// classify(state, criteria={billing, technical, sales, other})
{ "choice": "billing", "confidence": 0.95, "probabilities": { "billing": 0.95, ... } } // check(state, "Does the user threaten to cancel?") { "answer": "yes", "probability_yes": 0.91, "confidence": 0.91 }
laya is read-only inference, so the guardrails (in src/mcp_laya/security.py) are about privacy and resource control, not write-gating:
LAYA_ALLOW_DOWNLOAD=true.LAYA_MODELS pins which checkpoints may load.LAYA_MAX_INPUT_CHARS / LAYA_MAX_QUESTIONS bound each request.LAYA_MIN_CONFIDENCE flags (never silently trusts) low-confidence answers; every answer already carries a calibrated confidence.LAYA_REDACT_STATE keeps the input text out of the JSON audit log by default.There's a bundled skill, laya-decisions, teaching an agent when to offload a decision to laya and how to phrase typed questions. See also SECURITY.md.
python -m venv .venv && . .venv/bin/activate
pip install -e ".[dev]" ruff check src tests && mypy src && pytest # the policy tests need no model python -m mcp_laya # run the server (stdio)
Built on [laya](https://github.com/NandhaKishorM/laya) by Convai Innovations (Apache-2.0). This server wraps that library; all model work is theirs. See NOTICE.
MIT