Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Read/write a self-hosted Gramps Web family tree where every fact carries a citation.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
GRAMPS_MCP_API_URL, GRAMPS_MCP_USERNAME, GRAMPS_MCP_PASSWORD, GRAMPS_MCP_CONFIG, GRAMPS_MCP_EXPOSE_PRIVATE, GRAMPS_MCP_TRANSKRIBUS_USERNAME, GRAMPS_MCP_TRANSKRIBUS_PASSWORD, GRAMPS_MCP_TRANSKRIBUS_PAGE_BUDGET, GRAMPS_MCP_TRANSKRIBUS_API_URLค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"gramps-evidence": {
"command": "uvx",
"args": [
"gramps-evidence-mcp"
],
"env": {
"GRAMPS_MCP_API_URL": "ใส่ค่าของคุณ",
"GRAMPS_MCP_USERNAME": "ใส่ค่าของคุณ",
"GRAMPS_MCP_PASSWORD": "ใส่ค่าของคุณ",
"GRAMPS_MCP_CONFIG": "ใส่ค่าของคุณ",
"GRAMPS_MCP_EXPOSE_PRIVATE": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_USERNAME": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_PASSWORD": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_PAGE_BUDGET": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_API_URL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add gramps-evidence --env GRAMPS_MCP_API_URL='ใส่ค่าของคุณ' --env GRAMPS_MCP_USERNAME='ใส่ค่าของคุณ' --env GRAMPS_MCP_PASSWORD='ใส่ค่าของคุณ' --env GRAMPS_MCP_CONFIG='ใส่ค่าของคุณ' --env GRAMPS_MCP_EXPOSE_PRIVATE='ใส่ค่าของคุณ' --env GRAMPS_MCP_TRANSKRIBUS_USERNAME='ใส่ค่าของคุณ' --env GRAMPS_MCP_TRANSKRIBUS_PASSWORD='ใส่ค่าของคุณ' --env GRAMPS_MCP_TRANSKRIBUS_PAGE_BUDGET='ใส่ค่าของคุณ' --env GRAMPS_MCP_TRANSKRIBUS_API_URL='ใส่ค่าของคุณ' -- uvx gramps-evidence-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"gramps-evidence": {
"command": "uvx",
"args": [
"gramps-evidence-mcp"
],
"env": {
"GRAMPS_MCP_API_URL": "ใส่ค่าของคุณ",
"GRAMPS_MCP_USERNAME": "ใส่ค่าของคุณ",
"GRAMPS_MCP_PASSWORD": "ใส่ค่าของคุณ",
"GRAMPS_MCP_CONFIG": "ใส่ค่าของคุณ",
"GRAMPS_MCP_EXPOSE_PRIVATE": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_USERNAME": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_PASSWORD": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_PAGE_BUDGET": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_API_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"gramps-evidence": {
"type": "stdio",
"command": "uvx",
"args": [
"gramps-evidence-mcp"
],
"env": {
"GRAMPS_MCP_API_URL": "ใส่ค่าของคุณ",
"GRAMPS_MCP_USERNAME": "ใส่ค่าของคุณ",
"GRAMPS_MCP_PASSWORD": "ใส่ค่าของคุณ",
"GRAMPS_MCP_CONFIG": "ใส่ค่าของคุณ",
"GRAMPS_MCP_EXPOSE_PRIVATE": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_USERNAME": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_PASSWORD": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_PAGE_BUDGET": "ใส่ค่าของคุณ",
"GRAMPS_MCP_TRANSKRIBUS_API_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
GRAMPS_MCP_CONFIG envGRAMPS_MCP_EXPOSE_PRIVATE envGRAMPS_MCP_TRANSKRIBUS_USERNAME envGRAMPS_MCP_TRANSKRIBUS_PAGE_BUDGET envGRAMPS_MCP_TRANSKRIBUS_API_URL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub ianderso ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GRAMPS_MCP_API_URL, GRAMPS_MCP_USERNAME, GRAMPS_MCP_PASSWORD, GRAMPS_MCP_TRANSKRIBUS_PASSWORD
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.3.0) เข้า registry 29 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, SwarmMemo
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.
Talk with agent swarms: rooms, private messages and paid tasks for AI agents
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An MCP server that gives an AI assistant read/write access to a Gramps genealogy tree, plus a read-only "reference layer" over legacy GEDCOM exports.
97 tools, built around evidence discipline. The premise is that an assistant turned loose on a family tree will happily invent a plausible ancestor, so the write paths here are shaped to make every claim carry its source: facts are created with citations attached, uncite deletes what it orphans, parent-child links are cited independently because one citation object cannot carry two confidences, and an audit set — list_unsourced_facts, get_backlinks, find_duplicates, and server-side queries through query_objects and query_records — exists to find the places where that discipline slipped.
Legacy trees (Ancestry / FamilySearch exports) are consulted through the read-only reference layer as untrusted hints, never a source of truth.
The server is a REST client of [Gramps Web](https://www.grampsweb.org/) (`gramps-webapi`). It never touches the Gramps database files directly — see How it connects.
Living-person privacy filtering is on by default — see Privacy.
This is an independent project. It is not made, endorsed or supported by the Gramps project.
ocr_mediaThe server speaks HTTP to gramps-webapi and never opens the Gramps database files. The API server is the sole owner of the database, so this server and the Gramps Web frontend can both write without contending for the desktop app's exclusive lock. The package imports no gramps.gen.* module and needs no sys.path surgery.
One caveat: *side by side* means the Gramps Web frontend and this server, both talking to the same gramps-webapi. It does not mean pointing the Gramps desktop app at the same database file that gramps-webapi is serving -- that reintroduces the two-writer problem. Treat the Gramps Web tree as the source of truth and round-trip with the desktop app through export/import.
See docs/ARCHITECTURE.md for the layer breakdown.
You need a running Gramps Web instance, and uv to run the server.
If Gramps Web is already up anywhere you can reach, you don't need the bundled docker-compose. Just point the MCP at it:
http://gramps.example.org:5000. The REST API lives under …/api. gramps-web user add mcp 'A_STRONG_PASSWORD' --fullname 'MCP client' --role 3
(On the official image the wrapper is gramps-web; the underlying command is python3 -m gramps_webapi user add ….)
A ready-to-go stack is in docker/docker-compose.yml: SQLite backend, bind-mounted data and media directories (a plain directory tree you can copy or back up like any other), and host port 5555 → container 5000. Port 5555 avoids macOS's AirPlay Receiver, which occupies 5000.
docker compose -f docker/docker-compose.yml up -d
Then create the first owner (browser wizard at http://localhost:5555, or CLI) and the dedicated MCP editor user:
docker compose -f docker/docker-compose.yml exec grampsweb \
gramps-web user add owner 'OWNER_PW' --fullname 'Owner' --role 4 docker compose -f docker/docker-compose.yml exec grampsweb \ gramps-web user add mcp 'MCP_PW' --fullname 'MCP client' --role 3
The tree named by GRAMPSWEB_TREE (default MyTree) is created on first start.
uvx gramps-evidence-mcp
That runs the server over stdio, which is how an MCP client starts it. You normally put it in the client's configuration (below) rather than running it yourself.
Secrets live in the environment; everything else in a TOML file. The TOML file therefore never contains credentials.
Set them in the client configuration, or in a .env file in the directory the server starts in (see .env.example). Real environment variables win over the file.
| Var | Meaning |
|---|---|
GRAMPS_MCP_API_URL | Base URL of gramps-webapi, e.g. http://gramps.example.org:5000 |
GRAMPS_MCP_USERNAME | The dedicated MCP user |
GRAMPS_MCP_PASSWORD | Its password |
GRAMPS_MCP_CONFIG | Path to the TOML config (default ./gramps_mcp.toml, from the working directory) |
GRAMPS_MCP_EXPOSE_PRIVATE | Override the TOML expose_private flag |
GRAMPS_MCP_TRANSPORT | stdio (default) or http — see Remote access |
GRAMPS_MCP_HOST, GRAMPS_MCP_PORT | Where http listens (default 127.0.0.1:8090) |
GRAMPS_MCP_TRANSKRIBUS_USERNAME, GRAMPS_MCP_TRANSKRIBUS_PASSWORD | Optional. A Transkribus account (Scholar plan or above), for ocr_media's handwriting routes. Both or neither. See Reading documents |
GRAMPS_MCP_TRANSKRIBUS_PAGE_BUDGET | Pages a calendar month ocr_media may send to Transkribus without the caller's per-call spend_credits. Default 0: every page asks |
GRAMPS_MCP_TRANSKRIBUS_API_URL | Transkribus' processing API (default https://transkribus.eu/processing/v1, Metagrapho v1) |
gramps_mcp.example.toml)[server]
expose_private = false # see Privacy below
[[reference]] path = "~/gedcoms/export_one.ged" label = "Ancestry (one branch)" trust = "User-built; many hints unsourced. Verify everything."
A desktop client starts the server in a directory of its own choosing, so give GRAMPS_MCP_CONFIG as an absolute path.
Claude Desktop — add to claude_desktop_config.json (on macOS, ~/Library/Application Support/Claude/):
{
"mcpServers": { "gramps": { "command": "uvx", "args": ["gramps-evidence-mcp"], "env": { "GRAMPS_MCP_API_URL": "http://gramps.example.org:5000", "GRAMPS_MCP_USERNAME": "mcp", "GRAMPS_MCP_PASSWORD": "MCP_PW", "GRAMPS_MCP_CONFIG": "/path/to/gramps_mcp.toml" } } } }
Claude Code:
claude mcp add gramps \
-e GRAMPS_MCP_API_URL=http://gramps.example.org:5000 \ -e GRAMPS_MCP_USERNAME=mcp -e GRAMPS_MCP_PASSWORD=MCP_PW \ -e GRAMPS_MCP_CONFIG=/path/to/gramps_mcp.toml \ -- uvx gramps-evidence-mcp
Any other MCP client that launches stdio servers works the same way: the command is uvx gramps-evidence-mcp, with the variables above in its environment. Restart the client after editing its configuration.
To run from a clone instead, replace uvx gramps-evidence-mcp with uv --directory /path/to/gramps-evidence-mcp run gramps-evidence-mcp.
The configuration above uses the stdio transport: the client launches the server as a local subprocess. Claude web (claude.ai) and the mobile apps can't do that — they connect to a remote server over HTTPS using the *Streamable HTTP* transport, added as a Custom Connector. Three differences to plan for:
http://192.168.1.50:5000 won't work.If you don't specifically need a browser/phone, **a desktop client already
gives you the same models with this server working locally** (stdio, no
public exposure). The steps below are only for genuine remote access.
GRAMPS_MCP_TRANSPORT=http uvx gramps-evidence-mcp
That serves the MCP endpoint at http://127.0.0.1:8090/mcp; GRAMPS_MCP_HOST and GRAMPS_MCP_PORT change where. The other GRAMPS_MCP_* variables apply as before.
Bound to a loopback address, the server accepts only requests whose Host is localhost or 127.0.0.1 — the MCP SDK's protection against DNS rebinding. A tunnel or proxy on the same machine must therefore send Host: localhost (cloudflared's httpHostHeader setting does this). In a container, bind 0.0.0.0 instead, as below, and let the container network do the isolating.
Run it in a container on the same host as Gramps Web so it talks to the API over the internal network. A minimal Dockerfile:
FROM python:3.13-slim
RUN pip install uv ENV GRAMPS_MCP_TRANSPORT=http GRAMPS_MCP_HOST=0.0.0.0 GRAMPS_MCP_PORT=8090 EXPOSE 8090 CMD ["uvx", "gramps-evidence-mcp"]
Add it to your Gramps Web compose (same network), pointing at the API by service name and reading secrets from the environment:
gramps_evidence_mcp:
build: /path/to/dockerfile-dir restart: unless-stopped environment: GRAMPS_MCP_API_URL: "http://grampsweb:5000" # internal service name GRAMPS_MCP_USERNAME: "mcp" GRAMPS_MCP_PASSWORD: "${MCP_PW}"
A reverse tunnel avoids port-forwarding and gives you TLS and a stable hostname. Any of these work:
cloudflared alongside the server and route a hostname such as https://gramps-mcp.example.org → http://gramps_evidence_mcp:8090.ngrok http 8090 for a quick throwaway test.Or terminate TLS yourself with any reverse proxy in front of port 8090.
claude.ai custom connectors speak the MCP OAuth 2.0 flow. Put an identity proxy in front of the tunnel hostname — Cloudflare Access, Authelia, oauth2-proxy and similar all tie into the OAuth flow the connector expects. The server does not authenticate callers itself; see docs/ROADMAP.md.
Settings → Connectors → Add custom connector → paste https://gramps-mcp.example.org/mcp, complete the auth prompt, and the 97 tools appear in chat. (Custom connectors require a paid Claude plan; on Team/Enterprise an admin may need to enable them.)
Security reminder: this endpoint can create, edit, and delete records in a tree containing living people. Keep it behind auth, prefer a private tunnel over an open port, and consider a Gramps Web user with a read-only role if you only need lookups r
ตัดมาแค่ช่วงต้น อ่านต่อใน repo