<?php
declare(strict_types=1);
namespace Butschster\ContextGenerator\Source\Registry;
use Butschster\ContextGenerator\Source\SourceInterface;
interface SourceProviderInterface
{
/**
* Check if a source type is registered
*/
public function has(string $type): bool;
/**
* Create a source from configuration
*/
public function create(string $type, array $config): SourceInterface;
}
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/context-hub/generator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server