<?php
declare(strict_types=1);
namespace Butschster\ContextGenerator\Config\Import;
/**
* Interface for detecting circular dependencies in imports
*/
interface CircularImportDetectorInterface
{
/**
* Check if adding this path would create a circular dependency
*/
public function wouldCreateCircularDependency(string $path): bool;
/**
* Begin processing an import path
*/
public function beginProcessing(string $path): void;
/**
* Finish processing an import path
*/
public function endProcessing(string $path): void;
}
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