Skip to main content
Glama
vite.config.ts617 B
import react from '@vitejs/plugin-react'; import dns from 'dns'; import { copyFileSync, existsSync } from 'fs'; import path from 'path'; import { defineConfig } from 'vite'; dns.setDefaultResultOrder('verbatim'); if (!existsSync(path.join(__dirname, '.env'))) { copyFileSync(path.join(__dirname, '.env.defaults'), path.join(__dirname, '.env')); } dns.setDefaultResultOrder('verbatim'); // https://vitejs.dev/config/ export default defineConfig({ envPrefix: ['MEDPLUM_', 'GOOGLE_', 'PHOTON_'], plugins: [react()], server: { host: 'localhost', port: 3000, }, test: { globals: true, }, });

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/medplum/medplum'

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