llm-tools/mcps/filesystem_mcp/launch_filesystem_mcp.sh
Gregory Gauthier 83ec950df7 first commit
2026-04-08 12:11:04 +01:00

20 lines
609 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 "/Users/gregory.gauthier/.nvm/versions/node/v22.19.0/lib/node_modules/@cyanheads/filesystem-mcp-server/dist/index.js" \
2> filesystem_mcp.log
else
echo "Error: Node.js not found!" >&2
exit 1
fi