mcp neurolora
Provides tools for collecting and documenting code from directories.
Provides tools for collecting and documenting code from directories.
An intelligent MCP server that provides tools for code analysis using OpenAI API, code collection, and documentation generation.
do not worry if you do not have anything installed yet! Just follow these steps or ask your assistant to help you with the installation.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node@18
echo 'export PATH="/opt/homebrew/opt/node@18/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
curl -LsSf https://astral.sh/uv/install.sh | sh
uv pip install uvx
Run these commands to verify everything is installed:
node --version # Should show v18.x.x
npm --version # Should show 9.x.x or higher
uv --version # Should show uv installed
uvx --version # Should show uvx installed
Your assistant will help you:
Find your Cline settings file:
VSCode: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows Claude: %APPDATA%/Claude/claude_desktop_config.json
Add this configuration:
{
"mcpServers": {
"aindreyway-mcp-neurolora": {
"command": "npx",
"args": ["-y", "@aindreyway/mcp-neurolora@latest"],
"env": {
"NODE_OPTIONS": "--max-old-space-size=256",
"OPENAI_API_KEY": "your_api_key_here"
}
}
}
}
Simply ask your assistant: "Please install the base MCP servers for my environment"
Your assistant will:
After the installation is complete:
Important: A complete restart of VSCode is required after installing the base servers for them to be properly initialized.
Note: This server uses
npx
for direct npm package execution, which is optimal for Node.js/TypeScript MCP servers, providing seamless integration with the npm ecosystem and TypeScript tooling.
The following base servers will be automatically installed and configured:
Ask your assistant to:
Analyzes code using OpenAI API and generates detailed feedback with improvement suggestions.
Parameters:
codePath
(required): Path to the code file or directory to analyzeExample usage:
{
"codePath": "/path/to/your/code.ts"
}
The tool will:
Note: Requires OpenAI API key in environment configuration
Collects all code from a directory into a single markdown file with syntax highlighting and navigation.
Parameters:
directory
(required): Directory path to collect code fromoutputPath
(optional): Path where to save the output markdown fileignorePatterns
(optional): Array of patterns to ignore (similar to .gitignore)Example usage:
{
"directory": "/path/to/project/src",
"outputPath": "/path/to/project/src/FULL_CODE_SRC_2024-12-20.md",
"ignorePatterns": ["*.log", "temp/", "__pycache__", "*.pyc", ".git"]
}
Installs base MCP servers to your configuration file.
Parameters:
configPath
(required): Path to the MCP settings configuration fileExample usage:
{
"configPath": "/path/to/cline_mcp_settings.json"
}
The server provides:
Code Analysis:
OpenAI API integration
GitHub issues generation
Code Collection:
Directory traversal
Pattern-based filtering
Base Server Management:
MIT License - feel free to use this in your projects!
Aindreyway
Give a ⭐️ if this project helped you!
[
{
"description": "Collect all code from a directory into a single markdown file",
"inputSchema": {
"properties": {
"ignorePatterns": {
"description": "Patterns to ignore (similar to .gitignore)",
"items": {
"type": "string"
},
"optional": true,
"type": "array"
},
"input": {
"oneOf": [
{
"description": "Path to directory or file to collect code from",
"type": "string"
},
{
"description": "List of file paths to collect code from",
"items": {
"type": "string"
},
"type": "array"
}
]
},
"outputPath": {
"description": "Path where to save the output markdown file",
"examples": [
"/path/to/project/src/FULL_CODE_SRC_2024-12-20.md"
],
"pattern": "^/.*",
"type": "string"
}
},
"required": [
"input",
"outputPath"
],
"type": "object"
},
"name": "collect_code"
},
{
"description": "Install base MCP servers to the configuration",
"inputSchema": {
"properties": {
"configPath": {
"description": "Path to the MCP settings configuration file",
"type": "string"
}
},
"required": [
"configPath"
],
"type": "object"
},
"name": "install_base_servers"
},
{
"description": "Analyze code using OpenAI API (requires your API key). The analysis may take a few minutes. So, wait please.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"codePath": {
"description": "Absolute path to the code file to analyze (e.g. /Users/username/project/src/code.ts)",
"type": "string"
}
},
"required": [
"codePath"
],
"type": "object"
},
"name": "analyze_code"
},
{
"description": "Create GitHub issues from analysis results. Requires GitHub token.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"issueNumbers": {
"description": "Issue numbers to create (optional, creates all issues if not specified)",
"items": {
"type": "number"
},
"type": "array"
},
"owner": {
"description": "GitHub repository owner",
"type": "string"
},
"repo": {
"description": "GitHub repository name",
"type": "string"
}
},
"required": [
"owner",
"repo"
],
"type": "object"
},
"name": "create_github_issues"
}
]