Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP instruction indexing server with search, CRUD, validation, and cross-repo knowledge promotion.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"index": {
"command": "npx",
"args": [
"-y",
"@jagilber-org/index-server"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add index -- npx -y @jagilber-org/index-serverวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"index": {
"command": "npx",
"args": [
"-y",
"@jagilber-org/index-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"index": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@jagilber-org/index-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub jagilber-org ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.42.4) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Governed knowledge base for AI agents via the Model Context Protocol (MCP).
🚀 [Quick Start Guide](docs/quickstart.md) — Get running in 5 minutes with HTTPS and semantic search
📖 [Use Case Scenarios](docs/use-cases.md) — Real-world examples for support engineers, dev teams, and knowledge management
Index Server is a central knowledge base that AI agents connect to via the Model Context Protocol (MCP). Agents search, read, and contribute knowledge that persists across sessions and repositories — building a governed catalog with versioning, audit trails, and approval workflows. An optional admin dashboard provides real-time monitoring of catalog health, usage analytics, and drift detection.
Index Server requires Node.js 22 or newer before using the npx or source install options. Download Node.js from nodejs.org or install it with Windows Package Manager from administrator prompt:
winget install OpenJS.NodeJS.LTS
npx (recommended)Run the latest published package without cloning the repo. Choose this when you want the fastest local start and already have Node.js installed.
Start with the setup wizard so it can generate the right MCP client config for VS Code, Copilot CLI, or Claude Desktop:
npx -y @jagilber-org/index-server@latest --setup
To launch the server directly without the wizard:
npx -y @jagilber-org/index-server@latest --dashboard
Prefer a stable `index-server` command on `PATH`? Install globally instead:
npm install -g @jagilber-org/index-server, then runindex-server --setup/index-server --dashboard. The GitHub Packages mirror requires authentication, sonpxagainstnpm.pkg.github.comneeds a per-scope.npmrcplus aGITHUB_TOKENwithread:packages.
Upgrading or hitting "unsupported INDEX_SERVER key" / "Cannot find module" errors after install? Run the wizard-driven cleanup:
index-server --uninstall(aliases:--remove,--clean). It can selectively remove data paths, MCP client entries, and the global package, or wipe everything with--non-interactive --all. See Upgrading and Uninstalling for the full reference.
Generate a self-signed TLS cert+key in one command:
# Generate at ~/.index-server/certs/, then start with HTTPS automatically
npx -y @jagilber-org/index-server@latest --init-cert --start --dashboard
--init-cert alone exits after generation. --init-cert --start continues into normal startup with the generated cert wired into --dashboard-tls automatically.
Prerequisite: openssl must be on PATH. On Windows, Git for Windows (git.exe) is the recommended TLS prerequisite because it ships an openssl build, typically at C:\Program Files\Git\usr\bin\openssl.exe. If it is missing, install Git for Windows from an admin prompt:
winget install --id Git.Git -e --source winget
See docs/cert_init.md for setup guidance, the full flag reference, security notes, and troubleshooting.
Use VS Code's built-in MCP support with .vscode/mcp.json or your global mcp.json. You can add the server entry manually or run npx -y @jagilber-org/index-server@latest --setup to generate the config for you.
Run the server in a container. Choose this when you want isolated runtime dependencies or you are preparing a container-based deployment.
docker compose up # HTTP on :8787
docker compose up tls # HTTPS on :8787 with self-signed certs
See Docker Deployment Guide for volumes, environment variables, and production configuration.
Clone and build the repository yourself. Choose this when you want to modify the server, run tests locally, or work from the latest source.
git clone https://github.com/jagilber-org/index-server.git
cd index-server npm install npm run build
After the build completes, run the interactive setup wizard to generate .env and your MCP client config:
node dist/server/index-server.js --setup
npm run setup
Best practice: set
INDEX_SERVER_DIRto a well-known data folder such asC:/mcp/index-data/instructionsor~/.index-server/instructions. Keep it outside VS Code and MCP client config paths so backups and reinstalls do not move or overwrite your catalog.
VS Code (.vscode/mcp.json)
{
"servers": { "index-server": { "type": "stdio", "command": "npx", "args": [ "-y", "@jagilber-org/index-server@latest", "--dashboard" ], "env": { "INDEX_SERVER_DIR": "C:/mcp/index-data/instructions", "INDEX_SERVER_LOG_LEVEL": "info" } } } }
Copilot CLI (~/.copilot/mcp-config.json)
{
"mcpServers": { "index-server": { "type": "stdio", "command": "npx", "args": ["-y", "@jagilber-org/index-server@latest", "--dashboard"], "env": { "INDEX_SERVER_DIR": "C:/mcp/index-data/instructions", "INDEX_SERVER_LOG_LEVEL": "info" }, "tools": ["*"] } } }
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": { "index-server": { "type": "stdio", "command": "npx", "args": ["-y", "@jagilber-org/index-server@latest", "--dashboard"], "env": { "INDEX_SERVER_DIR": "C:/mcp/index-data/instructions", "INDEX_SERVER_LOG_LEVEL": "info" }, "tools": ["*"] } } }
See MCP Configuration Guide for advanced patterns, environment variables, and TLS setup.
tools/list to see 50+ available toolsprompts/list to discover setup/config/verification promptsresources/list to discover quickstart and configuration guideshttp://localhost:8787Clients that support MCP prompts/resources can use the built-in read-only setup guidance surface:
setup_index_server, configure_index_server, verify_index_serverindex://guides/quickstart, index://guides/client-config, index://guides/verificationThese surfaces are intentionally static and read-only. Use them for setup help, config review, and verification/troubleshooting without changing server state.
Add one env variable to any MCP config above to get embedding-based similarity search:
"env": {
"INDEX_SERVER_SEMANTIC_ENABLED": "1" }
First search downloads a ~90MB model (one-time). After that, all searches automatically use semantic mode — no code changes needed. See Quick Start Guide for GPU acceleration and offline options.
Copy-paste these instructions so your AI agents discover and use the shared knowledge base automatically.
~/.github/copilot-instructions.md)## Index Server
index_search with 2-5 keywords, then index_dispatch with action="get" for details.index_add or promote from a repo with promote_from_repo.
.github/copilot-instructions.md)## Index Server Integration
index_search with relevant keywords and inspect top results.index_search → index_dispatch with action="get" and the instruction ID.instructions/ first, then promote with promote_from_repoindex_dispatch with action="groom" to clean duplicates, index_governanceUpdate to deprecate stale content
The optional admin dashboard provides a Grafana-dark themed interface for monitoring and catalog management:
| Panel | Description |
|---|---|
| Overview | Server health, uptime, system status |
| Configuration | Runtime flags, overlay editing, reload status, and redacted lifecycle-hook status |
| Instructions | Catalog browser with usage counts and governance status |
| Monitoring | Performance metrics and error rates |
| Maintenance | Backup, repair, and catalog operations |
| Graph | Mermaid dependency graph of instructions |
See dashboard.md for full details. REST client scripts (scripts/index-server-client.ps1 and scripts/index-server-client.sh) provide full CRUD access for CI pipelines and subagents without MCP — see tools.md.
| Document | Purpose |
|---|---|
| Quick Start | Get running in 5 minutes |
| Use Cases | Real-world scenarios and workflows |
| API Reference | Complete MCP tool documentation |
| MCP Configuration | Setup patterns for all environments |
| Server Configuration | Environment variables and CLI options |
| Architecture | System design and component overview |
| Lifecycle Hooks | Post-commit automation design, configuration, security, and troubleshooting |
| Admin Dashboard | UI features, drift monitoring, maintenance |
| Content Guidance | Local vs. central instruction guidance |
| Network Privacy | Network transparency and offline deployment |
| Documentation Index | Full documentation map |
Index Server makes **ze
ตัดมาแค่ช่วงต้น อ่านต่อใน repo