Skip to main content
Glama
verify_db.py550 B
from src.db_utils import get_postgres_connection import psycopg2.extras def check_cuisines(): conn = get_postgres_connection() try: with conn.cursor(cursor_factory=psycopg2.extras.RealDictCursor) as cur: cur.execute("SELECT * FROM cuisines") rows = cur.fetchall() print(f"Found {len(rows)} cuisines:") for row in rows: print(row) except Exception as e: print(f"Error: {e}") finally: conn.close() if __name__ == "__main__": check_cuisines()

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/SUSHRUTH3002/MCP'

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