Skip to main content
Glama

Adaptive Graph of Thoughts MCP Server

utils.jsβ€’412 B
/** * Parses a string containing newline-delimited JSON (NDJSON) and returns an array of parsed objects. * @param {string} text - The NDJSON-formatted string to parse. * @return {Object[]} An array of objects parsed from each non-empty line of the input. */ function parseNdjson(text) { return text.trim().split(/\r?\n/).filter(Boolean).map((line) => JSON.parse(line)); } module.exports = { parseNdjson };

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/SaptaDey/Adaptive-Graph-of-Thoughts-MCP-server'

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