modelcontextprotocol / modelcontextprotocol/servers
Error Adding Git MCP Plugin in Windsurf IDE: npm E404 Not Found
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 90.5k
- Forks
- 11.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 5
Description
Describe the bug
When attempting to add the Git MCP plugin in the latest version of Windsurf IDE, an error occurs indicating a failure to initialize the server. The npm error code E404 suggests that the package @modelcontextprotocol/server-git is not found in the npm registry.
To Reproduce
Steps to reproduce the behavior:
- Open the latest version of Windsurf IDE.
- Navigate to the Configure section for adding plugins.
- Attempt to add the Git MCP plugin by executing
npm exec @modelcontextprotocol/server-git. - Observe the error message in the IDE.
Expected behavior
The Git MCP plugin should be successfully added and initialized without any errors, allowing integration with Git repositories in Windsurf IDE.
Logs
Error: failed to initialize server: npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/@modelcontextprotocol%2fserver-git - Not found npm error 404 npm error 404 '@modelcontextprotocol/server-git@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a tarball, folder, http url, or git url. A complete log of this run can be found in: /home/umair/.npm/_logs/2025-06-12T05_55_07_678Z-debug-0.log
debug0.log: server terminated.
Additional context
The issue occurs on a Linux system (Linux 6.11.0-26-generic) with Node v20.19.2 and npm v10.8.2. The error suggests the package may not be published to the npm registry or there might be a misconfiguration. No Git configuration is needed as per the IDE's indication.
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 running npm exec @modelcontextprotocol/server-git and checking whether the package exists in the npm registry. Trace how the Git MCP server is published or referenced, using the Windsurf reproduction and logged E404 as the failure case. Done means the documented command resolves the package and the server initializes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100