RAPID MCP Server
A local server that provides powerful code analysis and search capabilities for software projects, helping AI assistants and development tools understand codebases for tasks like code generation and refactoring.
README
R.A.P.I.D. Rapid Alignment of Project Intelligence and Documentation
RAPID is a local MCP server designed to provide powerful code analysis and search capabilities for any software project. It leverages a high-performance Rust-based file scanner to quickly parse and analyze code, exposing a set of tools that can be used by any MCP-compliant client.
This server is ideal for AI assistants and development tools that need to understand the context of a codebase to perform tasks like code generation, refactoring, and automated documentation.
Features
- Full Project Context Analysis: Recursively scans a project directory to extract information about files, functions, and classes.
- Project-Wide Search: Performs fast, project-wide searches for specific strings or patterns.
- Multi-Language Support: Includes parsers for Python, Rust, C#, and TypeScript/JavaScript.
- High-Performance Rust Core: The file scanning and parsing logic is implemented in Rust for maximum performance and efficiency.
- Configurable: Allows for customization of scanning depth, file extensions, and output verbosity.
- MCP Compliant: Exposes its functionality through a set of well-defined MCP tools.
Architecture
The server is composed of two main components:
- Python MCP Server (
server.py): The main entry point of the server. It handles MCP requests, defines the available tools, and orchestrates the code analysis process. - Rust File Scanner (
file_scanner/): A Rust library that performs the heavy lifting of file system scanning, parsing, and search. It is called by the Python server through a C FFI layer.
This hybrid approach combines the flexibility of Python for the server logic with the performance of Rust for the CPU-intensive file processing tasks.
Tools
The server exposes the following tools:
get_full_context
Scans a project directory and returns a structured overview of the codebase.
Arguments:
path(string, required): The absolute path to the project directory.extensions(array of strings, optional): A list of file extensions to include in the scan.max_depth(integer, optional): The maximum depth to scan directories.compactness_level(integer, optional): Controls the verbosity of the output.
project_wide_search
Performs a project-wide search for a given string.
Arguments:
path(string, required): The absolute path to the project directory.search_string(string, required): The string to search for.extensions(array of strings, optional): A list of file extensions to search in.context_lines(integer, optional): The number of context lines to include in the search results.
Getting Started
-
Install Dependencies:
pip install -r requirements.txt -
Build the Rust Scanner:
cd file_scanner cargo build --release cd ..
Installation
To use this server, you need to register it with your MCP-compliant client (e.g., Claude for Desktop). This typically involves adding a configuration block to the client's settings file.
Locate your MCP client's configuration file (often a settings.json or similar) and add the following entry to the mcpServers object. Make sure to replace "your-path-here\\server.py" with the absolute path to the server.py file in this project.
"mcpServers": {
"project-context": {
"disabled": false,
"timeout": 30,
"type": "stdio",
"command": "python",
"args": [
"your-path-here\\server.py"
],
"env": {}
}
}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.