MCP

Lyra MCP server

Connect Lyra to Claude Desktop, Cursor, Zed, Continue, ChatGPT custom GPTs, or any agent that speaks Model Context Protocol.

ذكاؤك الاصطناعي، متصل بـ Lyra الخاصة بك

تمنح Lyra مساعدك الذكي الخاص قناة آمنة وخاصة إلى بياناتك. اربط Claude أو ChatGPT أو Gemini ليقرأ قوائمك المنقّاة، ومشترياتك المتكررة، وأساسياتك الشهرية، وقائمة تخطيطك - ويقرأ الصفحة التي تنظر إليها - دون كشط أي شيء.

خادمان، قناة واحدة

MCP السحابي - بيانات حسابك. مُستضاف على lyrasearch.com/mcp ويُفتح بحسابك المدفوع بتسجيل دخول OAuth بنقرة واحدة. يكشف بياناتك أنت فقط - لا بيانات الآخرين أبدًا، ولا القائمة الرسمية الكاملة أبدًا.

MCP المحلي - الصفحة التي أنت عليها. يشغّل تطبيق Lyra خادمًا صغيرًا على جهازك (loopback فقط، معطّل افتراضيًا). يقرأ ذكاؤك الاصطناعي الصفحة المعروضة بالفعل ضمن جلستك - بلا كشط، بلا معارك مع أنظمة مكافحة الروبوتات، ولا يغادر شيء الجهاز.

يمكن للصفحات أيضًا أن تعرض أدواتها الخاصة (WebMCP). يمكن لذكائك الاصطناعي استدعاؤها نيابةً عنك، لكن أي إجراء يطلب موافقتك على الشاشة أولًا.

ما يمكن لذكائك الاصطناعي قراءته

  • قوائم الحظر والقوائم النظيفة الخاصة بك
  • ما تعيد شراءه ومتى موعده التالي
  • أساسياتك الشهرية وإنفاقك
  • قائمة تخطيطك / أمنياتك (أضف مشتريات مستقبلية)
  • الصفحة التي تشاهدها وعلاماتك المفتوحة
  • مفضّلاتك وسجلّ تصفّحك (على الجهاز فقط - لا يغادر الجهاز أبداً)

أنت المتحكم دائمًا

القراءة مجانية. التنقّل والإضافة إلى قوائمك يطلبان الإذن مرة واحدة لكل جلسة، ثم يتدفقان. أي شيء يتواصل أو يلتزم نيابةً عنك - الشراء، إرسال بريد إلكتروني أو رسائل، تقديم نماذج، توقيع مستند - يحتاج دائمًا إلى موافقتك الصريحة على الشاشة، في كل مرة. خزنتك وكلمات مرورك لا تُكشف أبدًا.

اربط مساعدك

خادم على الجهاز (محلي). في تطبيق Lyra، افتح Settings ← خادم الذكاء الاصطناعي المحلي، شغّله وانسخ العنوان والرمز إلى عميل الذكاء الاصطناعي على جهازك.

What is MCP?

MCP (Model Context Protocol) is an open spec from Anthropic for AI assistants to call tools on remote servers in a standardized way. Think USB-C for LLMs: any client speaks to any server.

Lyra runs an MCP server at https://lyrasearch.com/mcp. It exposes tools for privacy-respecting lookups (is a specific domain blocked or Clean?), curated alternatives, filtered search, install links, ready-to-share messages and your personal lists. The official block and Clean lists are private, so the MCP never returns them in full, only per-item answers. Public read-only tools work without auth; your own lists and shopping data are unlocked by signing in with OAuth (one-click, no key to copy).

Why this exists

The Lyra browser extension blocks fast-fashion noise inside the user's own browser. The MCP server takes the same curated lists and makes them programmable from the agent layer:

  • "Hey Claude, is shein.com on Lyra's block list?" → instant yes/no with category
  • "Suggest sustainable alternatives for casual sneakers" → up to N curated brands
  • "Search for kitchen knife sets but skip the dropshipping junk" → filtered DDG/Google URL
  • "Add this brand I just discovered to my personal Clean list" → synced across all my devices
  • "How do I install Lyra on Android?" → direct Play Store link

One source of truth, served everywhere.

Tools available

Public — no login (free daily quota)

  • check_domain
  • suggest_alternatives
  • get_stats
  • search_with_lyra
  • get_install_links
  • get_share_message

Your lists — read & write (sign in with OAuth)

  • list_personal
  • get_my_block_list
  • get_my_clean_list
  • submit_block_domain
  • submit_clean_brand
  • add_personal_block / remove_personal_block
  • add_personal_clean / remove_personal_clean

Your shopping data & planning — reads, plus writes that show a real-time notice + Undo in the Lyra app (sign in with OAuth)

  • get_recurring_purchases
  • get_monthly_essentials
  • get_shopping_plan
  • list_future_purchases
  • add_to_plan / remove_from_plan

On-device only (page, tabs, favorites & history). Actions that touch the outside world — buying, sending, submitting — are NOT available here; they always need your express on-screen confirmation in Lyra.

  • get_current_page
  • list_tabs
  • get_favorites
  • get_history
  • list_page_tools
  • call_page_tool

اربط Lyra بـ Claude أو ChatGPT

