We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jpisnice/shadcn-ui-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
paths.ts•453 B
import type { getAxiosImplementation } from './framework.js';
type AxiosImpl = Awaited<ReturnType<typeof getAxiosImplementation>>;
type AxiosPaths = AxiosImpl["paths"];
export function getDefaultPath(paths: AxiosPaths): string | undefined {
if ("BLOCKS" in paths) return paths.BLOCKS;
if ("CURRENT_REGISTRY_PATH" in paths) return paths.CURRENT_REGISTRY_PATH;
if ("NEW_YORK_V4_PATH" in paths) return paths.NEW_YORK_V4_PATH;
return undefined;
}