Skip to main content
Glama

CTX: Context as Code (CaC) tool

by context-hub
MIT License
235
  • Apple
  • Linux
Architecture.php542 B
<?php declare(strict_types=1); namespace Butschster\ContextGenerator\Lib\GithubClient; enum Architecture: string { case Amd64 = 'amd64'; case Arm64 = 'arm64'; public static function detect(): self { $arch = \php_uname('m'); return match (\strtolower($arch)) { 'x86_64', 'amd64' => self::Amd64, 'aarch64', 'arm64' => self::Arm64, // Add more mappings as needed default => throw new \RuntimeException('Unsupported architecture: ' . $arch), }; } }

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