Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Local-first version control for AI work. Savepoint and resume your project state across chats.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"stateark": {
"command": "npx",
"args": [
"-y",
"stateark"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add stateark -- npx -y statearkวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"stateark": {
"command": "npx",
"args": [
"-y",
"stateark"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"stateark": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stateark"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Askrion ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.5.3) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, yontu
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.
Türkçe yazı denetimi: TDK kuralları, yapay zekâ izleri, metin türüne göre üslup.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Never explain your project to an AI twice.
Your chat is a workspace, not an archive. StateArk turns a working session into a versioned, portable project state that any new chat can pick up. Open terminal and write:
npx stateark
Then quit Claude Desktop completely (Cmd+Q) and reopen it. That is the whole install.
*(Prefer to install from source? npm install && npm run build && npm run setup — see INSTALL.md. Undo any time with npx stateark remove.)*
Here what we had in mind developing stateark - we address a problem millions of users have...
You: ...three hours of work...
You: Savepoint -> my-project v0.3 written to ~/StateArk
(next day, new chat, empty context)
You: Resume my-project -> decisions, constraints, rejected approaches, open questions, and the actual files - all current, none of the detours
Local by default. Savepoints are ordinary folders of Markdown, JSON and your real files. Nothing is uploaded. If StateArk disappears tomorrow, you still have everything.
~/StateArk/projects/my-project/v0.3/
state.md <- the canonical state, readable in any editor state.json manifest.json <- every artifact with its SHA-256 artifacts/ app.py schema.sql
| In the chat | What happens |
|---|---|
Savepoint | consolidate the session into a new version |
Resume | load the latest state into a fresh chat |
History | list the versions |
Diff | what actually changed between two savepoints |
| In the terminal | |
|---|---|
npx stateark | register with Claude Desktop |
npx stateark report | anonymised local usage summary, printed for you only |
npx stateark remove | unregister; savepoints are kept |
// ... rest unchanged), files that collapsed in size, files the state describes but never handed over, savepoints identical to their predecessor. It warns, it never blocks: the savepoint is always written.Node 20+. Claude Desktop, or Claude Code (claude mcp add --transport http ...). It also runs under other local MCP hosts — users have it working with Codex and Hermes against the same store.
Hosted clients that dial your server from the vendor's cloud (Claude web, ChatGPT web) cannot reach localhost. See INSTALL.md.
Supported, and worth saying plainly because it is the setup that broke first. Writes to a project are serialised across processes, so two agents cannot claim the same version number. If a savepoint reports that another process is busy, repeat it in a moment — nothing is lost. A process that dies mid-write releases its lock automatically.
If your store lives in Dropbox, OneDrive or iCloud Drive: several agents on one machine are fine. Two machines writing the same store simultaneously is a sync conflict, which the sync client resolves and StateArk cannot.
| Variable | Default | |
|---|---|---|
STATEARK_LOCK_WAIT_MS | 60000 | how long to wait for another process before giving up |
STATEARK_LOCK_STALE_MS | 120000 | when a lock is assumed to belong to a dead process |
STATEARK_FS_RETRIES | 6 | retries when a sync client holds a file open |
Elastic License 2.0. Use it for anything including commercially, read and modify the source, share the package. You may not offer it to third parties as a hosted or managed service. Your savepoints are yours and are not covered by this licence.
ChatGPT / Claude / Gemini-capable MCP client
| v StateArk Local Agent <- 127.0.0.1 only, by default | v ~/StateArk/projects <- SOURCE OF TRUTH | | optional v Supabase <- mirror / backup / transport
A Savepoint is an ordinary directory, not a proprietary database:
StateArk/projects/my-project/
journal.ndjson # entries recorded since the last savepoint project.json # index (self-healing: rebuilt from disk if corrupt) v0.3/ state.md # human- and LLM-readable canonical state + integrity warnings state.json # the same state, structured meta.json # version, lineage, platform, sync status, warnings manifest.json # artifacts with SHA-256, stored/pending, carried_forward_from journal.ndjson # the entries this savepoint consolidated artifacts/ app.py schema.sql prototype.zip
If StateArk disappears, those files remain usable.
Requires Node 20+.
npm install
npm run typecheck npm test # 97 checks against a throwaway store — run this first npm start
No .env is needed for local-only mode. Copy .env.example to .env only if you want to change the port, the store location, or enable the Supabase mirror.
On first run StateArk generates a random access key and stores it in ~/StateArk/.access-key (mode 0600). The startup banner prints your endpoints:
MCP: http://localhost:8787/mcp/<key>
Upload page: http://localhost:8787/upload/ Health: http://localhost:8787/health
The HTTP entrypoint is a local server on your own machine, so StateArk assumes any web page you visit is hostile:
| Control | Default |
|---|---|
| Bind address | 127.0.0.1 (STATEARK_BIND to change) |
| Access key | random per install, in /.access-key, constant-time compared |
Origin header | loopback only, plus STATEARK_ALLOWED_ORIGINS |
Host header | loopback only, plus STATEARK_ALLOWED_HOSTS (DNS-rebinding guard) |
| CORS | echoes the validated origin, never * |
| Upload form | single-use CSRF token, capped body size |
| Non-loopback bind | refuses to start unless the access key is ≥ 24 chars |
Before exposing the agent over HTTPS: set a long STATEARK_ACCESS_KEY, set STATEARK_ALLOWED_HOSTS to your tunnel hostname, and put a real reverse proxy in front.
Local-first and hosted LLMs are different networking environments. Claude Desktop/Code and other local MCP clients can talk to the local agent directly. A hosted ChatGPT/Gemini client generally cannot reach localhost on your computer. For those you would need a secure HTTPS route to your running local agent — remote access is on the roadmap and does not exist yet.
If you are setting this up, in this order:
Leave SUPABASE_URL, SUPABASE_SECRET_KEY and STATEARK_OWNER_ID unset. Cloud sync stays off and files never leave the machine. Default store: ~/StateArk (override with STATEARK_LOCAL_ROOT).
This is what you get out of the box. The Supabase section below is opt-in.
Run the migrations in the Supabase SQL editor, in order:
supabase/migrations/001_stateark.sqlsupabase/migrations/002_artifacts.sqlsupabase/migrations/003_hardening.sqlThen set SUPABASE_URL, SUPABASE_SECRET_KEY (server-side Secret key, never a publishable key), STATEARK_OWNER_ID, and STATEARK_STORAGE_BUCKET.
Cloud is a mirror, not the master:
meta.json (disabled / pending / synced / failed);sync_savepoint tool.Text/code artifacts up to 2 MB are mirrored inline in Postgres; everything else goes to the private Storage bucket. The mirror is not end-to-end encrypted — the Supabase project can read what it stores. Sync is off by default for exactly that reason; turn it on only for a project you would be comfortable putting in any hosted database.
When you say Savepoint, the host LLM should:
transfer=text;transfer=base64 only when truly available;transfer=pending instead of fabricating it;... rest unchanged.Local creation is atomic: StateArk writes a temporary bundle and renames it only when complete. Artifact names are sanitised; if a name had to be changed, manifest.json records the original under original_name.
Every savepoint is compared against its predecessor. Findings are returned in the tool result and rendered at the top of state.md. The savepoint is always written — a check never costs you work, it only tells the model to come clean.
| Code | Meaning |
|---|---|
artifact_carried_forward | file was not re-submitted and not declared deleted, so it was copied from the previous version |
artifact_became_pending | content that was stored is now only pending |
artifact_shrank | file collapsed to under 50% of its previous size |
truncation_marker | stored text contains ... rest unchanged, [...], … gekürzt and similar |
no_change | this savepoint is identical to the previous one |
journal_not_reflected | decisions were journalled but the submitted state lists none |
artifacts_mentioned_but_missing | the state text names a file (schema.sql, app.py, …) that was never handed over as an artifact |
The last one is the check that matters most in practice. StateArk cannot read your chat, so a filename appearing in the prose is the only available clue that the model *described* a file instead of preserving it. The warning is phrased as a question, because a named file may legitimately be planned or live outside the conversation.
note_event records one short line per turning point, silently, and only for projects that already exist in StateArk. Untracked projects return tracked: false and nothing is written — that is the filter that keeps scratch conversations out.
At the next Savepoint the journal is consolidated into the new version and cleared. It is never cleared before the savepoint is durably on disk.
Inspect pending entries with the journal tool. Nudging is based on entry count (STATEARK_JOURNAL_NUDGE_AT, default 20), never on a timer.
diff_savepoints with no version arguments compares the latest savepoint against its predecessor: LCS line diff on the text fields, set diff on the lists, SHA-256 comparison on the artifacts, plus an attention block for anything that looks like silent loss.
Every stored artifact has a SHA-256. Pending files are explicit in manifest.json and in the resume_project output, so the LLM cannot quietly pretend a file exists.
If a binary cannot travel through MCP, open the local upload page printed at startup and attach it to the existing project/version. This resolves the pending manifest entry.
`Resume My Projec
ตัดมาแค่ช่วงต้น อ่านต่อใน repo