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": {}
}
}
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。