git-mcp icon indicating copy to clipboard operation
git-mcp copied to clipboard

Claude code integration

Open austeane opened this issue 8 months ago • 3 comments

I've tried adding this to claude code two ways 1: Claude desktop, then claude mcp add-from-claude-desktop 2: claude mcp add git-docs3 npx mcp-remote https://gitmcp.io/docs

When I go into claude code, and do /mcp both say "connecting". What should I do differently?

austeane avatar Apr 10 '25 09:04 austeane

Thanks for the report! I haven't tried Claude Code yet. We've only added it to Claude Desktop as mentioned in the instructions. We'll look into it.

idosal avatar Apr 11 '25 13:04 idosal

hey, fyi, got it working with Claude Code (using claude mcp add-from-claude-desktop after first configuring for Claude Desktop successfully). my initial issue was with the mcp-remote lib which apparently is broken with older version of node + the fact that Claude Code seems to automatically select the oldest version of Node from .nvm when it's running the server - rather than whatever is set as the default. so I had to clean up my ~/.nvm directory to get it to work.

sharing in case it helps someone. see the discussion here for more details: https://github.com/geelen/mcp-remote/issues/16

fwojciec avatar May 18 '25 17:05 fwojciec

Thanks a lot @fwojciec! We should add it to the README andcontent.tsx for future reference.

idosal avatar May 18 '25 20:05 idosal