Analyzes Git repositories locally via Model Context Protocol to detect languages, dependencies, monorepos, exposed ports, and offers detailed Dockerfile creation guidance with private repo support.
Unlock the full potential of Repo Analyzer MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
An MCP server that analyzes Git repositories and provides Dockerfile creation guidance. Runs locally using stdio transport.
python -m venv .venv source .venv/bin/activate # Linux/macOS # or .venv\Scripts\activate # Windows
pip install -e .
mcp-inspector python src/repo_analyzer_mcp/server.py
Add to VS Code settings (JSON) or create .vscode/mcp.json
:
{ "mcp.servers": { "repo-analyzer-local": { "type": "stdio", "command": "/path/to/venv/python", "args": ["/path/to/src/repo_analyzer_mcp/server.py"], "env": { "GITHUB_TOKEN": "${env:GITHUB_TOKEN}" }, "displayName": "Repo Analyzer (Local)" } } }
Replace /path/to/
with actual paths on your system.
GITHUB_TOKEN
: GitHub Personal Access Token (required for private repos)Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!