Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for Rustpad, the self-hosted collaborative text editor
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
RUSTPAD_URL, RUSTPAD_READ_ONLY, RUSTPAD_INSECURE_TLS, RUSTPAD_ALLOW_TOOLS, RUSTPAD_DENY_TOOLSต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"rustpad": {
"command": "npx",
"args": [
"-y",
"rustpad-mcp"
],
"env": {
"RUSTPAD_URL": "ใส่ค่าของคุณ",
"RUSTPAD_READ_ONLY": "ใส่ค่าของคุณ",
"RUSTPAD_INSECURE_TLS": "ใส่ค่าของคุณ",
"RUSTPAD_ALLOW_TOOLS": "ใส่ค่าของคุณ",
"RUSTPAD_DENY_TOOLS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add rustpad --env RUSTPAD_URL='ใส่ค่าของคุณ' --env RUSTPAD_READ_ONLY='ใส่ค่าของคุณ' --env RUSTPAD_INSECURE_TLS='ใส่ค่าของคุณ' --env RUSTPAD_ALLOW_TOOLS='ใส่ค่าของคุณ' --env RUSTPAD_DENY_TOOLS='ใส่ค่าของคุณ' -- npx -y rustpad-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"rustpad": {
"command": "npx",
"args": [
"-y",
"rustpad-mcp"
],
"env": {
"RUSTPAD_URL": "ใส่ค่าของคุณ",
"RUSTPAD_READ_ONLY": "ใส่ค่าของคุณ",
"RUSTPAD_INSECURE_TLS": "ใส่ค่าของคุณ",
"RUSTPAD_ALLOW_TOOLS": "ใส่ค่าของคุณ",
"RUSTPAD_DENY_TOOLS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"rustpad": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"rustpad-mcp"
],
"env": {
"RUSTPAD_URL": "ใส่ค่าของคุณ",
"RUSTPAD_READ_ONLY": "ใส่ค่าของคุณ",
"RUSTPAD_INSECURE_TLS": "ใส่ค่าของคุณ",
"RUSTPAD_ALLOW_TOOLS": "ใส่ค่าของคุณ",
"RUSTPAD_DENY_TOOLS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
RUSTPAD_READ_ONLY envRUSTPAD_INSECURE_TLS envRUSTPAD_ALLOW_TOOLS envRUSTPAD_DENY_TOOLS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub ni-c ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: RUSTPAD_URL
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.0) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js, Docker ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Zendesk
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.
Zendesk MCP Pack — tickets, users, organizations via OAuth.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A Model Context Protocol (MCP) server for Rustpad, the efficient, minimal, self-hosted collaborative text editor.
Lets MCP clients like Claude Code, Claude Desktop or Codex read and write the pads of a Rustpad instance: fetch a document, create one, replace it wholesale or edit it in place.
Eight tools is the ceiling, not the floor: RUSTPAD_ALLOW_TOOLS=essential registers a curated five instead, and a model picks the right tool far more reliably from five than from eight — see choosing which tools load.
Reads go through Rustpad's HTTP API; writes speak the operational-transformation WebSocket protocol, so targeted edits (append_to_document, replace_in_document) merge cleanly with what human collaborators type at the same time instead of overwriting it. While the server edits a pad, it is visible to everyone in the pad as a collaborator named rustpad-mcp.
The two edits that cannot be undone ask a person. Where the client supports MCP elicitation, replacing a non-empty pad and search-replacing across more than one match raise a real dialog that the model cannot answer on its behalf — and the replace_in_document one says how many places are about to change. Where it does not, they fall back to a two-call token, and say so rather than implying somebody approved. ELICITATION=false takes that fallback deliberately; it never removes the guard. See Asking a person.
Real OT edits, not overwrites. append_to_document and replace_in_document retain everything they do not touch, and the Rustpad server transforms concurrent edits — a human typing in the same pad at the same moment loses nothing. The model shows up in the pad as a named collaborator.
Built for an unauthenticated world. Rustpad has no accounts, so every pad is untrusted by definition. Everything that comes out of one — reads, metadata, even upstream error bodies — is explicitly marked as data, never instructions, before a model sees it.
| Variable | Required | Description |
|---|---|---|
RUSTPAD_URL | yes | Base URL of the instance, e.g. https://rustpad.example.net |
RUSTPAD_READ_ONLY | no | true, 1 or yes registers only the read tools |
RUSTPAD_INSECURE_TLS | no | true accepts self-signed certificates (scoped to this connection only) |
RUSTPAD_ALLOW_TOOLS | no | Comma-separated tool names, list_* prefixes, or essential for a curated preset |
RUSTPAD_DENY_TOOLS | no | Same syntax; removed from whatever RUSTPAD_ALLOW_TOOLS left |
ELICITATION | no | false replaces the approval dialog with the two-call token. Not prefixed |
The same URL serves the HTTP API, the WebSocket endpoint and the share links returned by the tools ( /# ). The RUSTPAD_* booleans must be exactly true. The server starts and lists its tools without configuration; every call then fails with setup instructions.
ELICITATION is the odd one out twice over: it carries no prefix, so it reaches every MCP server in the same environment, and a value that is neither true nor false stops the server rather than falling back — it is the only variable here that defaults to _on_, and a typo would otherwise leave the dialog running while you believed it was off. A server started with it off prints one line saying so.
Keep in mind what Rustpad is: pads are ephemeral (lost on server restart and after 24 hours of inactivity, unless the instance is run with SQLITE_URI) and anyone who knows a pad id can read and write it. Do not put secrets in pads.
RUSTPAD_ALLOW_TOOLS and RUSTPAD_DENY_TOOLS take comma-separated tool names; a trailing * matches a whole family. essential is a curated preset of five: get_document, get_document_info, create_document, set_document, append_to_document.
RUSTPAD_ALLOW_TOOLS=essential
RUSTPAD_ALLOW_TOOLS=get_document,append_to_document RUSTPAD_DENY_TOOLS=set_document
One boundary is softer than the list suggests: Rustpad has no create operation, a pad exists under any id the moment it is written to, so denying create_document does not stop new pads — set_document or append_to_document on a fresh id makes one just the same. Deny the write tools you mean, or use RUSTPAD_READ_ONLY.
An entry that matches no tool aborts startup and names it, so a typo cannot silently hide a tool — an absent tool is not something anyone traces back to an environment variable. A filtered tool is never registered, so it is absent from tools/list and unknown to tools/call alike, exactly like a write tool under RUSTPAD_READ_ONLY.
If you run several of these servers at once, mcp-hub is the other answer — its /hub endpoint replaces every server's tools with six meta-tools.
claude mcp add rustpad --env RUSTPAD_URL=https://rustpad.example.net -- npx rustpad-mcp
{
"mcpServers": { "rustpad": { "command": "npx", "args": ["rustpad-mcp"], "env": { "RUSTPAD_URL": "https://rustpad.example.net" } } } }
~/.codex/config.toml:
[mcp_servers.rustpad]
command = "npx" args = ["-y", "rustpad-mcp"]
[mcp_servers.rustpad.env] RUSTPAD_URL = "https://rustpad.example.net"
docker run -i --rm -e RUSTPAD_URL=https://rustpad.example.net ghcr.io/ni-c/rustpad-mcp
A client that cannot spawn a local process — ChatGPT connectors, Claude on the web, Cursor, LibreChat — reaches rustpad-mcp through mcp-hub: one container serves many stdio MCP servers over Streamable HTTP, with an OAuth 2.1 login behind a single password and long-lived tokens for the clients that cannot do OAuth. Its /hub endpoint puts every server behind six meta-tools, so one connector reaches all of them without N×tool schemas in the model's context, and it speaks both protocol revisions — a question this server asks travels through it to the person at the far end.
Its /config/mcp.json uses Claude Code's format, so the entry is the one you already have:
{
"mcpServers": { "rustpad": { "command": "npx", "args": ["-y", "rustpad-mcp"], "env": { "RUSTPAD_ALLOW_TOOLS": "essential" }, "denyTools": ["set_document"] } } }
allowTools and denyTools there are the hub's own per-server filter, which is not the same thing as *_ALLOW_TOOLS in env — the difference, and the mistake it invites, are in the client guide.
| Tool | Description |
|---|---|
get_document | Read the plain-text content of a pad |
get_document_info | Content length, revision, language and the users editing right now |
get_stats | Server statistics (uptime, number of documents) |
create_document | Create a pad (random or chosen id), optionally with content and language |
set_document 👤 | Replace the entire content — a non-empty pad asks a person first |
append_to_document | Append text; concurrent edits elsewhere survive |
replace_in_document 👤 | Exact search & replace via OT; asks when it changes more than one place |
set_language | Set the Monaco syntax-highlighting language |
👤 asks a person through MCP elicitation · falls back to a two-call confirm_token where the client cannot show a dialog.
With RUSTPAD_READ_ONLY=true only the first three are registered.
Every tool declares an outputSchema and answers with structuredContent alongside the text block, so a client can use the result without parsing prose. The five write tools used to answer with a sentence — _"Appended 12 characters to pad …"_ — and the sentence is still there, in the text block:
{
"id": "notes", "url": "https://rustpad.example/#notes", "appended_characters": 12, "characters": 137, "note": "Pads are ephemeral: …", }
get_document answers {text} rather than the pad as the whole result, for the same reason get_document_info has always been an object: a schema whose root is a string is served to a 2025-era client rewritten as {result: …}, so the tool would answer in two shapes depending on who asked. It is also where empty and truncated can live — an empty answer used to be a sentence.
The two read tools that report pad content carry untrusted: true and source: "rustpad" as fields. A pad is world-writable to anyone who knows its id, including text this server wrote earlier, and a client that reads the structured half would otherwise get it with no framing at all.
No pad listing — Rustpad has no such API. Pads exist implicitly under every id, so you have to know the ids you care about. get_stats reports how many documents the server currently holds, but not their names.
No accounts, no permissions. Rustpad has neither, which is why every pad is treated as untrusted input rather than as something a login vouched
ตัดมาแค่ช่วงต้น อ่านต่อใน repo