Skip to main content
Glama

CTX: Context as Code (CaC) tool

by context-hub
MIT License
235
  • Apple
  • Linux
ConfigLoaderFactoryInterface.php703 B
<?php declare(strict_types=1); namespace Butschster\ContextGenerator\Config\Loader; /** * Interface for factories that create config loaders */ interface ConfigLoaderFactoryInterface { /** * Create a loader for a specific config file */ public function create(string $configPath): ConfigLoaderInterface; /** * Create a loader for a specific file path */ public function createForFile(string $configPath): ConfigLoaderInterface; /** * Create a loader for an inline JSON configuration string * * @param string $jsonConfig The JSON configuration string */ public function createFromString(string $jsonConfig): ConfigLoaderInterface; }

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