We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/seratch/openai-sdk-knowledge-org'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
index.ts•317 B
import type { D1Database } from "@cloudflare/workers-types";
import { drizzle, type DrizzleD1Database } from "drizzle-orm/d1";
import * as schema from "./schema";
export type DrizzleDB = DrizzleD1Database<typeof schema>;
export function getDrizzleDB(db: D1Database): DrizzleDB {
return drizzle(db, { schema });
}