MCP Neurolora
An intelligent MCP server that provides tools for code analysis using OpenAI API, code collection, and documentation generation.
README
MCP Neurolora
An intelligent MCP server that provides tools for code analysis using OpenAI API, code collection, and documentation generation.
🚀 Installation Guide
Don't worry if you don't have anything installed yet! Just follow these steps or ask your assistant to help you with the installation.
Step 1: Install Node.js
macOS
- Install Homebrew if not installed:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - Install Node.js 18:
brew install node@18 echo 'export PATH="/opt/homebrew/opt/node@18/bin:$PATH"' >> ~/.zshrc source ~/.zshrc
Windows
- Download Node.js 18 LTS from nodejs.org
- Run the installer
- Open a new terminal to apply changes
Linux (Ubuntu/Debian)
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
Step 2: Install uv and uvx
All Operating Systems
-
Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh -
Install uvx:
uv pip install uvx
Step 3: Verify Installation
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
Step 4: Configure MCP Server
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 - Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows VSCode:
%APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json - Windows Claude:
%APPDATA%/Claude/claude_desktop_config.json
- VSCode:
-
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" } } } }
Step 5: Install Base Servers
Simply ask your assistant: "Please install the base MCP servers for my environment"
Your assistant will:
- Find your settings file
- Run the install_base_servers tool
- Configure all necessary servers automatically
After the installation is complete:
- Close VSCode completely (Cmd+Q on macOS, Alt+F4 on Windows)
- Reopen VSCode
- The new servers will be ready to use
Important: A complete restart of VSCode is required after installing the base servers for them to be properly initialized.
Note: This server uses
npxfor direct npm package execution, which is optimal for Node.js/TypeScript MCP servers, providing seamless integration with the npm ecosystem and TypeScript tooling.
Base MCP Servers
The following base servers will be automatically installed and configured:
- fetch: Basic HTTP request functionality for accessing web resources
- puppeteer: Browser automation capabilities for web interaction and testing
- sequential-thinking: Advanced problem-solving tools for complex tasks
- github: GitHub integration features for repository management
- git: Git operations support for version control
- shell: Basic shell command execution with common commands:
- ls: List directory contents
- cat: Display file contents
- pwd: Print working directory
- grep: Search text patterns
- wc: Count words, lines, characters
- touch: Create empty files
- find: Search for files
🎯 What Your Assistant Can Do
Ask your assistant to:
- "Analyze my code and suggest improvements"
- "Install base MCP servers for my environment"
- "Collect code from my project directory"
- "Create documentation for my codebase"
- "Generate a markdown file with all my code"
🛠 Available Tools
analyze_code
Analyzes code using OpenAI API and generates detailed feedback with improvement suggestions.
Parameters:
codePath(required): Path to the code file or directory to analyze
Example usage:
{
"codePath": "/path/to/your/code.ts"
}
The tool will:
- Analyze your code using OpenAI API
- Generate detailed feedback with:
- Issues and recommendations
- Best practices violations
- Impact analysis
- Steps to fix
- Create two output files in your project:
- LAST_RESPONSE_OPENAI.txt - Human-readable analysis
- LAST_RESPONSE_OPENAI_GITHUB_FORMAT.json - Structured data for GitHub issues
Note: Requires OpenAI API key in environment configuration
collect_code
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"]
}
install_base_servers
Installs base MCP servers to your configuration file.
Parameters:
configPath(required): Path to the MCP settings configuration file
Example usage:
{
"configPath": "/path/to/cline_mcp_settings.json"
}
🔧 Features
The server provides:
-
Code Analysis:
- OpenAI API integration
- Structured feedback
- Best practices recommendations
- GitHub issues generation
-
Code Collection:
- Directory traversal
- Syntax highlighting
- Navigation generation
- Pattern-based filtering
-
Base Server Management:
- Automatic installation
- Configuration handling
- Version management
📄 License
MIT License - feel free to use this in your projects!
👤 Author
Aindreyway
- GitHub: @aindreyway
⭐️ Support
Give a ⭐️ if this project helped you!
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。