An MCP (Model Context Protocol) server that provides AI-powered code search capabilities using the Exa API.
- 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
- 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"
}
}
}
}
The server provides the following tools and resources:
Perform an AI-powered search using Exa API
Input Schema:
{
"query": "Search query",
"numResults": 10
}
exa://search/{query}
- Search results for a specific queryexa://last-search/result
- Results from the most recent search query
- Make your changes in the
src
directory - Build the project:
npm run build
- Test your changes by configuring the server in your MCP settings
- 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
This project is licensed under the MIT License - see the LICENSE file for details.