Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
ADR drift detection, content safety, and decision memory for architectural decisions
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
PROJECT_PATH, OPENROUTER_API_KEY, EXECUTION_MODE, ADR_DIRECTORYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"adr-analysis": {
"command": "npx",
"args": [
"-y",
"mcp-adr-analysis-server"
],
"env": {
"PROJECT_PATH": "ใส่ค่าของคุณ",
"OPENROUTER_API_KEY": "ใส่ค่าของคุณ",
"EXECUTION_MODE": "ใส่ค่าของคุณ",
"ADR_DIRECTORY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add adr-analysis --env PROJECT_PATH='ใส่ค่าของคุณ' --env OPENROUTER_API_KEY='ใส่ค่าของคุณ' --env EXECUTION_MODE='ใส่ค่าของคุณ' --env ADR_DIRECTORY='ใส่ค่าของคุณ' -- npx -y mcp-adr-analysis-serverเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"adr-analysis": {
"command": "npx",
"args": [
"-y",
"mcp-adr-analysis-server"
],
"env": {
"PROJECT_PATH": "ใส่ค่าของคุณ",
"OPENROUTER_API_KEY": "ใส่ค่าของคุณ",
"EXECUTION_MODE": "ใส่ค่าของคุณ",
"ADR_DIRECTORY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"adr-analysis": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-adr-analysis-server"
],
"env": {
"PROJECT_PATH": "ใส่ค่าของคุณ",
"OPENROUTER_API_KEY": "ใส่ค่าของคุณ",
"EXECUTION_MODE": "ใส่ค่าของคุณ",
"ADR_DIRECTORY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
PROJECT_PATH envEXECUTION_MODE envADR_DIRECTORY envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub tosin2013 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: OPENROUTER_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.14.19) เข้า registry 10 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Your ADRs are lying to you. This MCP server catches it — live drift detection validates architectural decisions against your actual code. Plus content safety, decision memory, and 63 tools powered by your host LLM via CE-MCP.
The Model Context Protocol (MCP) is an open standard that enables seamless integration between AI assistants and external tools and data sources. Think of it as a universal adapter that lets AI assistants like Claude, Cline, and Cursor connect to specialized servers. This server gives your AI assistant the ability to detect ADR drift against live code, mask sensitive content before it leaks, and remember architectural decisions across conversations.
What: MCP server that validates architectural decisions against your actual code — drift detection, content safety, and decision memory Who: AI coding assistants (Claude, Cline, Cursor, Windsurf), enterprise architects, development teams Why: Catch stale ADRs before they cause production incidents — live validation against code evidence, no API key required How: npm install -g mcp-adr-analysis-server → Add to your MCP client → Start analyzing
Key Features: Tree-sitter AST analysis • Security content masking • Drift detection • CE-MCP orchestration directives • Deployment readiness validation
Key Terms
| Term | Definition |
|---|---|
| ADR | Architectural Decision Record — A document that captures an important architectural decision along with its context, alternatives considered, and consequences. |
| MCP | Model Context Protocol — An open standard enabling AI assistants to connect to external tools and data sources. |
| CE-MCP | Claude-Enriched MCP — Execution mode where tools return orchestration directives for the host LLM instead of making their own AI calls. Default since v2.14. |
| Tree-sitter | An incremental parsing library that provides AST (Abstract Syntax Tree) analysis for 50+ languages. Used for semantic code understanding, extracting function signatures, and identifying architectural patterns. |
| Session & Tool-Usage Tracker | Project-local tracking of session intents, tool executions, and ADR registrations, with keyword-scored retrieval over JSON snapshots. Supports workflow continuity and tool-usage evidence — not a graph database. |
| Smart Code Linking | Discovery of code files related to ADRs and architectural decisions, using keyword extraction and ripgrep search. |
| ADR Aggregator | Optional SaaS integration for syncing and sharing ADR context across teams (ADR_AGGREGATOR_API_KEY). |
Author: Tosin Akinosho | Repository: GitHub | Version: 2.14.12
🔄 Drift Detection - Validate ADR decisions against live code and infrastructure evidence 🛡️ Content Safety - Detect and mask secrets, PII, and sensitive content automatically 🧠 Decision Memory - Session & tool-usage tracking with keyword-scored retrieval 🏗️ Technology Detection - Identify any tech stack and architectural patterns 📋 ADR Management - Generate, suggest, and maintain Architectural Decision Records 🔗 Smart Code Linking - Discovery of code files related to ADRs and decisions 🚀 Deployment Readiness - Zero-tolerance test validation with hard blocking
📖 [View Full Capabilities →](docs/explanation/index.md) · 📜 [Release policy →](RELEASES.md) · 🗒️ [Changelog →](CHANGELOG.md)
Before installing, verify you have:
node --version # Should show v20.0.0 or higher
npm --version # Should show 9.0.0 or higher (included with Node.js 20+)
Required:
npm install for native module compilation (tree-sitter incremental code parsers for YAML and TypeScript)HTTP_PROXY and HTTPS_PROXY environment variables# Option 1: Global installation (recommended for frequent use)
npm install -g mcp-adr-analysis-server
npx mcp-adr-analysis-server
git clone https://github.com/tosin2013/mcp-adr-analysis-server.git cd mcp-adr-analysis-server && npm install && npm run build
curl -sSL https://raw.githubusercontent.com/tosin2013/mcp-adr-analysis-server/main/scripts/install-rhel.sh | bash
Note: When installing from source,
npm run buildis required before running the server since thebinentry points to./dist/src/index.js.
📖 [Detailed Installation Guide →](docs/tutorials/01-first-steps.md) | [RHEL Setup →](scripts/install-rhel.sh)
npm install -g mcp-adr-analysis-server{
"mcpServers": { "adr-analysis": { "command": "mcp-adr-analysis-server", "env": { "PROJECT_PATH": "/path/to/your/project" } } } }
That's it. The server runs in CE-MCP mode by default — your host LLM (Claude, GPT, etc.) executes the analysis using orchestration directives returned by the tools. No external API key needed.
Claude Desktop users: Save this JSON to
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows).
Config locations for other clients
| Client | Config file location |
|---|---|
| Claude Desktop (macOS) | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Claude Desktop (Windows) | %APPDATA%\Claude\claude_desktop_config.json |
| Cline (VS Code) | VS Code Settings → Cline → MCP Servers (or .vscode/cline_mcp_settings.json) |
| VS Code (native MCP) | .vscode/mcp.json in workspace root |
| Cursor | Cursor Settings → MCP → Add Server |
📖 [VS Code Integration Guide →](docs/how-to-guides/vscode-integration.md) — step-by-step setup for Cline, Continue, and VS Code native MCP with example configs.
Optional: OpenRouter Full Mode (legacy)
If you want the server to make its own AI calls (bypassing the host LLM), add an OpenRouter API key:
{
"mcpServers": { "adr-analysis": { "command": "mcp-adr-analysis-server", "env": { "PROJECT_PATH": "/path/to/your/project", "OPENROUTER_API_KEY": "your_key_here", "EXECUTION_MODE": "full" } } } }
Sign up at OpenRouter.ai/keys. This mode is not recommended — CE-MCP produces equivalent results using your existing host LLM context.
Optional: ADR Aggregator integration
{
"mcpServers": { "adr-analysis": { "command": "mcp-adr-analysis-server", "env": { "PROJECT_PATH": "/path/to/your/project", "ADR_AGGREGATOR_API_KEY": "agg_your_key_here" } } } }
Get your API key at adraggregator.com
📖 [Full Configuration Guide →](docs/reference/mcp-client-config.md) | [Client Setup →](docs/reference/environment-config.md)
| CE-MCP (default) | Full Mode (legacy) | Prompt-Only | |
|---|---|---|---|
| Requires API key? | No | Yes (OPENROUTER_API_KEY) | No |
| Returns | Orchestration directives for the host LLM to execute | Server-side AI analysis results | Prompts you can paste into any AI chat |
| Set via | Default (no env var needed) | EXECUTION_MODE=full | EXECUTION_MODE=prompt-only |
| Best for |
ตัดมาแค่ช่วงต้น อ่านต่อใน repo