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
GithubClientInterface.php•951 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;
}