连接器指南阅读约 4 分钟14 个 MCP 工具7 种语言

将 Algolia 连接到 Microsoft Copilot:Algolia MCP

让你的 AI 搜索和检查你的 Algolia 索引:列出索引,搜索和批量浏览记录,读取设置、同义词和 Rules,查看热门搜索和无结果搜索,并在你确认后添加或更新记录。

HC作者:HelpCode 团队更新于 4 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

Algolia

Algolia

Let your AI search and inspect your Algolia indices: list indices, search and browse records, read settings, synonyms and Rules, see top searches and searches without results and, with your confirmation, add or update records.

个工具

14

区域

INTL

类别

数据库

身份验证

API Key

所需环境变量

ALGOLIA_APP_IDALGOLIA_API_KEYALGOLIA_ANALYTICS_REGION
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

摘要

让你的 AI 搜索和检查你的 Algolia 索引:列出索引,搜索和批量浏览记录,读取设置、同义词和 Rules,查看热门搜索和无结果搜索,并在你确认后添加或更新记录。

引导式设置

2 分钟将 Algolia 连接到 Microsoft Copilot

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 Algolia,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。

无需信用卡 · 7 天试用 · 提供自托管方案

试试这样问

Algolia 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Algolia · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Algolia、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Algolia + Microsoft Copilot

让你的 AI 搜索和检查你的 Algolia 索引:列出索引,搜索和批量浏览记录,读取设置、同义词和 Rules,查看热门搜索和无结果搜索,并在你确认后添加或更新记录。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

ALGOLIA_APP_ID, ALGOLIA_API_KEY, ALGOLIA_ANALYTICS_REGION

