MCP Server Neurolorap
MCP Server Neurolorap
MCP server providing tools for code analysis and documentation.
<a href="https://glama.ai/mcp/servers/rg07wseeqe"><img width="380" height="200" src="https://glama.ai/mcp/servers/rg07wseeqe/badge" alt="Server Neurolorap MCP server" /></a>
Features
Code Collection Tool
- Collect code from entire project
- Collect code from specific directories or files
- Collect code from multiple paths
- Markdown output with syntax highlighting
- Table of contents generation
- Support for multiple programming languages
Project Structure Reporter Tool
- Analyze project structure and metrics
- Generate detailed reports in markdown format
- File size and complexity analysis
- Tree-based visualization
- Recommendations for code organization
- Customizable ignore patterns
Quick Overview
You don't need to install or configure any dependencies manually. The tool will set up everything you need to analyze and document code.
Installation
You'll need to have UV >= 0.4.10 installed on your machine.
To install and run the server:
This will automatically:
- Install all required dependencies
- Configure Cline integration
- Set up the server for immediate use
The server will be available through the MCP protocol in Cline. You can use it to analyze and document code from any project.
Usage
Developer Mode
The server includes a developer mode with JSON-RPC terminal interface for direct interaction:
Available commands:
help
: Show available commandslist_tools
: List available MCP toolscollect <path>
: Collect code from specified pathreport [path]
: Generate project structure reportexit
: Exit developer mode
Example session:
Through MCP Tools
Code Collection
Project Structure Analysis
File Storage
The server uses a structured approach to file storage:
- All generated files are stored in
~/.mcp-docs/<project-name>/
- A
.neurolora
symlink is created in your project root pointing to this directory
This ensures:
- Clean project structure
- Consistent file organization
- Easy access to generated files
- Support for multiple projects
- Reliable file synchronization across different OS environments
- Fast file visibility in IDEs and file explorers
Customizing Ignore Patterns
Create a .neuroloraignore
file in your project root to customize which files are ignored:
If no .neuroloraignore
file exists, a default one will be created with common ignore patterns.
Development
- Clone the repository
- Create and activate virtual environment:
- Install development dependencies:
- Run the server:
Testing
The project maintains high quality standards through automated testing and continuous integration:
- Comprehensive test suite with over 80% code coverage
- Automated testing on Python 3.10, 3.11, and 3.12
- Continuous integration through GitHub Actions
- Regular security scans and dependency checks
For development and testing details, see PROJECT_SUMMARY.md.
Code Quality
The project maintains high code quality standards through various tools:
All these checks are run automatically on pull requests through GitHub Actions.
CI/CD Pipeline
The project uses GitHub Actions for continuous integration and deployment:
- Runs tests on Python 3.10, 3.11, and 3.12
- Checks code formatting and style
- Performs type checking
- Runs security scans
- Generates coverage reports
- Builds and validates package
- Uploads test artifacts
The pipeline must pass before merging any changes.
Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
License
MIT License. See LICENSE file for details.
MCP server for collecting code from files and directories into a single markdown document.