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
This read-only MCP Server allows you to connect to LDAP data from Claude Desktop through CData JDBC Drivers....
Allow AI to wade through complex OpenAPIs using Simple Language
Paybyrd AI Agent Toolkit: A Node.js library that integrates Paybyrd payment processing services with AI models. Create payment...
This read-only MCP Server allows you to connect to Microsoft Teams data from Claude Desktop through CData JDBC...
Raindrop MCP Server
A Model Context Protocol (MCP) server for Eagle. Manages local media files (e.g., images, mp3, mp4)
MCP server para fazer requisições HTTP para webhooks com parâmetros dinâmicos
本地部署的MySql MCP服务
An MCP server that connects to your React Native application debugger
A FastMCP server that dynamically creates MCP (Model Context Protocol) servers from web API configurations. This allows you...





