We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aymericzip/intlayer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
router.tsx•596 B
import { createRouter as createTanstackRouter } from '@tanstack/react-router';
// Import the generated route tree
import { routeTree } from './routeTree.gen';
// Create a new router instance
export const createRouter = () => {
return createTanstackRouter({
defaultPreloadStaleTime: 0,
routeTree,
scrollRestoration: true,
});
};
/**
* TODO: Enable this if you want type safety for the router instance
*/
/*
// Register the router instance for type safety
declare module '@tanstack/react-router' {
interface Register {
router: ReturnType<typeof createRouter>;
}
}
*/