modelcontextprotocol / modelcontextprotocol/servers
[Git] Support for git init
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 90.5k
- Forks
- 11.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 5
Description
The git mcp server can do things like git add and git commit. I was using it in combination with the filesystem mcp server to create a directory and write files, however I found that it could not do git init to initiate a git repository in the directory, which is necessary before add and commit can work.
Please add support for git init
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Git MCP server entry point and the existing handlers for git add and git commit. Trace how those commands receive a target directory and are dispatched, then check the related tests if present. Done means the server can run git init in the created directory so subsequent add and commit operations work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100