forked from cardosofelipe/fast-next-template
feat(mcp): Git Operations MCP - Foundation & Core Setup #105
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent Issue
Part of #58 (Git Operations MCP Server)
Summary
Set up the foundation for the Git Operations MCP server including project structure, dependencies, Docker configuration, and core abstractions.
Tasks
Project Setup
mcp-servers/git-ops/directory structurepyproject.tomlwith dependencies (fastmcp, gitpython, httpx)Dockerfilewith Git CLI installed.dockerignoredocker-compose.dev.ymlREADME.mdwith setup instructionsCore Models & Exceptions
models.pywith result types (CloneResult, BranchResult, CommitResult, etc.)exceptions.pywith error hierarchy (GitError, CloneError, PushError, etc.)config.pywith configuration managementBase Abstractions
GitProviderprotocol for provider implementationsGitOperationsprotocol for git wrapper__init__.pywith exportsTesting Foundation
tests/directory structureconftest.pywith fixturesAcceptance Criteria
IS_TEST=True uv run pytestLabels