Overview of git-mcp-server directory structure
mainThe git-mcp-server repository is organized into several key functional areas:
src/mcp-server: The core Model Context Protocol (MCP) implementation, containing definitions for tools, resources, and prompts.src/mcp-server/tools: Contains the specific Git operations exposed as MCP tools (e.g.,git-add,git-commit,git-push).src/mcp-server/transports: Handles communication protocols, includingstdio(standard input/output) andhttp.src/services/git: The business logic layer that executes Git operations, primarily using a CLI-based provider.src/services/storage: Manages data persistence with various providers likefileSystem,inMemory,cloudflare(KV/R2), andsupabase.skills/: Contains specialized MCP skills for tasks like maintenance, reporting issues, and releasing/publishing.tests/: Comprehensive test suite covering unit, integration, and end-to-end (e2e) tests for tools, services, and transports.