We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hiltonbrown/xero-mcp-with-next-js'
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 = {
serverExternalPackages: ['@modelcontextprotocol/sdk', '@prisma/client', 'xero-node'],
webpack: (config) => {
config.externals.push({
'utf-8-validate': 'commonjs utf-8-validate',
'bufferutil': 'commonjs bufferutil',
});
return config;
},
// Security headers
async headers() {
return [
{
source: '/api/(.*)',
headers: [
{
key: 'X-Content-Type-Options',
value: 'nosniff',
},
{
key: 'X-Frame-Options',
value: 'DENY',
},
{
key: 'X-XSS-Protection',
value: '1; mode=block',
},
{
key: 'Referrer-Policy',
value: 'strict-origin-when-cross-origin',
},
],
},
];
},
};
export default nextConfig;