codeindex
Structural code intelligence over MCP: symbols, callers, imports and blast radius, 40+ languages.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@munhq/codeindexclaude mcp add codeindex -e 'CODEINDEX_WORKSPACE=<CODEINDEX_WORKSPACE>' -e 'CODEINDEX_NO_DAEMON=<CODEINDEX_NO_DAEMON>' -e 'CODEINDEX_DAEMON_IDLE_SECS=<CODEINDEX_DAEMON_IDLE_SECS>' -- npx -y @munhq/codeindex@0.6.1
{
"mcpServers": {
"codeindex": {
"command": "npx",
"args": [
"-y",
"@munhq/codeindex@0.6.1"
],
"env": {
"CODEINDEX_WORKSPACE": "<CODEINDEX_WORKSPACE>",
"CODEINDEX_NO_DAEMON": "<CODEINDEX_NO_DAEMON>",
"CODEINDEX_DAEMON_IDLE_SECS": "<CODEINDEX_DAEMON_IDLE_SECS>"
}
}
}
}
متغيرات البيئة
CODEINDEX_WORKSPACEDirectory to index. Defaults to the enclosing project root of wherever the client starts the server, which is the right answer for every editor and agent that launches it inside a repository. Set it only when the server runs somewhere other than the code.CODEINDEX_NO_DAEMONSet to 1 to keep the index inside this server process. By default every session on one repository shares a single background daemon that parses and watches the tree once, and each session is a thin relay onto it. Turn that off for a sandbox with no writable runtime directory.CODEINDEX_DAEMON_IDLE_SECSSeconds with no session attached before the shared daemon exits and returns its memory. Default 900. Set 0 to keep it resident.
الأسئلة الشائعة
ما هو codeindex؟
Structural code intelligence over MCP: symbols, callers, imports and blast radius, 40+ languages.
كيف أثبّت codeindex؟
يعمل على جهازك. في Claude Code: claude mcp add codeindex -e 'CODEINDEX_WORKSPACE=<CODEINDEX_WORKSPACE>' -e 'CODEINDEX_NO_DAEMON=<CODEINDEX_NO_DAEMON>' -e 'CODEINDEX_DAEMON_IDLE_SECS=<CODEINDEX_DAEMON_IDLE_SECS>' -- npx -y @munhq/codeindex@0.6.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج codeindex إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل codeindex مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون codeindex؟
ينشره munhq. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.