赫尔墨斯搜索MCP服务器与模型上下文协议(MCP)紧密结合,MCP作为开放标准,能让AI系统与各类数据源和工具无缝交互,实现安全的双向连接。本服务器可与Cline、Cursor、Claude桌面版以及其他任何MCP客户端兼容,具备全文本和语义搜索等功能,为数据搜索和管理提供强大支持。
在使用赫尔墨斯搜索MCP服务器之前,您需要做好一些准备工作,确保具备以下条件:
npx -y hermes-search-mcp@latest
若要自动通过Smithery为Claude桌面版安装赫尔墨斯搜索MCP服务器,可执行以下命令:
npx -y @smithery/cli install @hermes-search/mcp --client claude
在Cline中设置赫尔墨斯搜索MCP服务器,有两种方式:
方式一:通过市场单击设置
方式二:手动设置
# 适用于macOS:
code ~/Library/Application\ Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
# 适用于Windows:
code %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
{
"mcpServers": {
"hermes-search-mcp": {
"command": "npx",
"args": ["-y", "hermes-search-mcp@latest"],
"env": {
"AZURE_SEARCH_ENDPOINT": "your-search-endpoint",
"AZURE_SEARCH_API_KEY": "your-api-key",
"AZURE_SEARCH_INDEX_NAME": "your-index-name"
},
"disabled": false,
"autoApprove": []
}
}
}
⚠️ 重要提示
需要Cursor版本0.45.6或更高。
要在Cursor中设置赫尔墨斯搜索MCP服务器,可按以下步骤操作:
hermes-search-mcphermes-search-mcpnpx hermes-search-mcp在Azure认知搜索索引中查找包含“机器学习”的文档,返回前10个结果。
将以下文档索引到Azure认知搜索:[{"id": "1", "title": "AI概述", "content": "人工智能是..."}]
删除当前的Azure认知搜索索引。
npm --version。node --version。