J

exa-server

...
Created 12/13/2024byit-beard

Categories

ai-assistantcode-intelligencecode-searchdeveloper-toolsexa-apimcp-servermodel-context-protocoltypescript

Language:

JavaScript

Stars:

2

Forks:

3

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

  1. Clone this repository:
git clone https://github.com/it-beard/exo-server.git
cd exa-server
  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. 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 query
  • exa://last-search/result - Results from the most recent search query

Development

  1. Make your changes in the src directory
  2. Build the project:
npm run build
  1. Test your changes by configuring the server in your MCP settings

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Last updated: 12/14/2024

Publisher info

it-beard's avatar

Bearded Forge

ITBeard community projects

79
followers
0
following
20
repos

More MCP servers built with JavaScript

mcp-server-semgrep

MCP Server Semgrep is a [Model Context Protocol](https://modelcontextprotocol.io) compliant server that integrates the powerful Semgrep static analysis tool with AI assistants like Anthropic Claude. It enables advanced code analysis, security vulnerability detection, and code quality improvements directly through a conversational interface.

By Szowesgad9
protonmail-mcp

This MCP server provides email sending functionality using Protonmail's SMTP service. It allows both Claude Desktop and Cline VSCode extension to send emails on your behalf using your Protonmail credentials.

By amotivv6
agentql-mcp

Model Context Protocol server that integrates AgentQL's data extraction capabilities.

By tinyfish-io45