كلاهما يتصل بنقرتين عبر تسجيل دخول OAuth بنقرة واحدة، دون أي مفتاح لنسخه. تعمل أدوات البحث المنسّق حتى قبل تسجيل الدخول؛ وتسجيل الدخول يفتح قوائمك الشخصية وبيانات التسوّق.

عنوان URL لخادم Lyra MCP: https://lyrasearch.com/mcp

Claude (سطح المكتب أو الويب)

  1. افتح Claude، تطبيق سطح المكتب أو claude.ai، وانتقل إلى Settings.
  2. افتح Connectors (في بعض الخطط: Settings ← Feature preview ← Connectors).
  3. انقر على "Add custom connector".
  4. الصق عنوان URL لخادم Lyra MCP: https://lyrasearch.com/mcp
  5. انقر على Add. سيفتح Claude صفحة تسجيل الدخول إلى Lyra، وافق باستخدام حساب Lyra الخاص بك (OAuth، بنقرة واحدة، دون مفتاح لنسخه).
  6. تم. اطلب من Claude استخدام Lyra، مثلًا "استخدم Lyra للتحقق مما إذا كان shein.com مدرجًا في قائمة الحظر."

ChatGPT (Plugins)

  1. فعّل Developer Mode: Settings ← Plugins ← Developer Mode ← فعّل Developer Mode.
  2. أضِف الإضافة: Settings ← Plugins ← Explore Plugins ← +
  3. أدخل عنوان URL لخادم Lyra MCP: https://lyrasearch.com/mcp
  4. إذا طُلب منك، فصادق عبر OAuth (بنقرة واحدة، وتعمل أدوات البحث المنسّق المجانية أيضًا دون تسجيل الدخول).
  5. انتظر حتى يكتشف ChatGPT الأدوات المتاحة تلقائيًا.
  6. انقر على Save.

تم، أصبح Lyra متاحًا الآن في محادثاتك.

اختبار سريع

جرّب مطالبة مثل:

  • “استخدم Lyra للعثور على متاجر موثوقة لحقيبة يد جلدية، من تسوّقها المنسّق (Clean).”
  • “اسأل Lyra عمّا إذا كان shein.com على قائمة الحظر، واقترح بدائل Clean.”
  • “استخدم Lyra للبحث عن أحذية جري دون الوقوع في fast-fashion أو dropshipping.”

إذا ذكرت الإجابة أنه تم استخدام Lyra، فإن التكامل يعمل.

استكشاف الأخطاء وإصلاحها

  • تعذّر العثور على "Plugins" أو "Explore Plugins": تأكد من تفعيل Developer Mode (Settings ← Plugins ← Developer Mode)، ومن أن خطتك تتضمن هذه الميزة.
  • خطأ في الاتصال: تأكد من أن https://lyrasearch.com/mcp قابل للوصول ويُقدَّم عبر HTTPS صالح.
  • طُلب منك المصادقة: سجّل الدخول بحساب Lyra الخاص بك (OAuth)، لا يوجد مفتاح لنسخه. تعمل أدوات البحث المنسّق المجانية أيضًا دون تسجيل الدخول.

Setup · Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "lyra": {
      "url": "https://lyrasearch.com/mcp",
      "headers": {
        "Authorization": "Bearer lyra_YOUR_LICENSE_KEY_HERE"
      }
    }
  }
}

Public read-only tools work with no header. For your own lists and shopping data, connect with OAuth (one-click sign-in to your Lyra account — no key to copy): the client opens Lyra, you approve, done. A manual Bearer key from /billing is only for scripts/CLIs that can't open a browser.

Setup · Cursor / Zed / Continue

These editors support MCP via streamable HTTP. Add this to your editor's MCP config:

{
  "lyra": {
    "transport": "http",
    "url": "https://lyrasearch.com/mcp"
  }
}

Setup · ChatGPT (MCP connector or Custom GPT)

ChatGPT now speaks MCP: in Developer Mode / Connectors, add the server URL https://lyrasearch.com/mcp and authorize with OAuth (one-click, no key). If your plan doesn't show MCP connectors, wrap our OpenAPI 3 spec as a custom GPT Action instead.

Quick test (curl)

List all tools without auth:

curl -X POST https://lyrasearch.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Check a domain:

curl -X POST https://lyrasearch.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{
    "name":"check_domain",
    "arguments":{"domain":"shein.com","locale":"pt-BR"}
  }}'

Submit a domain to block (with license key):

curl -X POST https://lyrasearch.com/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer lyra_YOUR_KEY" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{
    "name":"submit_block_domain",
    "arguments":{"domain":"newpredator.com","reason":"dropshipping low-quality"}
  }}'

Localization

Every tool accepts a locale argument. Supported values: en, pt-BR, es, zh-CN, zh-TW, hi, ar, fr, bn, ru, id, ur, de, ja, vi, tr, ko, it, pl, nl, he.

When omitted, the server defaults to en. Category labels in the response are translated; brand names and domain identifiers stay canonical.

Ecosystem

Lyra has four ways to use it — all on the same curated lists:

  • Extension (Chrome, Edge, Brave): filters in real time inside the browser
  • DNS (Lyra Safe DNS): cleans every app on the device
  • App (Android, iPhone, Mac, PC): the native Lyra browser
  • Site (lyrasearch.com): Lyra Search on the web, with login