Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Governed graph-native agent memory: knowledge extraction, fusion, hybrid RAG, scoped access tokens.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
GCTRL_GATEWAY_URL, GCTRL_API_URL, GCTRL_API_TOKENค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"gctrl": {
"command": "npx",
"args": [
"-y",
"gctrl-mcp"
],
"env": {
"GCTRL_GATEWAY_URL": "ใส่ค่าของคุณ",
"GCTRL_API_URL": "ใส่ค่าของคุณ",
"GCTRL_API_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add gctrl --env GCTRL_GATEWAY_URL='ใส่ค่าของคุณ' --env GCTRL_API_URL='ใส่ค่าของคุณ' --env GCTRL_API_TOKEN='ใส่ค่าของคุณ' -- npx -y gctrl-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"gctrl": {
"command": "npx",
"args": [
"-y",
"gctrl-mcp"
],
"env": {
"GCTRL_GATEWAY_URL": "ใส่ค่าของคุณ",
"GCTRL_API_URL": "ใส่ค่าของคุณ",
"GCTRL_API_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"gctrl": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gctrl-mcp"
],
"env": {
"GCTRL_GATEWAY_URL": "ใส่ค่าของคุณ",
"GCTRL_API_URL": "ใส่ค่าของคุณ",
"GCTRL_API_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
GCTRL_GATEWAY_URL envGCTRL_API_URL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub GCTRL-TECH ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GCTRL_API_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.2.0) เข้า 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Exposes Ground Control's knowledge management as MCP tools for Claude and other AI agents.
| Tool | Description |
|---|---|
gctrl_extract | Extract knowledge from text → Neo4j entities + Qdrant vectors |
gctrl_query | Ask questions about knowledge graphs (hybrid RAG) |
gctrl_search_entities | Search for specific entities by name/type |
gctrl_list_graphs | List all knowledge graph compilations |
gctrl_fuse | Merge extraction jobs into unified graphs |
gctrl_list_ontologies | List available ontologies |
gctrl_list_extractions | List recent extraction jobs |
gctrl_store | Store knowledge (like Obsidian notes, but with KG extraction) |
gctrl_schema | Get the knowledge graph schema |
gctrl_code_index | Index a local repo into a Codebase KB (compilation type CODE). Direct mode only (it indexes THIS machine, so a gateway cannot serve it) and needs the optional gctrl-code-indexer package - without it the tool returns an install hint and every other tool keeps working. |
gctrl_code_symbol | Find code symbols by name/path/regex (proxied to the HTTP gateway) |
gctrl_code_trace | Trace callers/callees of a symbol (proxied to the HTTP gateway) |
gctrl_code_impact | Impact analysis for changed symbols/files (proxied to the HTTP gateway) |
gctrl_code_architecture | Languages, hotspots, communities for a Codebase KB (proxied to the HTTP gateway) |
Every tool above is also exposed under its legacy name for backwards compatibility with existing .mcp.json configs. The aliases log a deprecation warning to stderr on every invocation and will be removed in v2.0 — please migrate.
| Deprecated alias | Use instead |
|---|---|
borghive_extract | gctrl_extract |
borghive_query | gctrl_query |
borghive_store | gctrl_store |
borghive_fuse | gctrl_fuse |
borghive_search_entities | gctrl_search_entities |
borghive_list_graphs | gctrl_list_graphs |
borghive_list_ontologies | gctrl_list_ontologies |
borghive_list_extractions | gctrl_list_extractions |
borghive_schema | gctrl_schema |
Published on npm as gctrl-mcp and in the official MCP Registry as io.github.GCTRL-TECH/gctrl. Add to your MCP client config (Claude Code, Claude Desktop, Cursor, Codex, …):
{
"mcpServers": { "gctrl": { "command": "npx", "args": ["-y", "gctrl-mcp"], "env": { "GCTRL_GATEWAY_URL": "http://localhost:4000/api/agent/mcp", "GCTRL_API_TOKEN": "gctrl_..." } } } }
Requires a running GCTRL harness (get started).
Run the server in direct mode next to your gateway entry so the agent gets the local code tools, and let it keep the repository's Codebase KB current on its own:
{
"mcpServers": { "gctrl": { "command": "npx", "args": ["-y", "gctrl-mcp"], "env": { "GCTRL_GATEWAY_URL": "https:// /api/agent/mcp", "GCTRL_API_TOKEN": "gctrl_..." } }, "gctrl-code": { "command": "npx", "args": ["-y", "gctrl-mcp"], "env": { "GCTRL_API_URL": "https:// /api", "GCTRL_API_TOKEN": "gctrl_...", "GCTRL_MCP_TOOLS": "code", "GCTRL_CODE_AUTO_INDEX": "cwd" } } } }
With GCTRL_CODE_AUTO_INDEX=cwd the server indexes the directory the MCP client launched it in (incremental - a warm repo takes seconds) right after start-up, and the agent's first gctrl_code_symbol hits a current graph. The server's instructions carry the coding protocol every connected agent follows: index once per session, navigate through gctrl_code_symbol / gctrl_code_trace / gctrl_code_architecture BEFORE reading files, run gctrl_code_impact before changing a symbol, re-index after larger edits, ask gctrl_query for the why and store decisions next to the symbols with gctrl_store. Measured on GCTRL's own repository: structural questions answered through the graph used 95.6 % fewer tokens than grep-and-read.
| Env var | Purpose |
|---|---|
GCTRL_GATEWAY_URL | Recommended: URL of your harness's MCP gateway (http:// :4000/api/agent/mcp). The stdio server acts as a thin authenticated proxy. |
GCTRL_API_URL | Alternative direct mode: GCTRL API base URL (http:// :4000/api); tools run locally against the API. |
GCTRL_API_TOKEN | Scoped GCTRL Access Token (gctrl_…), created in Settings → Access Control with a clearance level + per-graph grants. Least privilege — the agent sees exactly what the token is cleared for. |
GCTRL_MCP_TOOLS | Optional tool-set filter. Set to code to register only the local code tools (gctrl_code_index, gctrl_code_symbol, gctrl_code_trace, gctrl_code_impact, gctrl_code_architecture) — used for the Anvil/Hermes gctrl-code stdio entry, kept separate from the HTTP-gateway gctrl/gctrl-projekt entries. Direct mode only: in gateway mode the gateway's own tool list is proxied verbatim, so the filter has no effect and the server says so on startup. |
| GCTRL_CODE_AUTO_INDEX | Direct mode: cwd (or a repository path) indexes that repository in the background right after start-up - incremental, never fatal. Makes the Codebase KB automatic instead of a habit. | | GCTRL_CODE_COMPILATION_ID | Direct mode: the CODE compilation gctrl_code_index uses when the agent passes none (one project = one repo = one code graph). An explicit compilationId from the agent still wins. | | GCTRL_CODE_FOLDER | Direct mode: folder path (Users/ /Code) for a code graph the server auto-creates as (code). Hosts that launch the server per user (Anvil) set it so every colleague's code lands in their own folder; without it GCTRL files under the account owner's Users/ /Code. |
Dev-only fallback: GCTRL_EMAIL + GCTRL_PASSWORD (full-clearance JWT). Avoid in production.
cd borghive/services/mcp
npm install npm run build
gctrl-code-indexer is an optional dependency and is not on npm yet, so a plain npm install here will not fetch it. To develop or test gctrl_code_index against the in-repo package, link it once:
cd borghive/packages/code-indexer && npm ci && npm run build
cd ../../services/mcp && npm install ../../packages/code-indexer --no-save
The server's types for the indexer are declared locally, so npm run build passes with or without the package installed - the difference is only whether gctrl_code_index works at runtime or returns its install hint.
gctrl-mcp and gctrl-code-indexer are two npm packages and must go out in this order:
gctrl-code-indexer@0.1.0.optionalDependencies in services/mcp/package.json to a real registry range (it already reads ^0.1.0; confirm it resolves) and re-run npm install.gctrl-mcp to 1.1.0 (package.json + package-lock.json root).gctrl-mcp.Bumping gctrl-mcp BEFORE the indexer is on npm would break npx gctrl-mcp for every existing user - which is exactly why the version sits at 1.0.1 today.