llm-tools/mcps/filesystem_mcp/launch_filesystem_mcp.sh
Gregory Gauthier 2de32fe1e6 refactor(paths): use relative paths in configs and launch scripts
- Update README.md to reflect relative path usage.
- Change MCP server commands in claude_desktop_config.json to relative paths.
- Modify launch scripts to use `cd "$(dirname "$0")"` and relative paths, removing OS-specific absolute prefixes.
2026-04-17 14:25:42 +01:00

20 lines
509 B
Bash
Executable File

#!/usr/bin/env zsh
echo "=== Filesystem MCP Server Launcher ==="
# Use the globally installed package
if command -v node >/dev/null 2>&1; then
echo "Starting @cyanheads/filesystem-mcp-server (stdio transport)..."
echo "Log level: debug"
echo "Press Ctrl+C to stop."
echo "----------------------------------------"
MCP_LOG_LEVEL=debug \
MCP_TRANSPORT_TYPE=stdio \
node "./dist/index.js" \
2> filesystem_mcp.log
else
echo "Error: Node.js not found!" >&2
exit 1
fi