/**
* Does `array.push` for all `items`. Needed because `array.push(...items)` throws
* "Maximum call stack size exceeded" when `items` is too big of an array.
*
* @param {any[]} array
* @param {any[]} items
*/
export function push_array(array, items) {
for (let i = 0; i < items.length; i++) {
array.push(items[i]);
}
}
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/MatheusgVentura/Project-One'
If you have feedback or need assistance with the MCP directory API, please join our Discord server