We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/huiseo/outline-wiki-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
/**
* Collection Formatters
*
* Collection related formatters
*/
import type { OutlineCollection } from '../types/api.js';
/** Format collections list */
export function formatCollections(collections: OutlineCollection[]) {
return collections.map((col) => ({
id: col.id,
name: col.name,
description: col.description,
color: col.color,
documentCount: col.documentCount ?? 0,
createdAt: col.createdAt,
updatedAt: col.updatedAt,
}));
}