Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Risk preflight for AI Agent tool actions and Polymarket settlement and execution checks.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
X-404-Agent-ID, X-404-Sourceต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"404-directory": {
"command": "npx",
"args": [
"-y",
"@mmvv1638/404-directory-mcp",
"--source",
"official-registry"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http 404-directory https://404.directory/mcp --header 'X-404-Agent-ID: ใส่ค่าของคุณ' --header 'X-404-Source: ใส่ค่าของคุณ'claude mcp add 404-directory -- npx -y @mmvv1638/404-directory-mcp --source official-registryเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"404-directory": {
"url": "https://404.directory/mcp",
"headers": {
"X-404-Agent-ID": "ใส่ค่าของคุณ",
"X-404-Source": "ใส่ค่าของคุณ"
}
}
}
}วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"404-directory": {
"command": "npx",
"args": [
"-y",
"@mmvv1638/404-directory-mcp",
"--source",
"official-registry"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"404-directory": {
"type": "http",
"url": "https://404.directory/mcp",
"headers": {
"X-404-Agent-ID": "ใส่ค่าของคุณ",
"X-404-Source": "ใส่ค่าของคุณ"
}
}
}
}วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"404-directory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mmvv1638/404-directory-mcp",
"--source",
"official-registry"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
X-404-Agent-ID จำเป็น HTTP headerX-404-Source HTTP headerค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub MM-sheng ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: X-404-Agent-ID
ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.10.3) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Master CSS
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.
Inspect Master CSS classes, generated CSS, and project stylesheets from your AI client.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Risk preflight for AI Agent actions.
Before an AI Agent uses a third-party tool, 404.directory checks the available evidence and returns an allow, review, or block decision.
For developers connecting Agents to external tools who want an explicit risk check before execution. This is an experimental preflight service; its decision depends on the available evidence.
[Connect your Agent](https://404.directory/connect?source=github) using Codex, Cursor, Claude Code, or the MCP SDK.
The tool workflow is:
A proposed third-party tool action
→ provider verification + live checks + available usage evidence → allow / review / block
Use evaluate_tool_risk for a registered third-party tool action. The separate evaluate_prediction_market workflow checks settlement wording, timing, public order-book liquidity, caller-observed eligibility, and execution mode. It does not predict the winner or place an order.
Official documentation search, deployment verification, and the curated read-only MCP gateway are supporting capabilities. See Product layers for the complete API map.
Trying it for the first time? Join the first-10 activation pilot and report your client, task category, and failure stage.
Agent-readable installation instructions: llms-install.md
Install the Agent Skill in Codex, Claude Code, Cursor, Cline, or another Agent Skills client:
npx skills add MM-sheng/404-directory --skill use-404-directory -g -y
The repository also conforms to Agent Plugins 1.0: compatible clients discover the Agent Skill from skills/ and an identity-preserving bridge to the hosted Streamable HTTP server from the root mcp.json. The bridge creates one random ID in the client-managed PLUGIN_DATA directory. The raw ID stays local; the service stores only an HMAC digest after a successful tool call.
Claude Code and Cowork use the native manifest in .claude-plugin/. It loads the same Skill and identity-preserving bridge with Claude's persistent plugin data directory, so updates keep the installation identity stable.
Install it directly in Claude Code while the official directory submission is under review:
/plugin marketplace add MM-sheng/404-directory
/plugin install 404-directory@404-directory
| Layer | Purpose | Surface |
|---|---|---|
| First-party execution | Run first-party tools in this process | GET /tools, POST /understand, POST /verify/web, MCP tools |
| Curated remote execution | Search and call approved read-only remote MCP tools | MCP search_official_docs / inspect_tool_server / invoke_registered_tool |
| Ecosystem catalog + trust | Register / verify / trust / search third-party tools | /v1/*, MCP search_tools / get_tool / compare_tools / get_trust_score |
| Contextual risk preflight | Decide whether an Agent should proceed now | MCP evaluate_tool_risk / report_tool_outcome, REST /v1/evaluations/* |
| Prediction-market preflight | Check settlement and execution risk before action | MCP evaluate_prediction_market / report_prediction_market_outcome, REST /v1/prediction-markets/evaluations/* |
The current product is intentionally narrow: preflight one prediction-market decision or one registered third-party tool action, then capture a bounded outcome. Future identity, reputation, guarantee, and insurance layers remain hypotheses until real external Agent usage validates them.
| Tool | Endpoint | When to use |
|---|---|---|
understand_webpage | POST /understand | Understand an ordinary webpage (entities, state, actions) with no Agent-native API |
verify_web | POST /verify/web | Independently verify a public site after a deploy/update claim |
/v1)Requires a catalog backend (DATABASE_URL Postgres, or in-memory fallback when CATALOG_MEMORY_FALLBACK=true).
# Bootstrap admin token (required in production; auto-generated in local/dev)
export REGISTRY_ADMIN_TOKEN=change-me-to-a-long-secret
curl -sS http://127.0.0.1:4040/v1/tools \ -H 'content-type: application/json' \ -H "authorization: Bearer $REGISTRY_ADMIN_TOKEN" \ -d '{ "name":"btc_analyzer", "description":"Analyze BTC market signals for agents", "capabilities":["btc","market-analysis"], "protocol":"mcp", "endpoint":"https://example.com/mcp", "category":"finance", "provider":{"name":"Example Labs","identity":{"type":"domain","value":"example.com"}} }'
curl -sS 'http://127.0.0.1:4040/v1/tools/search?capability=btc&trust_threshold=0.2'
curl -sS http://127.0.0.1:4040/v1/tools/btc_analyzer/trust
Catalog keyword search uses catalog-lexical-v2 in both memory and PostgreSQL. Try q=official%20documentation or q=OpenAI%20docs; words need not be adjacent. All meaningful terms must match across the name, description, capabilities, category or provider. Exact names rank first, then lexical relevance, existing trust evidence and usage. Capability/protocol/category/trust filters remain mandatory, and public search still excludes quarantined and suspended tools.
No matches returns count: 0, search.result_status: "no_matches", and a recovery step pointing to MCP list_capabilities / REST /v1/capabilities. An empty MCP search is a valid response, but is recorded as no_matches rather than a successful Agent activation. It does not mean the task is impossible. Search neither executes tools nor proves they are safe; preflight the exact chosen slug. See search semantics and acceptance results.
Trust Profile dimensions (v1 algorithm, extensible factors JSON):
overall_scoreContextual preflight is available through POST /v1/evaluations; public receipts are readable at GET /v1/evaluations/:id. One bounded outcome can be attached through POST /v1/evaluations/:id/outcome using the one-time token returned at evaluation time. Only the token hash is stored, and self-reported outcomes never directly increase Trust. The older generic POST /v1/receipts remains disabled because unbound anonymous submissions would poison Trust.
Copy-ready Agent trigger policy and examples: docs/AGENT_RISK_PREFLIGHT.md
Privacy-safe product validation is public at GET /v1/metrics/risk-evaluations: evaluation volume, decision distribution, outcome-report rate, and behavior-change rate, without prompts or raw identity.
The prediction-market workflow is documented at docs/PREDICTION_MARKET_PREFLIGHT.md. Its privacy-safe aggregate metrics are available at GET /v1/metrics/prediction-market-evaluations.
When the catalog is enabled, MCP also exposes:
evaluate_prediction_marketreport_prediction_market_outcomeevaluate_tool_riskreport_tool_outcomesearch_toolsget_toolcompare_toolsget_trust_scorerecommend_toolslist_capabilitiesget_capability_graphsearch_official_docsinspect_tool_serverinvoke_registered_toolalongside the existing executable tools.
evaluate_prediction_market is the primary first-use path: one call evaluates an exact Polymarket market for settlement, liquidity, eligibility, and execution risk without predicting or trading. evaluate_tool_risk is the second wedge, used before an Agent installs or invokes an unfamiliar third-party tool. search_official_docs remains a supporting path and returns bounded first-party citations instead of raw provider indexes. Arbitrary URLs, authenticated servers, non-active entries, unverified providers, and destructive tools are rejected. Remote results are bounded and explicitly marked as untrusted data.
Clients that expose MCP Prompts also receive four task-oriented starting points:
preflight-prediction-market — turns an exact market and contemplated action into an evaluate_prediction_market call;evaluate-agent-tool — finds a catalog candidate, calls the contextual risk preflight, and requires an allow, review, or block result;research-official-docs — turns a real technical question into a search_official_docs call;verify-public-deployment — turns a concrete public deployment claim into a verify_web call.Rendering or opening a prompt never counts toward the 1,000-Agent target. Each template explicitly requires a non-error tool result that materially answers the user's task. The server records only aggregate prompts/list and prompts/get activation stages, never prompt arguments or task text.
MCP prompt arguments are strings. evaluate-agent-tool requires an explicit permissions argument, for example "public_network,credentials" or the JSON array string '["public_network","credentials"]'. Use "[]" only when the action requires no permissions. Missing, malformed, and unknown permissions are rejected rather than silently treated as safe. This string encoding is for prompts/get only; evaluate_tool_risk still accepts a JSON array.
For direct trading-Agent integration, see docs/AGENT_INTEGRATION_QUICKSTART.md. The privacy-safe first-10 cohort process is documented in docs/FIRST_10_AGENT_PILOT.md.
Agents can explore shared-capability edges and get related-tool recommendations:
curl -sS http://127.0.0.1:4040/v1/capabilities | jq
curl -sS http://127.0.0.1:4040/v1/graph/capabilities | jq '.edges[:3]' curl -sS http://127.0.0.1:4040/v1/tools/verify_web/related | jq
Similarity is Jaccard over capability sets, with small boosts for matching protocol/category (cap_v1). This is the seed of the long-term Capability Graph.
npm install
npx playwright install chromium cp .env.example .env npm run dev
Default: http://127.0.0.1:4040
With Postgres:
docker compose up -d postgres
export DATABASE_URL=postgres://404:404@127.0.0.1:5432/404 npm run db:migrate npm run dev
On boot, first-party tools are seeded into the catalog (SEED_FIRST_PARTY_TOOLS=true) so GET /v1/tools/search?capability=web-verification returns verify_web. The six operator-reviewed public MCP servers are also seeded as pending entries when SEED_CURATED_MCP_SERVERS=true. The verification worker performs live MCP admission before they become discoverable or executable.
VERIFICATION_WORKER_MODE=inline (loop inside HTTP process)export VERIFICATION_WORKER_MODE=external
npm run worker:verify
`
ตัดมาแค่ช่วงต้น อ่านต่อใน repo