Skip to main content
Glama
vercel-config.ts837 B
/** * Vercel Configuration Template * Deploy Next.js, React, or static sites */ // vercel.json example export const vercelConfig = `{ "version": 2, "framework": "nextjs", "regions": ["iad1"], "build": { "env": { "NEXT_PUBLIC_API_URL": "@api_url" } }, "headers": [ { "source": "/api/(.*)", "headers": [ { "key": "Access-Control-Allow-Origin", "value": "*" }, { "key": "Cache-Control", "value": "no-store" } ] } ], "rewrites": [ { "source": "/api/:path*", "destination": "/api/:path*" } ], "functions": { "api/**/*.ts": { "memory": 1024, "maxDuration": 10 } } }`; // Environment secrets (set via Vercel CLI or Dashboard) export const vercelEnvCommands = ` vercel env add DATABASE_URL production vercel env add API_KEY production `;

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/millsydotdev/Code-MCP'

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