这是一个使用 Exa API 提供基于AI的代码搜索功能的MCP(模型上下文协议)服务器。
git clone https://github.com/it-beard/exo-server.git
cd exa-server
npm install
npm run build
{
"mcpServers": {
"exa": {
"command": "node",
"args": ["/path/to/exa-server/build/index.js"],
"env": {
"EXA_API_KEY": "your-api-key-here"
}
}
}
}
该服务器提供以下工具和资源:
使用Exa API执行基于AI的搜索
输入模式:
{
"query": "搜索查询",
"numResults": 10
}
exa://search/{query} - 特定查询的搜索结果exa://last-search/result - 最近一次搜索查询的结果src目录中进行更改npm run build
git checkout -b feature/amazing-feature)git commit -m '添加一些惊人的功能')git push origin feature/amazing-feature)本项目根据MIT许可证授权 - 查看LICENSE文件以获取详细信息。