Skip to main content
Glama
gilberth

MCP Cloudflare DNS Server

index.js572 B
import process from 'node:process'; import os from 'node:os'; import fs from 'node:fs'; import isInsideContainer from 'is-inside-container'; const isWsl = () => { if (process.platform !== 'linux') { return false; } if (os.release().toLowerCase().includes('microsoft')) { if (isInsideContainer()) { return false; } return true; } try { return fs.readFileSync('/proc/version', 'utf8').toLowerCase().includes('microsoft') ? !isInsideContainer() : false; } catch { return false; } }; export default process.env.__IS_WSL_TEST__ ? isWsl : isWsl();

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