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
polyfills.ts•460 B
import nodeFetch, {
Headers as NodeHeaders,
Request as NodeRequest,
Response as NodeResponse,
} from 'node-fetch';
// Use different names to avoid conflicts
declare global {
function fetch(
url: string | Request | URL,
init?: RequestInit,
): Promise<Response>;
}
if (!global.fetch) {
global.fetch = nodeFetch as any;
global.Headers = NodeHeaders as any;
global.Request = NodeRequest as any;
global.Response = NodeResponse as any;
}