Skip to main content
Glama

CTX: Context as Code (CaC) tool

by context-hub
MIT License
235
  • Apple
  • Linux
RenderStrategyInterface.php602 B
<?php declare(strict_types=1); namespace Butschster\ContextGenerator\Source\GitDiff\RenderStrategy; use Butschster\ContextGenerator\Lib\Content\ContentBuilder; use Butschster\ContextGenerator\Source\GitDiff\RenderStrategy\Config\RenderConfig; /** * Interface for git diff rendering strategies */ interface RenderStrategyInterface { /** * Render git diffs in a specific format * * @param array<string, array{file: string, diff: string, stats: string}> $diffs Array of diffs with metadata */ public function render(array $diffs, RenderConfig $config): ContentBuilder; }

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