Skip to main content
Glama

CTX: Context as Code (CaC) tool

by context-hub
MIT License
235
  • Apple
  • Linux
GithubClientInterface.php951 B
<?php declare(strict_types=1); namespace Butschster\ContextGenerator\Lib\GithubClient; use Butschster\ContextGenerator\Lib\GithubClient\Model\GithubRepository; interface GithubClientInterface { /** * Get repository contents from the GitHub API */ public function getContents(GithubRepository $repository, string $path = ''): array; /** * Get file content from GitHub API * @return string File content */ public function getFileContent(GithubRepository $repository, string $path): string; /** * Set the GitHub API token * * @param string|null $token GitHub API token */ public function setToken(?string $token): void; /** * Get the release manager for a repository * * @param GithubRepository $repository Repository * @return ReleaseManager Release manager */ public function getReleaseManager(GithubRepository $repository): ReleaseManager; }

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