Skip to content

fix: stop tracking node_modules symlink; add type:http to README examples#144

Merged
mattzcarey merged 2 commits into
mainfrom
fix/remove-tracked-node-modules-symlink
Jun 3, 2026
Merged

fix: stop tracking node_modules symlink; add type:http to README examples#144
mattzcarey merged 2 commits into
mainfrom
fix/remove-tracked-node-modules-symlink

Conversation

@mattzcarey

Copy link
Copy Markdown
Contributor

Two small repo-hygiene fixes.

1. Stop tracking the node_modules symlink

PR #137 accidentally committed node_modules as a git symlink (mode 120000) pointing to an absolute local path:

node_modules -> /Users/matt/Documents/Github/cloudflare-mcp/node_modules

Even though node_modules/ is in .gitignore, the symlink itself was tracked, so it shipped to everyone — breaking fresh checkouts and leaking a local filesystem path.

Fix: git rm --cached node_modules. It's already gitignored, so it stays ignored locally and won't be re-added.

2. Add "type": "http" to README MCP config examples

Multiple Claude Code users reported they couldn't connect until they added "type": "http" to the mcpServers entry. Added it to both example blocks (default + ?codemode=false) so the config works out of the box.

{
  "mcpServers": {
    "cloudflare-api": {
      "type": "http",
      "url": "https://mcp.cloudflare.com/mcp"
    }
  }
}

PR #137 accidentally committed node_modules as a git symlink (mode 120000)
pointing to an absolute local path (/Users/matt/.../node_modules). Although
node_modules/ is gitignored, the symlink itself was tracked, so it shipped to
everyone — breaking fresh checkouts and leaking a local filesystem path.

Removes the symlink from git tracking with 'git rm --cached'. node_modules/ is
already in .gitignore, so it stays ignored locally and won't be re-added.
Multiple Claude Code users reported they couldn't connect to the server
until they added \"type\": \"http\" to the mcpServers entry. Adding it to both
example configs (default + ?codemode=false) so it works out of the box.
@mattzcarey mattzcarey merged commit 9fcb8b4 into main Jun 3, 2026
5 checks passed
@mattzcarey mattzcarey deleted the fix/remove-tracked-node-modules-symlink branch June 3, 2026 19:59
Comment thread README.md
@@ -25,6 +25,7 @@ Just connect to the MCP server URL - you'll be redirected to Cloudflare to autho
{
"mcpServers": {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants