Skip to main content
Glama

DevFlow MCP

by Takin-Profit
setup.shβ€’4.2 kB
#!/bin/bash set -e echo "πŸš€ Setting up DevFlow MCP development environment..." # Check if mise is installed if ! command -v mise &> /dev/null; then echo "πŸ“¦ Installing mise..." # Detect OS OS=$(uname -s) case "$OS" in "Darwin") # macOS - try homebrew if command -v brew &> /dev/null; then echo "Using homebrew to install mise..." brew install mise else echo "Using curl installer..." curl https://mise.run | sh export PATH="$HOME/.local/share/mise/bin:$PATH" fi ;; "Linux") # Linux - detect distribution and try package managers if [ -f /etc/os-release ]; then . /etc/os-release case "$ID" in "ubuntu"|"debian") if command -v apt &> /dev/null; then echo "Using apt to install mise..." sudo apt update && sudo apt install -y mise else echo "Using curl installer..." curl https://mise.run | sh export PATH="$HOME/.local/share/mise/bin:$PATH" fi ;; "fedora"|"rhel"|"centos") if command -v dnf &> /dev/null; then echo "Using dnf to install mise..." sudo dnf install -y mise elif command -v yum &> /dev/null; then echo "Using yum to install mise..." sudo yum install -y mise else echo "Using curl installer..." curl https://mise.run | sh export PATH="$HOME/.local/share/mise/bin:$PATH" fi ;; "arch") if command -v pacman &> /dev/null; then echo "Using pacman to install mise..." sudo pacman -S mise else echo "Using curl installer..." curl https://mise.run | sh export PATH="$HOME/.local/share/mise/bin:$PATH" fi ;; *) echo "Using curl installer..." curl https://mise.run | sh export PATH="$HOME/.local/share/mise/bin:$PATH" ;; esac else echo "Using curl installer..." curl https://mise.run | sh export PATH="$HOME/.local/share/mise/bin:$PATH" fi ;; *) echo "Using curl installer..." curl https://mise.run | sh export PATH="$HOME/.local/share/mise/bin:$PATH" ;; esac # Add to shell profiles if using curl installer if [[ "$PATH" == *".local/share/mise/bin"* ]]; then echo 'export PATH="$HOME/.local/share/mise/bin:$PATH"' >> ~/.bashrc 2>/dev/null || true echo 'export PATH="$HOME/.local/share/mise/bin:$PATH"' >> ~/.zshrc 2>/dev/null || true fi else echo "βœ… mise is already installed" fi # Trust mise configuration echo "πŸ” Trusting mise configuration..." mise trust # Install development tools echo "πŸ”§ Installing development tools (Node.js, pnpm, lefthook, ls-lint)..." mise install # Install Node.js dependencies echo "πŸ“š Installing Node.js dependencies..." pnpm install # Setup git hooks with lefthook echo "πŸͺ Setting up git hooks with lefthook..." lefthook install echo "" echo "πŸŽ‰ Setup complete! DevFlow MCP is ready for development." echo "" echo "Available commands:" echo " pnpm test # Run tests" echo " pnpm run lint # Run linter" echo " pnpm run format # Format code" echo " pnpm run build # Build the project" echo "" echo "Git hooks are now active via lefthook."

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Takin-Profit/devflow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server