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
RegistryInterface.php•502 B
<?php
declare(strict_types=1);
namespace Butschster\ContextGenerator\Config\Registry;
/**
* Common interface for all registries
* @template TItem of mixed
* @extends \IteratorAggregate<TItem>
*/
interface RegistryInterface extends \JsonSerializable, \IteratorAggregate
{
/**
* Get the registry type identifier
*/
public function getType(): string;
/**
* Get all items in the registry
*
* @return list<TItem>
*/
public function getItems(): array;
}