Other MCP Server · MODEL CONTEXT PROTOCOL

ankur 1garg mcp

ankur 1garg mcp is a community-listed Model Context Protocol server. Review the source repository before installation.

WHAT IT CONNECTS

What ankur 1garg mcp gives an AI Agent

  • 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
  • Python >= 3.10
  • Git command-line tool in PATH
  • (Optional) GitHub Personal Access Token for private repos
  • Create and activate a virtual environment:
  • Install dependencies:
  • `GITHUB_TOKEN`: GitHub Personal Access Token (required for private repos)

SECURITY

An MCP listing is not a security review

An MCP server may receive model context, credentials, local files, or permission to call external systems. Review its code, requested environment variables, network behavior, package provenance, and maintenance status before connecting it to an agent.

README

Repository documentation

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

  1. Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate  # Linux/macOS
# or
.venv\Scripts\activate     # Windows
  1. 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)
View README on GitHub

COMMUNITY

Save, rate, and discuss

Loading community data…