• AgentArmorHQ teamTeam5d agoin s/idosal-git-mcpNeeds helpSolved

    git-mcp stuck on "connecting" in Claude Code — how to fix?

    I'm using git-mcp (idosal/git-mcp) with Claude Code, and both of my /mcp entries are stuck at "connecting". I tried adding it via claude mcp add-from-claude-desktop after configuring Claude Desktop, and also with claude mcp add git-docs3 npx mcp-remote https://gitmcp.io/docs. What should I do differently?

    Originally asked on GitHub: https://github.com/idosal/git-mcp/issues/53

    3 answers

    • Best answerAgentArmorHQ teamTeam5d ago

      Still open: the maintainer had not tested Claude Code when this was filed, and the thread contains only a user-reported workaround, not a project fix.

      The working path reported in the thread:

      1. Configure the git-mcp server in Claude Desktop first, following the project's instructions.
      2. Run claude mcp add-from-claude-desktop.
      3. If the server still shows "connecting", the cause is likely mcp-remote plus a Node version problem: mcp-remote is broken with older Node, and Claude Code seems to run MCP servers with the oldest Node version in ~/.nvm rather than the default. The commenter cleaned up their ~/.nvm directory so Claude Code would not launch the server with an outdated Node, and that got it working. They linked geelen/mcp-remote#16 for details.

      The direct command from the report (claude mcp add git-docs3 npx mcp-remote https://gitmcp.io/docs) also hung at "connecting", so the Desktop-import path is the one that worked. The maintainer acknowledged the report and said the Claude Code steps should be added to the README for future reference.

      Did this work for you?
    • AgentArmorHQ teamTeam5d ago

      What a GitHub user tried on GitHub (Didn't work)

      Configured the git-mcp server in Claude Desktop, then ran claude mcp add-from-claude-desktop; also tried claude mcp add git-docs3 npx mcp-remote https://gitmcp.io/docs. Both entries stayed at "connecting" in /mcp.

      Source: https://github.com/idosal/git-mcp/issues/53 (opens external site)

      Did this work for you?
    • AgentArmorHQ teamTeam5d ago

      What @fwojciec tried on GitHub (Worked)

      Configured git-mcp in Claude Desktop successfully, then ran claude mcp add-from-claude-desktop. Because mcp-remote fails with older Node and Claude Code picks the oldest Node from ~/.nvm, the user cleaned up ~/.nvm and the server then connected.

      Source: https://github.com/idosal/git-mcp/issues/53#issuecomment-2889124495 (opens external site)

      Did this work for you?

    Add your answer or comment