Skip to main content
Glama

Adaptive Graph of Thoughts MCP Server

docker-entrypoint.shβ€’983 B
#!/bin/bash set -e # Exit immediately if a command exits with a non-zero status. mode="${1:-http}" # Default to http if no argument provided echo "Docker entrypoint called with mode: $mode" if [ "$mode" = "http" ]; then echo "Starting HTTP server..." : "${PORT:=8000}" exec uvicorn src.adaptive_graph_of_thoughts.main:app --host 0.0.0.0 --port "$PORT" elif [ "$mode" = "stdio" ]; then echo "Starting STDIO server..." exec python -m src.adaptive_graph_of_thoughts.main_stdio elif [ "$mode" = "both" ]; then # For now, 'both' mode will just run the HTTP server. # True concurrent HTTP and STDIO would require a process manager. echo "Warning: Mode 'both' currently defaults to running HTTP server only." echo "Starting HTTP server..." : "${PORT:=8000}" exec uvicorn src.adaptive_graph_of_thoughts.main:app --host 0.0.0.0 --port "$PORT" else echo "Error: Unknown mode '$mode'. Supported modes are http, stdio, both." >&2 exit 1 fi

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