Skip to main content
Glama

app-store-connect-mcp-server

platform.js964 B
// Copyright 2013 Lovell Fuller and others. // SPDX-License-Identifier: Apache-2.0 'use strict'; const detectLibc = require('detect-libc'); const env = process.env; module.exports = function () { const arch = env.npm_config_arch || process.arch; const platform = env.npm_config_platform || process.platform; const libc = process.env.npm_config_libc || /* istanbul ignore next */ (detectLibc.isNonGlibcLinuxSync() ? detectLibc.familySync() : ''); const libcId = platform !== 'linux' || libc === detectLibc.GLIBC ? '' : libc; const platformId = [`${platform}${libcId}`]; if (arch === 'arm') { const fallback = process.versions.electron ? '7' : '6'; platformId.push(`armv${env.npm_config_arm_version || process.config.variables.arm_version || fallback}`); } else if (arch === 'arm64') { platformId.push(`arm64v${env.npm_config_arm_version || '8'}`); } else { platformId.push(arch); } return platformId.join('-'); };

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/JoshuaRileyDev/app-store-connect-mcp-server'

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