Skip to main content
Glama
proxy.ts417 B
import { proxy } from '@/i18n'; // Middleware runs before routes, handling locale detection and routing // localeDetection: true uses Accept-Language header to auto-detect locale export default proxy; export const config = { // Skip API, Next internals and static assets // Regex: match all routes except those starting with api, _next, or containing a dot (files) matcher: ['/((?!api|_next|.*\\..*).*)'], };

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/aymericzip/intlayer'

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