We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/neondatabase-labs/mcp-server-neon'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
// Serverless deployment on Vercel - do not use 'export' mode
// API routes require dynamic server-side rendering
// Redirect landing page to Neon docs (single source of truth)
async redirects() {
return [
{
source: '/',
destination: 'https://neon.tech/docs/ai/neon-mcp-server',
permanent: true,
},
];
},
// Backwards compatibility: old routes → new API routes
// This allows existing MCP client configurations to continue working
async rewrites() {
return [
{
source: '/mcp',
destination: '/api/mcp',
},
{
source: '/sse',
destination: '/api/sse',
},
{
source: '/health',
destination: '/api/health',
},
];
},
};
export default nextConfig;