Skip to main content
Glama

MCP Server for Intercom

serverConfig.js882 B
/** * Global server configuration for the Intercom MCP Server */ // Default API base URL for Intercom let apiBaseUrl = "https://api.intercom.io"; // Server configuration let serverConfig = { authToken: '' }; /** * Set the API base URL for Intercom * @param {string} url - The base URL for the Intercom API */ export function setApiBaseUrl(url) { apiBaseUrl = url; } /** * Get the current API base URL * @returns {string} The current API base URL */ export function getApiBaseUrl() { return apiBaseUrl; } /** * Set the server configuration * @param {object} config - The server configuration */ export function setServerConfig(config) { serverConfig = { ...serverConfig, ...config }; } /** * Get the current server configuration * @returns {object} The current server configuration */ export function getServerConfig() { return serverConfig; }

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/raoulbia-ai/mcp-server-for-intercom'

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