Skip to main content
Glama
vite.config.ts871 B
import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], build: { outDir: "static", assetsDir: "assets", // Generate a single HTML file with all assets inlined for embedding rollupOptions: { input: { main: "index.html", }, output: { chunkFileNames: "assets/[name]-[hash].js", assetFileNames: "assets/[name]-[hash][extname]", }, }, }, server: { port: 3000, proxy: { "/api": { target: "http://localhost:29888", changeOrigin: true, }, "/ws": { target: "ws://localhost:29888", ws: true, changeOrigin: true, }, "/stream": { target: "http://localhost:29888", changeOrigin: 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/babelcloud/gru-sandbox'

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