Skip to main content
Glama
dashboard.ts543 B
import { dashboardDataAccess } from "@repo/db/database/admin"; import { adminProcedure, createTRPCRouter } from "@repo/trpc"; export const dashboardRouter = createTRPCRouter({ getStats: adminProcedure .query(async () => { return dashboardDataAccess.getDashboardStats(); }), getPendingItems: adminProcedure .query(async () => { return dashboardDataAccess.getPendingItems(); }), getRecentActivities: adminProcedure .query(async () => { return dashboardDataAccess.getRecentActivities(); }) });

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/metacode0602/open-mcp'

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