20 lines
609 B
Bash
20 lines
609 B
Bash
|
|
#!/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
|