MCP
Lyra MCP server
Connect Lyra to Claude Desktop, Cursor, Zed, Continue, ChatGPT custom GPTs, or any agent that speaks Model Context Protocol.
你的 AI,連接到你的 Lyra
Lyra 為你自己的 AI 助理提供一條安全、私密的通道,通往你的資料。連接 Claude、ChatGPT 或 Gemini,它就能讀取你精煉過的清單、你的定期購買、你的每月必需品和你的規劃清單,並讀取你正在查看的頁面,完全不抓取任何東西。
兩個伺服器,一條通道
雲端 MCP,你的帳號資料. 託管於 lyrasearch.com/mcp,由你的付費帳號透過一鍵 OAuth 登入解鎖。它只暴露你自己的資料,絕不涉及他人,絕不涉及完整的官方清單。
本地 MCP,你所在的頁面. Lyra 應用程式在你的裝置上執行一個極小的伺服器(僅限本地回送,預設關閉)。你的 AI 讀取已經用你的工作階段渲染好的頁面,無需抓取,無需與反爬機制對抗,沒有任何東西離開裝置。
網頁本身也可以提供自己的工具(WebMCP)。你的 AI 可以替你呼叫,但任何會執行動作的操作都會先在螢幕上請求你的確認。
你的 AI 能讀取什麼
- 你自己的封鎖清單和 Clean 清單
- 你會回購什麼,以及下次到期是何時
- 你的每月必需品和支出
- 你的規劃/願望清單(新增未來的購買)
- 你正在查看的頁面和你開啟的分頁
- 你的我的最愛和瀏覽紀錄(僅保存在裝置上,絕不離開裝置)
你始終掌控一切
讀取是免費的。導覽和新增到你自己的清單每個工作階段詢問一次,之後便順暢進行。任何代表你進行溝通或作出承諾的操作,購買、傳送電子郵件或訊息、提交表單、簽署文件,始終需要你在螢幕上明確核准,每一次都是。你的保險庫和密碼絕不會被暴露。
連接你的助理
端上(本地)伺服器. 在 Lyra 應用程式中,開啟 Settings → 本地 AI 伺服器,將其開啟,然後把位址和權杖複製到你的端上 AI 用戶端中。
AI 通道是你 Lyra 訂閱的一部分。預設唯讀,付費,自願選擇加入。
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_domainsuggest_alternativesget_statssearch_with_lyraget_install_linksget_share_message
Your lists — read & write (sign in with OAuth)
list_personalget_my_block_listget_my_clean_listsubmit_block_domainsubmit_clean_brandadd_personal_block/remove_personal_blockadd_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_purchasesget_monthly_essentialsget_shopping_planlist_future_purchasesadd_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_pagelist_tabsget_favoritesget_historylist_page_toolscall_page_tool
將 Lyra 連接到 Claude 或 ChatGPT
兩者都只需點擊幾下即可連接,透過一鍵 OAuth 登入完成,無需複製任何金鑰。精選搜尋工具在你登入前就能使用;登入後可解鎖你的個人清單和購物資料。
Lyra MCP 伺服器網址: https://lyrasearch.com/mcp
Claude(桌面版或網頁版)
- 打開 Claude,桌面應用程式或 claude.ai,然後進入設定。
- 打開連接器(在某些方案中:設定 → 功能預覽 → 連接器)。
- 點擊「新增自訂連接器」。
- 貼上 Lyra MCP 伺服器網址:https://lyrasearch.com/mcp
- 點擊新增。Claude 會打開 Lyra 的登入頁,用你的 Lyra 帳戶批准即可(OAuth,一鍵完成,無需複製金鑰)。
- 完成。讓 Claude 使用 Lyra,例如「用 Lyra 查一下 shein.com 是否在封鎖清單中。」
ChatGPT(外掛)
- 啟用開發者模式:設定 → 外掛 → 開發者模式 → 開啟開發者模式。
- 新增外掛:設定 → 外掛 → 探索外掛 → +
- 輸入 Lyra MCP 伺服器網址:https://lyrasearch.com/mcp
- 如有提示,使用 OAuth 進行驗證(一鍵完成,免費的精選搜尋工具無需登入也能使用)。
- 等待 ChatGPT 自動偵測可用工具。
- 點擊儲存。
完成,Lyra 現在已在你的對話中可用。
快速測試
試試這樣的提示:
- “用 Lyra 從它精選的 Clean 商品中,為真皮手提包找到值得信賴的商店。”
- “問 Lyra,shein.com 是否在封鎖清單中,並推薦 Clean 替代店家。”
- “用 Lyra 搜尋跑步鞋,同時避開 fast-fashion 和 dropshipping。”
如果回答中提到使用了 Lyra,就表示整合正常運作。
疑難排解
- 找不到「外掛」或「探索外掛」:確認已開啟開發者模式(設定 → 外掛 → 開發者模式),且你的方案包含該功能。
- 連線錯誤:確認 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