Skip to main content
Glama

News Aggregator API

db.ts504 B
/** * Database utility module * * Re-exports the database configuration and client for easier access */ import { db, prisma, Database, DatabaseConfig } from '../config/database.config'; /** * Connect to the database */ export async function connectDb(): Promise<void> { await db.connect(); } /** * Disconnect from the database */ export async function disconnectDb(): Promise<void> { await db.disconnect(); } // Re-export database objects export { db, prisma, Database, DatabaseConfig };

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/Malachi-devel/the-news-api-mcp-server'

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