Skip to main content
Glama

Adaptive Graph of Thoughts MCP Server

install-dxt.shβ€’3.45 kB
#!/bin/bash # Adaptive Graph of Thoughts DXT Installation Script # This script installs and sets up the DXT extension set -e echo "🧠 Adaptive Graph of Thoughts DXT Installation" echo "==============================================" # Check prerequisites echo "πŸ“‹ Checking prerequisites..." # Check Node.js if ! command -v node &> /dev/null; then echo "❌ Node.js is not installed. Please install Node.js 18 or later." exit 1 fi NODE_VERSION=$(node --version | cut -d'v' -f2 | cut -d'.' -f1) if [ "$NODE_VERSION" -lt 18 ]; then echo "❌ Node.js version $NODE_VERSION is too old. Please upgrade to Node.js 18 or later." exit 1 fi echo "βœ… Node.js $(node --version) detected" # Check Python if ! command -v python3 &> /dev/null; then echo "❌ Python 3 is not installed. Please install Python 3.11 or later." exit 1 fi PYTHON_VERSION=$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1-2) if ! python3 -c "import sys; exit(0 if sys.version_info >= (3, 11) else 1)"; then echo "❌ Python version $PYTHON_VERSION is too old. Please upgrade to Python 3.11 or later." exit 1 fi echo "βœ… Python $(python3 --version) detected" # Check if we're in the right directory if [ ! -f "manifest.json" ]; then echo "❌ manifest.json not found. Please run this script from the project root directory." exit 1 fi # Install Node.js dependencies echo "πŸ“¦ Installing Node.js dependencies..." cd server if [ ! -f "package.json" ]; then echo "❌ server/package.json not found. Installation files may be corrupted." exit 1 fi npm install if [ $? -ne 0 ]; then echo "❌ Failed to install Node.js dependencies." exit 1 fi echo "βœ… Node.js dependencies installed" cd .. # Check if Python dependencies are installed echo "🐍 Checking Python dependencies..." if ! python3 -c "import poetry" &> /dev/null; then echo "⚠️ Poetry not found. Please install Python dependencies manually:" echo " pip install -r requirements.txt" else echo "βœ… Poetry detected, Python dependencies should be managed via 'poetry install'" fi # Create logs directory echo "πŸ“ Creating logs directory..." mkdir -p server/logs echo "βœ… Logs directory created" # Configuration check echo "βš™οΈ Configuration check..." if [ -z "$NEO4J_PASSWORD" ]; then echo "⚠️ Warning: NEO4J_PASSWORD environment variable not set." echo " You may need to set this before running the extension." fi # Test basic functionality echo "πŸ§ͺ Testing basic functionality..." cd server timeout 10 node -e " const server = require('./index.js'); console.log('βœ… Server module loads successfully'); process.exit(0); " 2>/dev/null || echo "⚠️ Could not test server module (this may be normal)" cd .. echo "" echo "πŸŽ‰ Installation completed!" echo "" echo "πŸ“‹ Next steps:" echo "1. Ensure Neo4j is running with APOC library installed" echo "2. Start the Python backend server:" echo " poetry run uvicorn src.adaptive_graph_of_thoughts.main:app --reload" echo "3. Configure your MCP client (Claude Desktop, VS Code, etc.)" echo "4. Test the extension with your AI client" echo "" echo "πŸ“– For detailed setup instructions, see DXT_README.md" echo "" echo "πŸ”§ Environment variables you may want to set:" echo " export NEO4J_URI='bolt://localhost:7687'" echo " export NEO4J_USERNAME='neo4j'" echo " export NEO4J_PASSWORD='your_password'" echo " export LOG_LEVEL='INFO'" echo "" exit 0

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/SaptaDey/Adaptive-Graph-of-Thoughts-MCP-server'

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