io.github.spacecowboyian/brains

السجل الرسمي البحث والويب

Personal wiki and memory for AI assistants: store, search, and recall structured notes.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package brains-mcp
Claude Code
claude mcp add brains -e 'WIKI_DIR=<WIKI_DIR>' -e 'STORAGE_BACKEND=<STORAGE_BACKEND>' -e 'GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>' -e 'GOOGLE_CLIENT_SECRET=<your google_client_secret>' -e 'GOOGLE_REFRESH_TOKEN=<your google_refresh_token>' -e 'DRIVE_FOLDER_ID=<DRIVE_FOLDER_ID>' -e 'SUPABASE_URL=<SUPABASE_URL>' -e 'SUPABASE_SERVICE_ROLE_KEY=<your supabase_service_role_key>' -- npx -y brains-mcp@1.101.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "brains": {
            "command": "npx",
            "args": [
                "-y",
                "brains-mcp@1.101.0"
            ],
            "env": {
                "WIKI_DIR": "<WIKI_DIR>",
                "STORAGE_BACKEND": "<STORAGE_BACKEND>",
                "GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
                "GOOGLE_CLIENT_SECRET": "<your google_client_secret>",
                "GOOGLE_REFRESH_TOKEN": "<your google_refresh_token>",
                "DRIVE_FOLDER_ID": "<DRIVE_FOLDER_ID>",
                "SUPABASE_URL": "<SUPABASE_URL>",
                "SUPABASE_SERVICE_ROLE_KEY": "<your supabase_service_role_key>"
            }
        }
    }
}

متغيرات البيئة

  • WIKI_DIR Path to local wiki directory (used when STORAGE_BACKEND=local or omitted)
  • STORAGE_BACKEND Storage backend: 'local' (default), 'supabase', or 'drive'
  • GOOGLE_CLIENT_ID Google OAuth client ID (required for Google Drive backend)
  • GOOGLE_CLIENT_SECRET سري Google OAuth client secret (required for Google Drive backend)
  • GOOGLE_REFRESH_TOKEN سري Google OAuth refresh token (required for Google Drive backend)
  • DRIVE_FOLDER_ID Google Drive folder ID for wiki storage
  • SUPABASE_URL Supabase project URL (required for Supabase backend)
  • SUPABASE_SERVICE_ROLE_KEY سري Supabase service role key (required for Supabase backend)

الأسئلة الشائعة

ما هو io.github.spacecowboyian/brains؟

Personal wiki and memory for AI assistants: store, search, and recall structured notes.

كيف أثبّت io.github.spacecowboyian/brains؟

يعمل على جهازك. في Claude Code: claude mcp add brains -e 'WIKI_DIR=<WIKI_DIR>' -e 'STORAGE_BACKEND=<STORAGE_BACKEND>' -e 'GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>' -e 'GOOGLE_CLIENT_SECRET=<your google_client_secret>' -e 'GOOGLE_REFRESH_TOKEN=<your google_refresh_token>' -e 'DRIVE_FOLDER_ID=<DRIVE_FOLDER_ID>' -e 'SUPABASE_URL=<SUPABASE_URL>' -e 'SUPABASE_SERVICE_ROLE_KEY=<your supabase_service_role_key>' -- npx -y brains-mcp@1.101.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.spacecowboyian/brains إلى مفتاح API؟

نعم. يتطلب GOOGLE_CLIENT_SECRET, GOOGLE_REFRESH_TOKEN, SUPABASE_SERVICE_ROLE_KEY، وتضبطها في إعداداته.

هل io.github.spacecowboyian/brains مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون io.github.spacecowboyian/brains؟

ينشره spacecowboyian. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.