Skip to main content
Glama

CTX: Context as Code (CaC) tool

by context-hub
MIT License
235
  • Apple
  • Linux
GitAddRequest.php812 B
<?php declare(strict_types=1); namespace Butschster\ContextGenerator\McpServer\Action\Tools\Git\Dto; use Spiral\JsonSchemaGenerator\Attribute\Field; final readonly class GitAddRequest { public function __construct( #[Field( description: 'Files or directories to stage. Use "." for all files, or provide specific paths', )] /** @var string[] */ public array $paths = ['.'], #[Field( description: 'Stage all changes including deletions (equivalent to git add -A)', default: false, )] public bool $all = false, #[Field( description: 'Stage modified and new files, but not deletions (equivalent to git add .)', default: true, )] public bool $addNew = true, ) {} }

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