Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Freedom-of-information requests for Germany via FragDenStaat.de, the froide FOI portal.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
FDS_MCP_BASE_URL, FDS_TOKENค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"fds": {
"command": "uvx",
"args": [
"fds-mcp"
],
"env": {
"FDS_MCP_BASE_URL": "ใส่ค่าของคุณ",
"FDS_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add fds --env FDS_MCP_BASE_URL='ใส่ค่าของคุณ' --env FDS_TOKEN='ใส่ค่าของคุณ' -- uvx fds-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"fds": {
"command": "uvx",
"args": [
"fds-mcp"
],
"env": {
"FDS_MCP_BASE_URL": "ใส่ค่าของคุณ",
"FDS_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"fds": {
"type": "stdio",
"command": "uvx",
"args": [
"fds-mcp"
],
"env": {
"FDS_MCP_BASE_URL": "ใส่ค่าของคุณ",
"FDS_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
FDS_MCP_BASE_URL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub notDIRK ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: FDS_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Foliosio
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 your support inbox, tag conversations and save draft replies from your AI agent. Never sends.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An [MCP](https://modelcontextprotocol.io) server for [FragDenStaat.de](https://fragdenstaat.de), the German freedom-of-information platform built on [froide](https://github.com/okfde/froide).
*Deutsche Fassung*
Prepare a German freedom-of-information request by asking for it in plain language. Your assistant finds the authority that has to answer and proves why it is the right one, names the act that applies and the deadline it sets, tracks the requests you already sent, collects the replies and their attachments, and writes a new request to a local file that you read before anything leaves your machine.
MCP, the Model Context Protocol, is the standard that lets an AI assistant use outside tools — roughly what an extension does for a browser. fds-mcp is one such tool. Install it once and Claude, or any other MCP client, gains 15 tools that speak to FragDenStaat.de, the German freedom-of-information platform built on froide.
Four of them need no account and no token: searching authorities, reading an act, and working out who is responsible for a given place all work straight away.
froide is the Django software underneath FragDenStaat.de, and its own README names a second production portal: fragdenstaat.at. Point this server at one with
export FDS_MCP_BASE_URL=https://fragdenstaat.at
Only https origins without a path or credentials are accepted, and the host allowlist that keeps the bearer token from following a link to a stranger is derived from this value — so with .at configured, fragdenstaat.de is a foreign host and is refused.
What that buys you, measured against fragdenstaat.at on 2026-09-05 and kept as live tests:
search_authorities, get_authority, get_law | work, with no account |
check_jurisdiction | cannot work there — /api/v1/georegion/ holds 0 rows on .at against 24,216 on .de. Nothing this client can fix |
| the token-bound tools | need an OAuth application registered on that instance |
| the pre-send rule set | encodes German FOI law and is not portable. Treat submitting through another instance as unverified |
You: Who has to answer a freedom-of-information request about the city of Bonn, and
under which act?
The assistant calls
check_jurisdiction("Bonn"), gets the region chain and
Kommunalverwaltung Bonn(authority 3495), thenget_authority(3495)for the acts that
apply and their deadlines — and reports the API URLs it used, so you can check the answer
instead of believing it.
Submitting is possible too, but it is deliberately the hardest thing this server does.
POST /api/v1/request/ sends immediately and irreversiblyFragDenStaat's REST API has no draft mode, no preview and no undo. The moment a POST /api/v1/request/ succeeds, the e-mail is on its way to the authority, the request is public (by default) under CC0, and it cannot be recalled.
Worse, MakeRequestSerializer has no `law_type` field. The API therefore always files under publicbody.default_law, and because froide sorts by ("-meta", "-priority") that is almost always the *combined meta act* — not the specific act you meant. For a municipality in Rhineland-Palatinate, asking for the LTranspG (law 16) through the API silently files under "LTranspG, VIG" (law 18) instead.
Because of this, the recommended exit of this server is `build_submit_url`, which hands you a prefilled web form with the correct law_type and lets you press send yourself. submit_request exists, defaults to dry_run=True, and refuses unless five independent gates all agree — see Safety model.
pip install fds-mcp
Or run it without installing anything, straight from PyPI:
uvx fds-mcp serve
From a checkout, for development:
git clone https://github.com/notDIRK/fds-mcp.git
cd fds-mcp pip install -e ".[dev]"
Requires Python 3.10 or newer.
The server speaks stdio. For Claude Code:
claude mcp add fds -- fds-mcp serve
For a client that reads a JSON config:
{
"mcpServers": { "fds": { "command": "fds-mcp", "args": ["serve"] } } }
Or without installing it at all:
{
"mcpServers": { "fds": { "command": "uvx", "args": ["fds-mcp", "serve"] } } }
The four green tools work immediately, with no account and no token.
The yellow and red tools need an OAuth 2.0 bearer token. FragDenStaat supports exactly two authentication schemes for its API — OAuth2 and session cookies. There is no personal API key and no Basic Auth (froide's own docs/api.rst claims otherwise; it is out of date).
Log in and open https://fragdenstaat.de/account/applications/register/. All account pages are protected by recent_auth_required, so you may be asked for your password again.
| Field | Value |
|---|---|
| Name | anything, e.g. fds-mcp |
| Client type | public (PKCE is then mandatory) |
| Authorization grant type | authorization-code |
| Redirect URI | https://localhost:8765/callback |
Only the schemes `https` and `fragdenstaat` are accepted. http://localhost/... is rejected at registration time — this is OAUTH2_PROVIDER.ALLOWED_REDIRECT_URI_SCHEMES on the server. That is why the default redirect is an HTTPS loopback listener with a self-signed certificate that fds-mcp generates for you (via openssl), and why the fallback is fragdenstaat://callback with a manual paste.
fds-mcp configure --client-id <your-client-id>
fds-mcp login
login runs Authorization Code + PKCE (S256), opens your browser, and catches the redirect on https://localhost:8765/callback. Your browser will warn about the self-signed certificate — that is the local listener; accept it.
Without a browser or without openssl:
fds-mcp login --manual # uses fragdenstaat://callback, you paste the URL back
Tokens land in ~/.config/fds-mcp/tokens.json with mode 0600. Refresh happens automatically; refresh tokens are valid for 180 days.
fds-mcp status # config, token and throttle state
fds-mcp whoami # the authenticated account fds-mcp logout --revoke
fds-mcp requests read:user read:request make:request by default. Override with fds-mcp configure --scopes "read:user read:request" if you never want to submit.
| Scope | Needed for |
|---|---|
read:user | identifying your own account (/api/v1/user/) |
read:request | your own, including non-public, requests |
make:request | POST /api/v1/request/ — submitting |
write:message, write:attachment | documenting postal mail (not yet implemented) |
Nothing here grants deletion. If you drop make:request, submit_request can never work, and everything else still does.
| Tool | Tier | Auth | Side effect |
|---|---|---|---|
search_authorities(query, jurisdiction=None, limit=20) | 🟢 green | none | none |
get_authority(id) | 🟢 green | none | none |
get_law(id) | 🟢 green | none | none |
check_jurisdiction(place_name) | 🟢 green | none | none |
list_my_requests(status=None, limit=50) | 🟡 yellow | token, read only | none |
get_request(id) | 🟡 yellow | token, read only | none |
get_messages(request_id) | 🟡 yellow | token, read only | none |
list_attachments(message_id) | 🟡 yellow | token, read only | none |
download_attachment(attachment_id, target_dir) | 🟡 yellow | token, read only | writes a local file |
check_deadlines() | 🟡 yellow | token, read only | none |
build_reply_draft(request_id, text, subject=None, path=None) | 🟡 yellow | token, read only | writes a local YAML file if path is given |
create_request_draft(...) | 🔴 red | none | writes a local YAML file, no network at all |
validate_draft(path) | 🔴 red | none | reads the API for L01–L05 |
build_submit_url(path) | 🔴 red | none | writes a local .body.txt sidecar |
submit_request(path, confirmation_token) | 🔴 red | token + make:request | sends the request, irreversibly |
send_reply_via_browser(draft_path, confirmation_token) | 🔴 red, opt-in | a logged-in browser profile | sends the reply, irreversibly |
All four red tools take dry_run: bool = True.
send_reply_via_browser is the sixteenth tool and is not registered unless FDS_MCP_BROWSER_SEND=1 is set. Without that variable it does not appear in the tool list at all. Read Sending replies before you switch it on.
check_jurisdiction returns its evidenceIt walks /georegion/?name= up its part_of chain and asks /publicbody/?regions= at every level, then returns the region chain, the matching authorities, and the list of API URLs it used. That matters in Rhineland-Palatinate, where an *Ortsgemeinde* is often not listed on FragDenStaat at all while the *Verbandsgemeindeverwaltung* that administers it is.
build_submit_url is two-step for long requestsMeasured on 2026-09-05: fragdenstaat.de answers GET URLs above roughly 4096 bytes with HTTP 400 (4086 bytes → 200, 4106 bytes → 400). A typical 4000-character request exceeds that once URL-encoded. Above the limit the tool returns a short URL that prefills subject and law_type, plus the body in a .body.txt file next to your draft, which you paste into the form.
These are frontend-only, with no REST equivalent. The server does not pretend otherwise:
POST /api/v1/message/ only creates *postal* messages (OnlyPostalMessagesWritable), and subject/content are read-only serializer fields. E-mail replies go through /anfrage/ /send/message/, a CSRF-protected Django view that ignores bearer tokens. See Sending replies;law_type in the serializer;RequestDraft is not registered in the API router;An e-mail reply to an authority cannot be sent through the FragDenStaat API. Not with a different payload, not with an extra scope, not with a better token. Three measurements, taken on 2026-09-05 and kept honest by tests/test_api_contract.py:
POST /api/v1/message/ with kind: "email" answers HTTP 400 and reports, under the key kind: *"Nachrichten dieser Art können nicht über die API erstellt werden."* That is froide's OnlyPostalMessagesWritable.kind: "post" also answers 400 — the probe deliberately carries an unresolvable request URI, so nothing can be created either way — but it carries no `kind` error. That is the calibration. Without it the first measurement would prove nothing: a 400 could just as well come from the invalid URI, from the eตัดมาแค่ช่วงต้น อ่านต่อใน repo