We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/osamaloup/mcp-file-git-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
start.shβ’753 B
#!/bin/bash
# MCP File & Git Server Startup Script
set -e
echo "π Starting MCP File & Git Server..."
# Check Node version
if command -v nvm &> /dev/null; then
echo "π¦ Using nvm..."
source ~/.nvm/nvm.sh
nvm use 20 || nvm install 20
fi
# Check if node_modules exists
if [ ! -d "node_modules" ]; then
echo "π¦ Installing dependencies..."
npm install
fi
# Build TypeScript
echo "π¨ Building TypeScript..."
npm run build
# Set default project root if not set
if [ -z "$PROJECT_ROOT" ]; then
export PROJECT_ROOT=/Users/lachaal/kjr/cursor
echo "π Using default PROJECT_ROOT: $PROJECT_ROOT"
fi
# Start server
echo "β Starting server on port ${PORT:-3001}..."
echo "π Project root: $PROJECT_ROOT"
npm start