This document outlines the process for updating and deploying new versions of the fast-filesystem-mcp package to npm.
- npm account with publishing permissions
- Local development environment set up
- Git repository access
Update the version number in package.json:
# Manual version update in package.json
# Change "version": "2.1.4" to "2.1.5" (or desired version)
# Or use npm commands:
npm version patch # 2.1.4 → 2.1.5 (bug fixes)
npm version minor # 2.1.4 → 2.2.0 (new features)
npm version major # 2.1.4 → 3.0.0 (breaking changes)cd /Users/cryptotax/Desktop/programs/personal/mcp/fast-filesystem-mcp
# Stage all changes
git add .
# Commit with descriptive message
git commit -m "Update to v2.1.5 - describe changes here"
# Push to GitHub
git push origin main# Build TypeScript to JavaScript
npm run build
# Publish to npm
npm publishFor quick updates, use this single command:
cd /Users/cryptotax/Desktop/programs/personal/mcp/fast-filesystem-mcp && npm run build && npm publishFollow semantic versioning (semver):
- Patch (x.y.Z): Bug fixes, small improvements
- Minor (x.Y.z): New features, backward compatible
- Major (X.y.z): Breaking changes, API changes
After deployment, verify the update:
- Check npm registry: https://www.npmjs.com/package/fast-filesystem-mcp
- Test installation:
npx -y fast-filesystem-mcp - Verify in Claude Desktop with npx configuration
-
Authentication Error
npm login # Follow the browser authentication process -
Build Errors
# Clean and rebuild rm -rf dist/ npm run build -
Version Already Exists
- Update version number in package.json
- Commit and try again
- Version number updated
- Changes committed and pushed to GitHub
- TypeScript compiled successfully
- No build errors
- npm login completed
- Package published successfully
- Deployment verified on npm registry
- The package uses TypeScript and compiles to
index.js - Binary executable is defined in package.json
binfield - Users install via
npx -y fast-filesystem-mcp(no global installation needed) - Vercel deployment is disabled - this is a local-only MCP server