<?php
declare(strict_types=1);
namespace Butschster\ContextGenerator\McpServer\Action\Tools\Git\Dto;
use Spiral\JsonSchemaGenerator\Attribute\Field;
final readonly class GitCommitRequest
{
public function __construct(
#[Field(
description: 'Commit message',
)]
public string $message,
#[Field(
description: 'Stage all tracked files before committing (equivalent to git commit -a)',
default: false,
)]
public bool $stageAll = false,
) {}
}
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