-
released this
2025-10-10 12:09:24 +02:00 | 0 commits to main since this releaseFilesystem MCP v2.0.0
🎉 Major Refactor
Complete refactor to improve code quality, maintainability, and developer experience.
🏗️ Architecture
Modular Structure
- Split monolithic 241-line index.ts into focused modules
- types.ts: Complete TypeScript type definitions
- tool-definitions.ts: MCP tool schemas with input validation
- handlers.ts: Tool execution logic
- filesystem-service.ts: Secure file operations
- index.ts: Minimal server setup (52 lines, 78% reduction)
Type Safety
- 100% TypeScript type safety - eliminated all
anytypes - Proper interfaces for all data structures
- Type-safe tool arguments and responses
Documentation
- Complete JSDoc documentation for all public APIs
- Detailed parameter descriptions
✨ Features
File Operations
read_file: Read file contents with size limit validationwrite_file: Write content with size limit validationlist_files: List directory contents with optional glob patternssearch_files: Search for text in files with regex support and file type filteringcreate_directory: Create directories recursivelydelete_file: Delete files or directories recursivelyget_file_info: Get detailed file/directory metadata
Security
- Path validation to prevent directory traversal attacks
- Sandboxed operations within allowed directories
- Configurable allowed paths via
ALLOWED_PATHSenvironment variable - File size limits (default: 10MB, configurable via
MAX_FILE_SIZE) - Secure glob pattern support for file filtering
🧪 Testing
- 19 comprehensive unit tests using Vitest
- Type definition tests validating all interfaces
- Tool schema validation tests
- 100% test pass rate
📦 Dependencies
- MCP SDK upgraded: 0.5.0 → 1.20.0
- Moved to devDependencies (runtime not needed)
- Added Vitest ^3.2.4 for testing
- Added @vitest/coverage-v8 for coverage reporting
📊 Code Quality Metrics
- index.ts: 241 → 52 lines (78% reduction)
- Modules: 5 focused files
- Type Safety: 100% (zero
anytypes) - JSDoc Coverage: 100%
- Test Coverage: 19 tests, all passing
- Build: Clean compilation, zero warnings
🔄 Migration Guide
No breaking changes to the MCP tool interface - all existing tool calls remain compatible.
🤖 Generated with Claude Code
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
📁 v1.0.5
StableAll checks were successfulPublish Package / publish (push) Successful in 1m49sreleased this
2025-10-07 17:10:15 +02:00 | 3 commits to main since this release📁 Secure File System Operations
v1.0.5
🐛 Bug Fixes
- use direct authentication token in CI workflow
- replace secrets.ACTIONS_TOKEN with actual token value
- fixes authentication issues with Forgejo Package Registry
📊 Statistics
- Total commits: 1
- Contributors: 1
🤖 Generated with Claude Code
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
released this
2025-10-07 17:04:55 +02:00 | 4 commits to main since this release📁 Secure File System Operations
v1.0.4
🐛 Bug Fixes
- fix npm publish by explicitly specifying registry URL
- add debug output to show .npmrc contents
- ensures npm uses Forgejo registry with proper authentication
📊 Statistics
- Total commits: 1
- Contributors: 1
🤖 Generated with Claude Code
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
released this
2025-10-07 12:51:46 +02:00 | 5 commits to main since this release📁 Secure File System Operations
v1.0.3
🐛 Bug Fixes
- fix CI workflow by separating registry configuration from authentication
- configure .npmrc in two steps: scope registry first, then auth token before publish
- this prevents npm ci from requiring authentication
📊 Statistics
- Total commits: 1
- Contributors: 1
🤖 Generated with Claude Code
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
released this
2025-10-07 12:39:07 +02:00 | 6 commits to main since this release📁 Secure File System Operations
v1.0.2
🐛 Bug Fixes
- fix CI workflow authentication using NODE_AUTH_TOKEN environment variable
- use setup-node registry-url and scope configuration for proper authentication
- CI/CD pipeline now properly authenticates with Forgejo Package Registry
📊 Statistics
- Total commits: 1
- Contributors: 1
🤖 Generated with Claude Code
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
released this
2025-10-07 12:34:01 +02:00 | 7 commits to main since this release📁 Secure File System Operations
v1.0.1
🐛 Bug Fixes
- fix npm registry configuration for scope-based installation
- dependencies now correctly fetched from npmjs.org
- only @customable packages use Forgejo registry
📊 Statistics
- Total commits: 1
- Contributors: 1
🤖 Generated with Claude Code
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
released this
2025-10-07 12:30:35 +02:00 | 8 commits to main since this release📁 Secure File System Operations
v1.0.0
🐛 Bug Fixes
- add args validation and glob dependencies (
3b9c676)
🔧 Chores
- add CHANGELOG.md (
72e6cb0)
📝 Other Changes
- Initial implementation of filesystem-mcp (
aee3d07)
📊 Statistics
- Total commits: 3
- Contributors: 1
🤖 Generated with Claude Code
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- add args validation and glob dependencies (