Skip to content

Remove mcp/node_modules from repository #22

@junghan0611

Description

@junghan0611

Issue

The mcp/node_modules/ directory is currently tracked in the repository, but it's already listed in .gitignore.

Problem

  • node_modules directories should not be committed to git repositories
  • They significantly increase repository size
  • They can cause issues when cloning/pulling (as seen with deleted files showing in git status)
  • Dependencies should be installed via npm install based on package.json

Current .gitignore

# Node.js
node_modules/
mcp/node_modules/
package-lock.json
mcp/package-lock.json

Suggested Fix

# Remove from git tracking while keeping .gitignore entry
git rm -r --cached mcp/node_modules/
git commit -m "chore: remove mcp/node_modules from tracking"

This will:

  1. Remove node_modules from the repository
  2. Keep the .gitignore rule to prevent future commits
  3. Users can run cd mcp && npm install to install dependencies locally

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