文档搜索兔
访问由RagRabbit开源人工智能站点搜索索引的任何文档
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"\u003cname_of_your_documentation_no_spaces\u003e": {
"args": [
"@ragrabbit/mcp",
"http://\u003cRagRabbit install\u003e/",
"\u003cname of your documentation\u003e"
],
"command": "npx"
}
}
}
服务介绍
MCP Server for RagRabbit 文档搜索
此服务器实现了模型上下文协议(MCP),为AI模型提供访问通过RagRabbit实例索引的任何文档的能力。
概述
MCP 服务器充当 AI 客户端与 RagRabbit 托管文档之间的桥梁:
- 使用自然语言查询跨文档进行语义搜索
- 访问特定于 LLM 的文档
- 通过模型上下文协议进行标准化通信
安装
Claude Desktop
添加一个自定义的 MCP 服务器,使用你的产品名称,以便 Claude AI 在查找有关它的信息时可以使用它。
在 claude_desktop_config.json 中 (Claude -> 设置 -> 开发者 -> 编辑配置)
{
"mcpServers": {
"<name_of_your_documentation_no_spaces>": {
"command": "npx",
"args": ["@ragrabbit/mcp", "http://<RagRabbit install>/", "<name of your documentation>"]
}
}
}
在 Cursor IDE 中
转到 Cursor -> 设置 -> Cursor 设置 -> MCP
并添加一个新的类型为 command 的 MCP,命令如下:
npx @ragrabbit/mcp", "http://<RagRabbit install>/", "<name of your documentation>"
参数:
ragrabbit-url: (必需) 你的 RagRabbit 实例的基本 URL,例如 https://my-ragrabbit.vercel.com/name: (必需) 为文档搜索服务指定自定义名称(默认为 "RagRabbit"),以便 AI 在查找信息时知道使用它
本 MCP 暴露的工具
search_docs
执行跨文档的语义搜索。
参数:
query: 字符串 - 用于查找相关文档的搜索查询
示例:
{
"name": "search_docs",
"arguments": {
"query": "How to implement authentication?"
}
}
可用资源
LLMs 文档
- URI:
llms.txt - 描述: 关于 LLMs 及其功能的文档
- MIME 类型:
text/plain
许可证
MIT