Skip to main content
Glama

@chargebee/mcp

Official
by chargebee
platform.ts663 B
import { VERSION } from '@/constants.js'; import os from 'node:os'; interface UserAgentParams { mcpClientName?: string; mcpClientVersion?: string; } /** * Generates a User-Agent string * @param {Object} params - Configuration parameters * @param {string} params.mcpClientName - Name of the MCP client * @param {string} params.mcpClientVersion - Version of the MCP client * @returns {string} Formatted User-Agent string */ export function getUserAgent({ mcpClientName = 'unknown', mcpClientVersion = 'unknown', }: UserAgentParams) { return `ChargebeeMCP/${VERSION} (${os.platform()}; Node/${process.version}; ${mcpClientName}/${mcpClientVersion})`; }

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/chargebee/agentkit'

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