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
TemplateProviderInterface.php•613 B
<?php
declare(strict_types=1);
namespace Butschster\ContextGenerator\Template\Registry;
use Butschster\ContextGenerator\Template\Template;
/**
* Interface for template providers
*/
interface TemplateProviderInterface
{
/**
* Get all templates provided by this provider
*
* @return array<Template>
*/
public function getTemplates(): array;
/**
* Get a specific template by name
*/
public function getTemplate(string $name): ?Template;
/**
* Get the priority of this provider (higher = more important)
*/
public function getPriority(): int;
}