1.0.1 • Published 7 months ago
@mcpflow.io/mcp-exa-mcp-server v1.0.1
Exa MCP Server
此包由 MCPFlow 打包并发布到npm仓库。
使用 Exa API 的 AI 动力代码搜索 MCP 服务器,用于在 AI 助手中进行智能代码搜索和检索。
安装与使用
直接使用npx运行:
npx @mcpflow.io/mcp-exa-mcp-server
或者先安装后使用:
# 安装
npm install @mcpflow.io/mcp-exa-mcp-server
# 使用
npx @mcpflow.io/mcp-exa-mcp-server
使用方法
Installation
- Clone this repository:
git clone https://github.com/it-beard/exo-server.git
cd exa-server
- Install dependencies:
npm install
- Build the project:
npm run build
- Configure your Exa API key in the MCP settings file (tested with Cline):
{
"mcpServers": {
"exa": {
"command": "node",
"args": ["/path/to/exa-server/build/index.js"],
"env": {
"EXA_API_KEY": "your-api-key-here"
}
}
}
}
工具函数
search
参数:
原始信息
- 开发者: it-beard
- 版本: 1.0.0
- 许可证: MIT License
- 原始仓库: it-beard/exa-server
原始README
Exa MCP Server
An MCP (Model Context Protocol) server that provides AI-powered code search capabilities using the Exa API.
Features
- Perform AI-powered code searches using natural language queries
- Get relevant code examples and documentation
- Configurable number of search results
- JSON response format with rich metadata
Installation
- Clone this repository:
git clone https://github.com/it-beard/exo-server.git
cd exa-server
- Install dependencies:
npm install
- Build the project:
npm run build
- Configure your Exa API key in the MCP settings file (tested with Cline):
{
"mcpServers": {
"exa": {
"command": "node",
"args": ["/path/to/exa-server/build/index.js"],
"env": {
"EXA_API_KEY": "your-api-key-here"
}
}
}
}
Usage
The server provides the following tools and resources:
Tools
search
Perform an AI-powered search using Exa API
Input Schema:
{
"query": "Search query",
"numResults": 10
}
Resources
exa://search/{query}
- Search results for a specific queryexa://last-search/result
- Results from the most recent search query
Development
- Make your changes in the
src
directory - Build the project:
npm run build
- Test your changes by configuring the server in your MCP settings
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.