modelcontextprotocol / modelcontextprotocol/servers

[Git] add ability to set user name and email via env variable

Open
#619 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
90.5k
Forks
11.7k
Avg merge
2d 2h
Merged PRs (30d)
5

Description

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When I check the commit made by the MCP run by docker, committer is shown as "root" not respect host git config.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Add environment variable which MCP server respect and use for git operation

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

  • mount git config config file?

Additional context

Add any other context or screenshots about the feature request here.

Nothing

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the TypeScript MCP server's Git operation entry points and its Docker configuration. Define done as allowing environment-provided user name and email values to be used for Git commits, then verify that a Docker-run MCP commit no longer identifies the committer as root.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, git, typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.