We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/covalenthq/goldrush-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
helpers.ts•382 B
/**
* Helper function to handle bigint serialization to string in JSON
*
* @param {any} value - The value to serialize
* @returns {string} JSON string with bigints converted to strings
*/
export function stringifyWithBigInt(value: any): string {
return JSON.stringify(
value,
(_, val) => (typeof val === "bigint" ? val.toString() : val),
2
);
}