## @@start:TO CHECK THE CONNECTION to DB
from utils.db import execute_sql_query
import asyncio
async def main():
x = await execute_sql_query("SELECT * FROM information_schema.schemata")
for item in x:
print("--------------------------------")
print("schema_name: ",item["schema_name"])
print("schema_owner: ",item["schema_owner"])
print("--------------------------------")
if __name__ == "__main__":
asyncio.run(main())
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/gharshit/mcpServer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server