跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Algolia,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
让你的 AI 搜索和检查你的 Algolia 索引:列出索引,搜索和批量浏览记录,读取设置、同义词和 Rules,查看热门搜索和无结果搜索,并在你确认后添加或更新记录。
试试这样问
Algolia 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Algolia、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Algolia + Meta Muse
让你的 AI 搜索和检查你的 Algolia 索引:列出索引,搜索和批量浏览记录,读取设置、同义词和 Rules,查看热门搜索和无结果搜索,并在你确认后添加或更新记录。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
ALGOLIA_APP_ID, ALGOLIA_API_KEY, ALGOLIA_ANALYTICS_REGION
步骤 1 — 获取凭证
- 在 Algolia 控制台打开 Settings → API Keys(
https://dashboard.algolia.com/account/api-keys),把 Application ID 复制到ALGOLIA_APP_ID。 - 不要复用 Admin 密钥,而是在 All API keys → New API key 下创建一个专用密钥。填写描述,例如
AnythingMCP,可以按需限制到部分索引,并授予 ACLsearch、browse、listIndexes、settings和analytics。把它粘贴到ALGOLIA_API_KEY。 - 把
ALGOLIA_ANALYTICS_REGION设为us或de,即控制台 Settings → Infrastructure → Analytics 中显示的分析区域。大多数应用使用us。 - 安装连接器。连接检查会像
algolia_list_indices一样列出你的索引。
为什么不能用 Search-Only 密钥:连接检查需要 listIndexes ACL。Algolia 默认的 Search-Only API 密钥只有 search,因此即使搜索本身可以使用,连接检查也会返回 403「Method not allowed with this API key」而失败。请改为创建第 2 步中的自定义只读密钥。也不要使用 Admin API 密钥:它可以删除索引和管理密钥,而这里没有任何工具需要这些权限。每个密钥的 ACL、索引限制和速率限制都列在 Settings → API Keys → All API keys 中。
AI 能做什么:像你的网站一样搜索索引,支持拼写容错、brand:Apple AND price < 500 这样的过滤条件、分面计数和分页(默认 10 条,最多 100 条);用 algolia_browse 批量读取记录;读取单条记录、索引设置、同义词和 Rules,解释结果为什么这样排序。AI 发起的搜索不会计入你的分析数据。
搜索分析:algolia_top_searches、algolia_no_result_searches(用户搜了却没找到的内容)、algolia_top_hits 和 algolia_search_count。默认时间段是最近 8 天。分析数据最多会延迟几个小时,索引需要有流量才会有数据。
写入前会先问你:algolia_save_object 添加记录或整体替换记录,algolia_partial_update_object 修改记录的部分属性。每次调用前,AI 都会给你看索引、objectID 和内容,并等你同意。两者都额外需要 addObject ACL,因此只读密钥会保持只读。Algolia 在后台应用更改,片刻之后即可搜索到。
安装时默认关闭:algolia_delete_object 会永久删除一条记录。需要管理员有意识地开启,并且需要 deleteObject ACL。
常见错误:403「Invalid Application-ID or API key」:Application ID 或密钥错误,或者密钥已被删除。401「Invalid credentials」是 Analytics API 上的同类错误;也请检查分析区域。403「Method not allowed with this API key」:密钥缺少某个 ACL。「Index not allowed with this API key」:密钥被限制在其他索引上。404:索引或记录不存在;索引名称区分大小写。429:密钥达到了速率限制。
该连接器不会创建、复制或删除索引,不会修改设置、同义词或 Rules,不管理 API 密钥,也不涉及 Insights 事件、Recommend、Query Suggestions 和 Crawler。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Muse 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。
- 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
- 粘贴 MCP 服务器 URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。 - Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
- 在聊天中,向 Muse 提出需要用到
Algolia的工具的请求。
你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
algolia_list_indices | List the indices of the application: name, number of records (entries), data and file size, last update and build time, and replica… |
algolia_search | Search one index the way the user's site or app does: full-text query with typo tolerance, filters, facets and paging |
algolia_browse | Read many records of an index in bulk, beyond the 1,000-hit limit of a search: returns up to hits_per_page records and a cursor; call again… |
algolia_get_object | Get one record by its objectID, optionally only some attributes |
algolia_get_settings | Get an index's settings: searchable attributes, attributes for faceting, custom ranking, ranking criteria, typo tolerance, replicas… |
algolia_search_synonyms | Search or list the synonyms of an index: objectID, type (synonym, onewaysynonym, altcorrection1/2, placeholder) and the words |
algolia_search_rules | Search or list the Rules of an index (merchandising and query rules): objectID, conditions (pattern, anchoring, context), consequence… |
algolia_save_object | Add a record, or replace an existing one entirely, under a given objectID |
algolia_partial_update_object | Change some attributes of a record, leaving the others as they are |
algolia_delete_object | Delete one record by objectID |
algolia_top_searches | The most frequent searches on an index over a period, with how often each was made and how many results it returned; with click_analytics… |
algolia_no_result_searches | The most frequent searches on an index that returned no results, with their count and how many of them had filters applied |
algolia_top_hits | The records that appear most often in search results on an index (objectID and count), overall or for one search query; with… |
algolia_search_count | The number of searches on an index over a period, in total and per day |
示例提示
- “我们有哪些 Algolia 索引?每个索引有多少条记录?”
- “过去 30 天里,用户在 products 索引中搜索最多的是什么?哪些搜索没有结果?”
- “在 products 索引中用 brand:Nike 过滤搜索跑鞋,给我看前 10 条及价格。”
- “为什么记录 4711 在搜索‘运动鞋’时排得这么靠后?检查一下索引设置、同义词和 Rules。”
- “把 products 索引中记录 4711 的价格改成 89.90。先给我看要改的内容。”
FAQ
Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。
Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。
下一步
这份指南对你有帮助吗?