Skip to main content
Glama

CTX: Context as Code (CaC) tool

by context-hub
MIT License
235
  • Apple
  • Linux
FinderInterface.php856 B
<?php declare(strict_types=1); namespace Butschster\ContextGenerator\Lib\Finder; use Butschster\ContextGenerator\Source\Fetcher\FilterableSourceInterface; /** * Interface for file finders * * This interface defines the contract for different file finding implementations, * allowing for consistent usage across different sources (local files, GitHub, etc.) */ interface FinderInterface { /** * Find files based on the given source configuration * * @param FilterableSourceInterface $source Source configuration with filter criteria * @param string $basePath Optional base path to normalize file paths in the tree view * @return FinderResult The result containing found files and tree view */ public function find(FilterableSourceInterface $source, string $basePath = '', array $options = []): FinderResult; }

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