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
ProjectWhitelistRegistryInterface.php•748 B
<?php
declare(strict_types=1);
namespace Butschster\ContextGenerator\McpServer\Project;
/**
* Registry for whitelisted projects from context.yaml.
*
* This registry stores projects that have been configured in context.yaml
* and validated against .project-state.json aliases.
*/
interface ProjectWhitelistRegistryInterface
{
/**
* Check if a project is in the whitelist.
*
* @param string $projectName Project alias to check
*/
public function isAllowed(string $projectName): bool;
/**
* Get all whitelisted projects.
*
* @return ProjectConfig[]
*/
public function getProjects(): array;
/**
* Check if the whitelist is empty.
*/
public function isEmpty(): bool;
}