Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Temporal engineering context for agents via MCP.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
NEO4J_URI, NEO4J_USER, NEO4J_PASSWORD, GEMINI_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"memex": {
"command": "npx",
"args": [
"-y",
"stifler-memex-mcp",
"serve",
"--repo",
"."
],
"env": {
"NEO4J_URI": "ใส่ค่าของคุณ",
"NEO4J_USER": "ใส่ค่าของคุณ",
"NEO4J_PASSWORD": "ใส่ค่าของคุณ",
"GEMINI_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add memex --env NEO4J_URI='ใส่ค่าของคุณ' --env NEO4J_USER='ใส่ค่าของคุณ' --env NEO4J_PASSWORD='ใส่ค่าของคุณ' --env GEMINI_API_KEY='ใส่ค่าของคุณ' -- npx -y stifler-memex-mcp serve --repo .เติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"memex": {
"command": "npx",
"args": [
"-y",
"stifler-memex-mcp",
"serve",
"--repo",
"."
],
"env": {
"NEO4J_URI": "ใส่ค่าของคุณ",
"NEO4J_USER": "ใส่ค่าของคุณ",
"NEO4J_PASSWORD": "ใส่ค่าของคุณ",
"GEMINI_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"memex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stifler-memex-mcp",
"serve",
"--repo",
"."
],
"env": {
"NEO4J_URI": "ใส่ค่าของคุณ",
"NEO4J_USER": "ใส่ค่าของคุณ",
"NEO4J_PASSWORD": "ใส่ค่าของคุณ",
"GEMINI_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub STiFLeR7 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: NEO4J_URI, NEO4J_USER, NEO4J_PASSWORD, GEMINI_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.3) เข้า registry 11 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js, Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Zoo 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.
An MCP server that provides access to the Zoo API for various CAD operations and tools.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Open-source MCP server and hook service that keeps Claude Code and Codex
engineering context current as the code changes, and holds edits whose
evidence changed.
[memex.stifler.in](https://memex.stifler.in)
A daemon, hook service and MCP server that turn commits and file changes into structured engineering knowledge and deliver it to agents with freshness and provenance preserved, without making memex a source of personal memory or raw session state.
memex builds a bitemporal knowledge graph of your repository (modules, symbols, decisions, problems, evidence, and code evolution). In v1 it also hooks into Claude Code and Codex: each session starts with the right context, each edit is checked against the current code, and the agent is told exactly what changed.
| Website | memex.stifler.in |
| Source | github.com/STiFLeR7/memex |
| Python package | memex-mcp on PyPI |
| Node package | stifler-memex-mcp on npm |
| MCP Registry | registry.modelcontextprotocol.io, listed as io.github.STiFLeR7/memex |
| Claude Code plugin | STiFLeR7/claude-plugins |
| Directories | Glama · AI Agents Listing |
Evaluation record in BENCHMARK.md, release history in CHANGELOG.md, reporting process in SECURITY.md, and how to work on it in CONTRIBUTING.md.
https://github.com/user-attachments/assets/b14e3185-ea36-4ae5-bd18-2d34e6bf7be4
*memex v1 in 60 seconds. If the player does not load, download the video.*
Coding agents work from a snapshot of the code. A teammate pushes, another agent edits a file, a branch moves, and the agent keeps acting on what it read earlier. v1 keeps that snapshot current, inside Claude Code and Codex:
| When | What memex does |
|---|---|
| Session start | Delivers a bounded working set for the task, and confirms delivery from the client's own session record |
| Before each edit | Checks whether the context the edit rests on still holds. If not, the edit is held, the agent gets a scoped correction, and it revises |
| On resume | If the code changed while the session was away, names the files to re-read |
| Parallel agents | Gives each linked worktree its own view, so agents side by side each see their own code |
| Trying it out | memex v1 mode shadow records what would be corrected without changing anything; hooks fail open; memex v1 rollback stops memex at once |
uv tool install memex-mcp # installs the `memex` command
cd your-repo memex v1 doctor # what is set up, what is missing, what to do next memex v1 install claude # hooks in .claude/settings.json; global settings untouched memex v1 install codex --neo4j-uri bolt://localhost:7687 # optional, for Codex
memex needs a Neo4j 5 server you already run (Docker is not required). Hooks go only into the checkout's own project configuration, and memex never asks for or stores your client credentials. Full guide, host recipes and rollback: docs/v1/25_ONBOARDING.md.
flowchart LR
A[Your repository files + git] --> B[memex watcher tree-sitter + Gemini] B --> C[Neo4j graph bitemporal facts] C --> D[memex core ContextPacket selection] D --> H[Hook service session start · edit checks · resume notice] D --> E[Hermes MemoryProvider automatic read-only prefetch] D --> F[MCP tools explicit lookup] H --> G[Claude Code / Codex] E --> G F --> G
style B fill:#cfe8ff,stroke:#0066cc,color:#000 style C fill:#fff4cf,stroke:#cc9900,color:#000 style H fill:#d4f5d4,stroke:#2d8f2d,color:#000
/plugin marketplace add STiFLeR7/claude-plugins
/plugin install memex-mcp@stifler-marketplace
Restart your Claude Code session.
The first start after installing or upgrading downloads memex's Python dependencies (about 40 seconds), which can exceed Claude Code's MCP connect timeout once. Warm it up first, then restart:
npx -y stifler-memex-mcp --help # one-time download; later starts take a few seconds
If Claude Code still shows a connection timeout, open /mcp and reconnect memex. If a tool says memex cannot reach Neo4j, start Neo4j (for example docker start memex-neo4j); the tools recover without a restart.
docker compose -f docker/docker-compose.yml up -d
cat > .env <<EOF NEO4J_URI=bolt://localhost:7687 NEO4J_USER=neo4j NEO4J_PASSWORD=memex-local GEMINI_API_KEY=your-key-here EOF npx stifler-memex-mcp init --repo . npx stifler-memex-mcp watch --repo . npx stifler-memex-mcp serve --repo .
The Hermes integration is read-only. Hermes retains personal memory, raw session state, and execution state. memex supplies repository engineering context through a bounded ContextPacket; it does not ingest Hermes state.db, transcripts, prompts, or tool results.
Add the memex provider to Hermes' profile configuration:
memory:
provider: memex plugins: memex: repo_path: /absolute/path/to/repository prefetch_timeout_seconds: 7 max_items: 8 max_chars: 12000
If Hermes is not installed, use the same context selector through the MCP get_engineering_context tool. Both paths share the protocol-neutral memex core and fail open when retrieval is unavailable.
| Channel | Command |
|---|---|
| Claude Code marketplace | /plugin install memex-mcp@stifler-marketplace |
| npx (no install) | npx stifler-memex-mcp |
| uv | uv add memex-mcp |
| pip | pip install memex-mcp |
| source | git clone github.com/STiFLeR7/memex && uv sync |
For a shared team setup (one Neo4j + one memex-server, auth on by default, Neo4j's ports never exposed to the host):
bash docker/bootstrap-team-env.sh
docker compose -f docker/docker-compose.team.yml up -d
See docker/TEAM-DEPLOY.md for the full flow, capturing the initial admin key, and the down -v footgun to avoid.
| Property | Value |
|---|---|
| Output | A Neo4j graph populated continuously from your repo |
| Storage | Neo4j via Graphiti. Bitemporal: every edge has created_at and optional expired_at |
| Context | Bounded, ranked, provenance-aware ContextPacket |
| Live context (v1) | Session-start working set, edit checks with scoped corrections, resume change notice, per-worktree views (Claude Code and Codex hooks) |
| Integrations | Hermes MemoryProvider, MCP resources/tools, Claude Code, Cursor, Codex, Gemini CLI |
| Failure mode | Fail-open; agent execution continues without memex |
| Granularity | Scales from 50 to 5000+ modules via hierarchical Leiden clusters |
| Synthesis | Gemini Flash distills commits into Decision nodes; Pro for grounded synthesis |
| Confidence | Computed at query time. Two-regime decay (validated half-life ~139d, unvalidated stale at 30d) |
| Write governance | Per-node-type ACL, intent-confirmation on agent writes, explicit corroborates / supersedes semantics |
| Goal 10 evidence | 8/8 valid paired runs, 0 treatment failures, 0 treatment regressions |
flowchart TD
Init[memex init extract baseline] --> Watch[memex watch daemon + git hooks] Watch -->|commit| Extract[tree-sitter extract symbols, imports, lockfile] Extract --> Synth[Gemini Flash diff → Decision nodes] Synth --> Write[Graphiti add_episode
nightly confidence decay] Decay -->|stale edges| Archive[expired_at = now]
Serve[memex serve MCP stdio/HTTP] -.->|reads| Write Agent[AI agent] -->|14 MCP tools| Serve Serve -->|record_decision / record_problem| Write
Cluster[memex cluster Leiden over hybrid edges] -.->|every N commits| Write
style Init fill:#e8f4ff,color:#000 style Watch fill:#fff4cf,color:#000 style Synth fill:#ffe0cc,color:#000 style Serve fill:#d4f5d4,color:#000
14 tools: eight read, four write, two analytic.
| Tool | When |
|---|---|
get_project_context | Session start. Returns a cluster-level briefing under 1500 tokens regardless of repo size |
get_symbol_context | Before editing a function or class. Returns callers, callees, linked decisions |
get_recent_decisions | Last N days of architectural decisions, optionally module-scoped |
get_open_problems | Active bugs and tech debt, sorted by severity |
search_context | Hybrid search: semantic × keyword × graph traversal × RRF merge |
get_stale_context | Edges whose composite confidence dropped below threshold |
explain_change | Given a commit SHA, cross-references the diff with linked Decision/Problem nodes and asks Gemini Pro for a grounded explanation |
predict_impact | Given a file path, returns a ranked list of modules likely affected based on graph coupling (no LLM call) |
| Tool | When |
|---|---|
record_decision | After making a technical choice. Supports corroborates (reinforce) and supersedes (replace) |
record_problem | When discovering a bug or piece of tech debt |
resolve_problem | When a tracked problem is fixed |
invalidate_edge | When a stored fact is no longer true |
Confidence is not a stored number that mutates. It is computed at query time from base_confidence, validation status, time since last reinforcement, and access count.
flowchart LR
Edge[Edge created base_confidence] --> Q{Validated by a human?} Q -->|yes| Slow[Slow regime half-life ~139d] Q -->|no| Fast[Fas
ตัดมาแค่ช่วงต้น อ่านต่อใน repo