Skip to main content
Glama
gilberth

MCP Cloudflare DNS Server

initialize.js672 B
'use strict'; // See https://github.com/facebook/jest/issues/2549 // eslint-disable-next-line node/prefer-global/url const {URL} = require('url'); const checkType = require('../utils/check-type.js'); module.exports = (self, proxyOptions) => { checkType('proxyOptions', proxyOptions, ['object']); checkType('proxyOptions.headers', proxyOptions.headers, ['object', 'undefined']); checkType('proxyOptions.raw', proxyOptions.raw, ['boolean', 'undefined']); checkType('proxyOptions.url', proxyOptions.url, [URL, 'string']); const url = new URL(proxyOptions.url); self.proxyOptions = { raw: true, ...proxyOptions, headers: {...proxyOptions.headers}, url }; };

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/gilberth/mcp-cloudflare'

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