Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
aa38212
fix: comprehensive Windows path handling improvements
mfcasazza Jan 16, 2025
83e1dee
tested locally and working now
mfcasazza Jan 18, 2025
88089fc
Merge pull request #1 from mfcasazza/fix-windows-paths
mfcasazza Jan 18, 2025
6355f12
Merge branch 'modelcontextprotocol:main' into main
mfcasazza Jan 18, 2025
baa5f39
Add filesystem path utils and tests
mfcasazza Jan 18, 2025
9d6b7aa
Resolve merge conflicts - keep Unix path handling
mfcasazza Jan 18, 2025
4d9a35c
Merge branch 'main' into main
mfcasazza Jan 20, 2025
ac4e10e
Merge branch 'main' into main
mfcasazza Jan 22, 2025
0ecf33a
Merge branch 'main' into main
mfcasazza Jan 30, 2025
5e4a2bd
Merge branch 'modelcontextprotocol:main' into main
mfcasazza Jan 31, 2025
382e679
Merge branch 'modelcontextprotocol:main' into main
mfcasazza Feb 3, 2025
9c2091b
Merge branch 'main' into main
mfcasazza Feb 8, 2025
b82487e
Ensure Windows drive letters are capitalized in normalizePath
mfcasazza Feb 8, 2025
3ebe30e
Merge pull request #2 from mfcasazza/pr-543
mfcasazza Feb 8, 2025
0f948c7
Merge branch 'main' into main
mfcasazza Feb 9, 2025
5c6f8f4
Merge branch 'main' into main
mfcasazza Feb 12, 2025
b305280
Merge branch 'main' into main
mfcasazza Feb 23, 2025
02f4c74
Merge branch 'main' into main
mfcasazza Feb 27, 2025
cc9d6cf
adding test for gh pr comment
mfcasazza Mar 1, 2025
133a02c
Merge branch 'main' into main
mfcasazza Mar 5, 2025
340edd0
Merge branch 'main' into main
mfcasazza Mar 12, 2025
b5882f5
Merge branch 'main' into main
mfcasazza Mar 14, 2025
92e90e0
Merge branch 'main' into main
mfcasazza Mar 26, 2025
d404db8
pushing jest and windows testing config
mfcasazza Apr 1, 2025
2f277a1
Merge branch 'main' into main
mfcasazza Apr 1, 2025
0498f20
Merge branch 'main' of https://github.com/mfcasazza/servers
mfcasazza Apr 1, 2025
3bf4af1
Merge branch 'main' into main
mfcasazza Apr 1, 2025
2e8143d
last commit? fixing comments on PR
mfcasazza Apr 1, 2025
9322044
Merge branch 'main' into main
mfcasazza Apr 10, 2025
26e5118
Merge remote-tracking branch 'upstream/main' into pr-543
olaservo Jun 21, 2025
2d31340
Fix bin and bump sdk
olaservo Jun 21, 2025
477f993
Remove redundant commonjs version of path-utils and import from ts ve…
olaservo Jun 21, 2025
8fafc93
Remove copying cjs file
olaservo Jun 21, 2025
b9a3299
Remove copying run-server
olaservo Jun 21, 2025
87fc65d
Remove complex args parsing and do other cleanup
olaservo Jun 21, 2025
ae2ed89
Add missing tools details to Readme
olaservo Jun 21, 2025
6d3b39c
Move utility functions from index to lib
olaservo Jun 23, 2025
8b35629
Add more tests and handle very small and very large files edge cases
olaservo Jun 23, 2025
4b9c747
Merge branch 'main' into main
olaservo Jun 23, 2025
c1a907a
Merge branch 'main' into main
olaservo Jun 25, 2025
609e7b0
Merge branch 'main' into main
olaservo Jun 28, 2025
1d608b2
Merge branch 'main' into pr-543-filesystem-enhancements
olaservo Jul 7, 2025
9105f43
Finish refactoring and include original security fix comments
olaservo Jul 8, 2025
b711291
On Windows, also check for drive root
olaservo Jul 8, 2025
77b2b5c
Check symlink support on restricted Windows environments
olaservo Jul 8, 2025
0321d1d
Fix tests
olaservo Jul 8, 2025
0655884
Bump SDK and package version
olaservo Jul 8, 2025
2f0656e
Merge branch 'main' into main
olaservo Jul 8, 2025
af3be34
Merge branch 'main' into main
mfcasazza Jul 15, 2025
804170c
Merge branch 'main' into main
mfcasazza Jul 19, 2025
8ad3851
Merge branch 'main' into main
olaservo Jul 22, 2025
92852dd
Merge branch 'main' into main
olaservo Jul 22, 2025
e6d12a5
Merge branch 'main' into main
mfcasazza Jul 24, 2025
3e413ff
Merge branch 'main' into main
domdomegg Aug 15, 2025
60a921d
Clean up
domdomegg Aug 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions src/filesystem/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ The server's directory access control follows this flow:
- `head` (number, optional): First N lines
- `tail` (number, optional): Last N lines
- Always treats the file as UTF-8 text regardless of extension
- Cannot specify both `head` and `tail` simultaneously

- **read_media_file**
- Read an image or audio file
Expand Down Expand Up @@ -123,6 +124,23 @@ The server's directory access control follows this flow:
- List directory contents with [FILE] or [DIR] prefixes
- Input: `path` (string)

- **list_directory_with_sizes**
- List directory contents with [FILE] or [DIR] prefixes, including file sizes
- Inputs:
- `path` (string): Directory path to list
- `sortBy` (string, optional): Sort entries by "name" or "size" (default: "name")
- Returns detailed listing with file sizes and summary statistics
- Shows total files, directories, and combined size

- **directory_tree**
- Get a recursive tree view of files and directories as a JSON structure
- Input: `path` (string): Starting directory path
- Returns JSON structure with:
- `name`: File/directory name
- `type`: "file" or "directory"
- `children`: Array of child entries (for directories only)
- Output is formatted with 2-space indentation for readability

- **move_file**
- Move or rename files and directories
- Inputs:
Expand Down
Loading