Skip to content

MCP error -32603: Failed to get git user.email: Command failed with ENOENT: git config user.email #2

@akamalov

Description

@akamalov

Environment

  • Windows 11
  • WSL
  • Cursor 0.49.6

Problem

Cursor calls git-commit-aider, which is running with the following configuration:

"git-commit-aider": {
            "command": "npx",
            "args": [
                "mcp-git-commit-aider"
            ],
            "env": {
                "GIT_COMMITTER_NAME": "XXXX XXXXX",
                "GIT_COMMITTER_EMAIL": "XXXX@gmail.com"
            }
        }

However, I get the error such as this:

MCP error -32603: Failed to get git user.email: Command failed with ENOENT: git config user.email

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions