We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cassler/fireflies-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setup.sh•2.24 kB
#!/bin/bash
# Exit on error
set -e
# Check for npm
if ! command -v npm > /dev/null; then
echo "Error: npm (Node.js package manager) is not installed or not in your PATH."
echo "Please install Node.js and npm from https://nodejs.org/ before running this setup script."
echo "If you already have Node.js, make sure 'npm' is available in your terminal."
exit 1
fi
echo "Setting up Fireflies MCP Server..."
# Prompt for custom build directory
read -p "Enter a custom build directory (leave blank for default 'dist'): " CUSTOM_BUILD_DIR
if [ ! -z "$CUSTOM_BUILD_DIR" ]; then
export BUILD_DIR="$CUSTOM_BUILD_DIR"
echo "Using custom build directory: $BUILD_DIR"
else
echo "Using default build directory: dist"
fi
# Install dependencies
echo "Installing dependencies..."
npm install
# Build the project
if [ ! -z "$BUILD_DIR" ]; then
echo "Building the project to $BUILD_DIR..."
BUILD_DIR="$BUILD_DIR" npm run build
else
echo "Building the project..."
npm run build
fi
# Check for FIREFLIES_API_KEY in environment or .env
API_KEY_FOUND=false
if [ ! -z "$FIREFLIES_API_KEY" ]; then
API_KEY_FOUND=true
elif [ -f .env ]; then
if grep -q '^FIREFLIES_API_KEY=' .env; then
API_KEY_FOUND=true
fi
fi
if [ "$API_KEY_FOUND" = false ]; then
echo "No Fireflies API key found. Opening Fireflies API key page in your browser..."
# Open browser (macOS: open, Linux: xdg-open, Windows: start)
if command -v open > /dev/null; then
open "https://fireflies.ai/dashboard/settings/api"
elif command -v xdg-open > /dev/null; then
xdg-open "https://fireflies.ai/dashboard/settings/api"
elif command -v start > /dev/null; then
start "https://fireflies.ai/dashboard/settings/api"
else
echo "Please visit: https://fireflies.ai/dashboard/settings/api"
fi
echo
read -p "Paste your Fireflies API key here: " USER_API_KEY
if [ ! -z "$USER_API_KEY" ]; then
echo "FIREFLIES_API_KEY=$USER_API_KEY" > .env
echo "API key saved to .env file."
else
echo "No API key entered. You will need to set FIREFLIES_API_KEY before running the server."
fi
else
echo "Fireflies API key found."
fi
echo "\nSetup complete! You can now run the server with:"
echo "FIREFLIES_API_KEY=your_api_key npm start"