Skip to main content
Glama
client.ts492 B
import { type AppRouter } from "@repo/trpc"; // TRPC Client Api for Client Components with "use client" import type { TRPCClient } from "@trpc/client"; import { createTRPCClient } from "@trpc/client"; import { createTRPCReact } from "@trpc/react-query"; import { trpcLinks } from "./links"; export const clientApi: TRPCClient<AppRouter> = createTRPCClient<AppRouter>({ links: trpcLinks, }); export const trpc: ReturnType<typeof createTRPCReact<AppRouter>> = createTRPCReact<AppRouter>();

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