🚧 Documentation In Progress
This documentation is being actively developed. More details will be added soon.
MCP Codebase Insight is a tool for analyzing and understanding codebases through semantic analysis, pattern detection, and documentation management.
- Python 3.11 or higher
- 4GB RAM minimum (8GB recommended)
- 2GB free disk space
- Docker (optional, for containerized deployment)
- Linux (Ubuntu 20.04+, CentOS 8+)
- macOS (10.15+)
- Windows 10/11 with WSL2
Yes, Qdrant is required for vector storage. You can install it via Docker (recommended) or from source. See the Qdrant Setup Guide.
Currently, only Qdrant is supported. Support for other vector databases may be added in future releases.
This usually happens when trying to install in system directories. Try:
- Using a virtual environment
- Installing with
--user
flag - Using proper permissions for directories
- Install MCP Codebase Insight
- Set up Qdrant
- Configure your environment
- Run the server
- Use the API or CLI to analyze your code
Yes, you can analyze multiple repositories by:
- Using batch analysis
- Creating separate collections
- Merging results afterward
You can customize:
- Analysis patterns
- Vector search parameters
- Documentation generation
- Output formats
See the Configuration Guide.
Common reasons:
- Large vector collection
- Limited memory
- Network latency
- Insufficient CPU resources
Solutions:
- Enable disk storage
- Adjust batch size
- Optimize search parameters
- Scale hardware resources
Memory requirements depend on:
- Codebase size
- Vector collection size
- Batch processing size
- Concurrent operations
Minimum: 4GB RAM Recommended: 8GB+ RAM
Yes, but consider:
- Setting up authentication
- Configuring CORS
- Using SSL/TLS
- Implementing monitoring
- Setting up backups
Currently supported:
- Python
- JavaScript/TypeScript
- Java
- Go
- Ruby
More languages planned for future releases.
Yes, it can:
- Generate API documentation
- Create architecture diagrams
- Maintain ADRs
- Build knowledge bases
Pattern detection uses:
- Vector embeddings
- AST analysis
- Semantic search
- Machine learning models
Yes, through:
- REST API
- Language Server Protocol
- Custom extensions
Yes, you can:
- Run analysis in CI
- Generate reports
- Enforce patterns
- Update documentation
Integrates with:
- Git
- Documentation generators
- Code quality tools
- Issue trackers
Default locations:
- Server logs:
./logs/server.log
- Access logs:
./logs/access.log
- Debug logs:
./logs/debug.log
- Check existing issues
- Create new issue with:
- Clear description
- Steps to reproduce
- System information
- Log files
Support options: