We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/context-hub/generator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
TreeRendererInterface.php•526 B
<?php
declare(strict_types=1);
namespace Butschster\ContextGenerator\Lib\TreeBuilder;
/**
* Interface for tree structure renderers
*/
interface TreeRendererInterface
{
/**
* Render a tree structure in a specific format
*
* @param array<string, mixed> $tree The tree structure to render
* @param array<string, mixed> $options Additional rendering options
* @return string The rendered tree
*/
public function render(
array $tree,
array $options = [],
): string;
}