Skip to main content
Glama
sanity_check.py746 B
import sys import os # Add project root to path so imports work sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) try: from src.config import Config from src.services.budget_manager import BudgetManager from src.main import get_account_status print("SUCCESS: Imports are working!") print(f"Budget Limit: {Config.MAX_CREDITS}") # We won't call get_account_status() because it needs a real API key # and we don't want to burn credits or fail on auth in a basic sanity check. # But just checking the import is enough to prove the structure is valid. except ImportError as e: print(f"FAILURE: Import error: {e}") except Exception as e: print(f"FAILURE: {e}")

Latest Blog Posts

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/nice-bills/dune-mcp'

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