Skip to main content
Glama
vite.config.ts589 B
import { defineConfig } from 'vite'; import tsConfigPaths from 'vite-tsconfig-paths'; import { tanstackStart } from '@tanstack/react-start/plugin/vite'; import viteReact from '@vitejs/plugin-react'; import * as dotenv from 'dotenv'; // Load .env.local (TanStack Start/Vite convention) dotenv.config({ path: '.env.local', quiet: true }); // Also load .env as fallback dotenv.config({ quiet: true }); export default defineConfig({ server: { port: 3000, }, plugins: [ tsConfigPaths({ projects: ['./tsconfig.json'], }), tanstackStart(), viteReact(), ], });

Latest Blog Posts

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/get-convex/convex-backend'

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