We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nexus-aissam/mcp-local'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
activate_dev.shβ’1.12 KiB
#!/bin/bash
# Convenience script to activate the virtual environment and start development
# Get script directory
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
cd "$PROJECT_ROOT"
# Check if virtual environment exists
if [ ! -d "venv" ]; then
echo "β Virtual environment not found. Please run ./scripts/install.sh first"
exit 1
fi
echo "π§ Activating MCP Local development environment..."
echo "π Project directory: $PROJECT_ROOT"
echo ""
echo "β Virtual environment activated!"
echo ""
echo "π Available commands:"
echo " mcp-local - Run the MCP Local server"
echo " pytest - Run tests"
echo " black src/ tests/ - Format code"
echo " isort src/ tests/ - Sort imports"
echo " flake8 src/ tests/ - Lint code"
echo " pip list - Show installed packages"
echo ""
echo "π To deactivate: type 'deactivate'"
echo ""
# Activate the virtual environment in the current shell
source venv/bin/activate
# Start a new shell with the activated environment
exec bash --rcfile <(echo "source venv/bin/activate; PS1='(mcp-local) \u@\h:\w\$ '")