步骤 1 — 获取凭证

  1. 在 Algolia 控制台打开 Settings → API Keys(https://dashboard.algolia.com/account/api-keys),把 Application ID 复制到 ALGOLIA_APP_ID。
  2. 不要复用 Admin 密钥,而是在 All API keys → New API key 下创建一个专用密钥。填写描述,例如 AnythingMCP,可以按需限制到部分索引,并授予 ACL search、browse、listIndexes、settings 和 analytics。把它粘贴到 ALGOLIA_API_KEY。
  3. 把 ALGOLIA_ANALYTICS_REGION 设为 us 或 de,即控制台 Settings → Infrastructure → Analytics 中显示的分析区域。大多数应用使用 us。
  4. 安装连接器。连接检查会像 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 — 在 Microsoft Copilot 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

Microsoft Copilot 通过在 Copilot Studio 中构建的智能体使用 MCP 服务器:把 AnythingMCP 作为工具添加到智能体,然后把智能体发布到 Microsoft 365 Copilot 和 Teams。Copilot Studio 从 Microsoft 的云端通过 Streamable HTTP 连接,AnythingMCP 支持这种方式。

  1. 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
  2. 填写 Server name(例如 AnythingMCP)、说明连接器用途的 Server description,以及 Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。
  3. 身份验证选择 API key,把 Type 设为 Header,请求头名称填 X-API-Key,然后选择 Create。
  4. 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
  5. 在智能体的 Test 窗格中试一试:提出需要用到 Algolia 的工具的请求。
  6. 选择 Publish,然后进入 Channels → Microsoft 365 and Microsoft Teams,保持勾选 Make agent available in Microsoft Copilot,再选择 Add channel。See agent in Teams 会为你安装该智能体;在 Microsoft 365 Copilot 中输入 @ 并选择该智能体。

希望每个用户各自登录?请选择 OAuth 2.0 → Dynamic discovery 代替 API 密钥:每个用户会在智能体首次调用时登录 AnythingMCP。

自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Copilot Studio 从 Microsoft 的云端连接,因此 localhost 无法使用。

可用工具

ToolWhat it does
algolia_list_indicesList the indices of the application: name, number of records (entries), data and file size, last update and build time, and replica…
algolia_searchSearch one index the way the user's site or app does: full-text query with typo tolerance, filters, facets and paging
algolia_browseRead 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_objectGet one record by its objectID, optionally only some attributes
algolia_get_settingsGet an index's settings: searchable attributes, attributes for faceting, custom ranking, ranking criteria, typo tolerance, replicas…
algolia_search_synonymsSearch or list the synonyms of an index: objectID, type (synonym, onewaysynonym, altcorrection1/2, placeholder) and the words
algolia_search_rulesSearch or list the Rules of an index (merchandising and query rules): objectID, conditions (pattern, anchoring, context), consequence…
algolia_save_objectAdd a record, or replace an existing one entirely, under a given objectID
algolia_partial_update_objectChange some attributes of a record, leaving the others as they are
algolia_delete_objectDelete one record by objectID
algolia_top_searchesThe 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_searchesThe most frequent searches on an index that returned no results, with their count and how many of them had filters applied
algolia_top_hitsThe records that appear most often in search results on an index (objectID and count), overall or for one search query; with…
algolia_search_countThe 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

这适用于哪个 Copilot? 适用于工作中的 Microsoft 365 Copilot,通过 Copilot Studio 的智能体实现。面向个人账户的 Microsoft Copilot 应用无法添加自己的 MCP 服务器。

我需要什么? 一个可以使用 Copilot Studio 的工作账户(许可证或试用版),用于构建智能体。在 Microsoft 365 Copilot 或 Teams 中使用它的人需要拥有该智能体的访问权限:把它共享给他们,或请管理员为整个组织发布。如果你的组织对 Power Platform 连接器设置了数据策略,这些策略同样适用于 MCP 服务器。

智能体不调用工具。 检查请求头名称是否正好是 X-API-Key,密钥是否属于与 URL 相同的 MCP 服务器,并把 Server description 写得具体:Copilot Studio 根据它决定何时调用服务器。每次修改后重新发布智能体;在已打开的对话中输入 "start over" 即可使用新版本。

下一步

这份指南对你有帮助吗?

2 分钟将 Algolia 连接到 Microsoft Copilot

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 Algolia,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。

相关指南

连接器

Algolia MCP 服务器:搜索、记录与分析

让你的 AI 搜索和检查你的 Algolia 索引:列出索引,搜索和批量浏览记录,读取设置、同义词和 Rules,查看热门搜索和无结果搜索,并在你确认后添加或更新记录。

连接器

将 Algolia 连接到 ChatGPT:Algolia MCP 搜索

让你的 AI 搜索和检查你的 Algolia 索引:列出索引,搜索和批量浏览记录,读取设置、同义词和 Rules,查看热门搜索和无结果搜索,并在你确认后添加或更新记录。

连接器

将 Algolia 连接到 Claude:Algolia MCP 搜索

让你的 AI 搜索和检查你的 Algolia 索引:列出索引,搜索和批量浏览记录,读取设置、同义词和 Rules,查看热门搜索和无结果搜索,并在你确认后添加或更新记录。

连接器

将 Algolia 连接到 Cursor:Algolia MCP 搜索

让你的 AI 搜索和检查你的 Algolia 索引:列出索引,搜索和批量浏览记录,读取设置、同义词和 Rules,查看热门搜索和无结果搜索,并在你确认后添加或更新记录。

连接器

将 Algolia 连接到 Gemini CLI:Algolia MCP

让你的 AI 搜索和检查你的 Algolia 索引:列出索引,搜索和批量浏览记录,读取设置、同义词和 Rules,查看热门搜索和无结果搜索,并在你确认后添加或更新记录。

连接器

将 Algolia 连接到 Meta Muse:Algolia MCP

让你的 AI 搜索和检查你的 Algolia 索引:列出索引,搜索和批量浏览记录,读取设置、同义词和 Rules,查看热门搜索和无结果搜索,并在你确认后添加或更新记录。