Skip to main content
Glama

CTX: Context as Code (CaC) tool

by context-hub
MIT License
235
  • Apple
  • Linux
ComposerNotFoundException.php578 B
<?php declare(strict_types=1); namespace Butschster\ContextGenerator\Source\Composer\Exception; /** * Exception thrown when composer.json cannot be found or read */ final class ComposerNotFoundException extends \RuntimeException { public static function fileNotFound(string $path): self { return new self(\sprintf('composer.json file not found in path: %s', $path)); } public static function cannotParse(string $path, string $reason): self { return new self(\sprintf('Failed to parse composer.json in %s: %s', $path, $reason)); } }

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