Skip to content

Commit 57add81

Browse files
committed
feat(mcp): add cross-platform Windows support to filesystem example
Implement automatic OS detection to support Windows, Linux, and macOS without code changes. Windows requires cmd.exe wrapper for npx batch files, while Unix systems execute npx directly. Changes: - Add isWindows() method with conditional ServerParameters creation - Support both programmatic and JSON configuration approaches - Use @ConditionalOnMissingBean to avoid bean conflicts - Add Windows and Linux JSON configuration files - Update README with cross-platform quick start and troubleshooting - Use relative paths for better portability
1 parent 21e59de commit 57add81

File tree

6 files changed

+448
-112
lines changed

6 files changed

+448
-112
lines changed

0 commit comments

Comments
 (0)