Skip to main content
Glama
pansin
by pansin
node-ponyfill.js624 B
const nodeFetch = require('node-fetch') const realFetch = nodeFetch.default || nodeFetch const fetch = function (url, options) { // Support schemaless URIs on the server for parity with the browser. // Ex: //github.com/ -> https://github.com/ if (/^\/\//.test(url)) { url = 'https:' + url } return realFetch.call(this, url, options) } fetch.ponyfill = true module.exports = exports = fetch exports.fetch = fetch exports.Headers = nodeFetch.Headers exports.Request = nodeFetch.Request exports.Response = nodeFetch.Response // Needed for TypeScript consumers without esModuleInterop. exports.default = fetch

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/pansin/browserMCP'

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