Repo Analyzer MCP Server (Local)
An MCP server that analyzes Git repositories and provides Dockerfile creation guidance. Runs locally using stdio transport.
Features
- Analyzes repository structure and dependencies
- Detects primary programming language
- Identifies exposed ports
- Handles monorepo detection
- Supports private GitHub repositories (with GITHUB_TOKEN)
- Provides detailed Dockerfile recommendations
Prerequisites
- Python >= 3.10
- Git command-line tool in PATH
- (Optional) GitHub Personal Access Token for private repos
Installation
- Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate # Linux/macOS
# or
.venvScriptsactivate # Windows
- Install dependencies:
pip install -e .
Usage
With MCP Inspector
mcp-inspector python src/repo_analyzer_mcp/server.py
With VS Code / GitHub Copilot
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.
Environment Variables
GITHUB_TOKEN: GitHub Personal Access Token (required for private repos)
Repo Analyzer (Local)
Project Details
- ankur-1garg/mcp
- Last Updated: 4/9/2025
Recomended MCP Servers
Manage Websets in Claude | Exa Websets with MCP (Model Context Protocol)
Un serveur MCP pour gérer les interactions avec l'API GitHub
MCP to allow LLMs to submit jobs to Deepwriter AI
使用 Deno 免费代理 Google Gemini,国内直连,不限地区/网络环境,打开即用。
A MCP (Model Context Protocol) server that provides automated GUI testing and control capabilities through PyAutoGUI.
This is a Model Context Protocol (MCP) server that provides access to the Shodan API. It allows you...
MCP Server for Apache Airflow
All-in-one infrastructure for search, recommendations, RAG, and analytics offered via API
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+...
@sage/mcp-apple
FEGIS is a framework for structured cognition and persistent memory in language models using Anthropic's Model Context Protocol....





