We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ai-debugger/aidb'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
docs-build.sh•1.04 kB
#!/usr/bin/env bash
set -euo pipefail
cd /docs
# Copy source to writable location
# The /workspace mount is read-only, but pip needs to write .egg-info during install
echo "Setting up source for documentation generation..."
cp -r /workspace /tmp/aidb-src
# Install the package and its dependencies
# This includes aidb_cli for sphinx-click to generate CLI docs
pip install --quiet /tmp/aidb-src[docs]
# Set autoapi source root for sphinx-autoapi extension
export AUTOAPI_SOURCE_ROOT="/tmp/aidb-src/src"
# Build HTML and capture warnings
mkdir -p _build
# Don't fail on warnings (Sphinx returns exit code 1 for warnings with nitpicky=True)
# The build succeeds even with warnings, we just capture them for reference
sphinx-build -b html -w _build/warnings.txt . _build/html || true
# Only check links if SKIP_LINKCHECK is not set
# Linkcheck is slow (~10s) and not needed for every local build
if [[ "${SKIP_LINKCHECK:-0}" != "1" ]]; then
sphinx-build -b linkcheck -w _build/linkcheck_warnings.txt . _build/linkcheck || true
fi