Skip to main content
Glama

CTX: Context as Code (CaC) tool

by context-hub
MIT License
235
  • Apple
  • Linux
FileReadRequest.php585 B
<?php declare(strict_types=1); namespace Butschster\ContextGenerator\McpServer\Action\Tools\Filesystem\Dto; use Spiral\JsonSchemaGenerator\Attribute\Field; final readonly class FileReadRequest { public function __construct( #[Field( description: 'Path to the file, relative to project root. Only files within project directory can be accessed.', )] public string $path, #[Field( description: 'File encoding (default: utf-8)', default: 'utf-8', )] public string $encoding = 'utf-8', ) {} }

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