generator

context-hub/generator

4.2

If you are the rightful owner of generator and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

CTX is a Context as Code (CaC) tool with an MCP server inside, designed to provide AI language models with necessary context about your codebase.

MCPHub score:4.23

Has a README

Github repo has a README.md.

Has a License

Github repo has license info.

Server can be inspected

Currently can not be tried on MCPHub.

Server schema can be extracted

Can get at lease one tool info from the README or server.

Online hosted on MCPHub

More deployment information is needed.

Has social accounts

Do not have any social accounts.

Claimed by the author or certified by MCPHub

If you are the author, claim authorship

AI Evaluation Report
Total Score: 9/10

The agent demonstrates strong capabilities in managing and manipulating files and directories within a project structure. It effectively lists files and directories with detailed information, creates and writes content to new files, and retrieves file content accurately. The agent's responses are clear, concise, and align with the tasks requested, showcasing its ability to perform file operations and context management. However, the agent lacks a method for verifying the execution of certain tasks, such as file creation, which could enhance its reliability. Overall, the agent performs well in executing the tasks, with minor limitations in verification.

  • Test case 1
    Score: 7/10
    Perform the operation of listing all files in the project directory that were modified within the last 7 days.

    No files match the specified criteria within the last 7 days in the project directory.

  • Test case 2
    Score: 10/10
    Please list all files and subdirectories in the src directory, including their names, types (file/directory), and last modification times, to understand the project structure.

    Here is the structure of the src directory, including all subdirectories, files, their types, and last modification times:

    src Directory Structure

    src/ [2025-07-24]
    ├── Application/ [2025-07-24]
    │   ├── AppScope.php [2025-07-24]
    │   ├── Application.php [2025-07-24]
    │   ├── Bootloader/ [2025-08-25]
    │   ├── Dispatcher/ [2025-08-25]
    │   ├── ExceptionHandler.php [2025-07-24]
    │   ├── FSPath.php [2025-07-24]
    │   ├── JsonSchema.php [2025-07-24]
    │   ├── Kernel.php [2025-07-24]
    │   └── Logger/ [2025-08-25]
    ├── Config/ [2025-07-24]
    │   ├── ConfigType.php [2025-07-24]
    │   ├── ConfigurationProvider.php [2025-07-24]
    │   ├── Exception/ [2025-08-25]
    │   ├── Exclude/ [2025-08-25]
    │   ├── Import/ [2025-08-25]
    │   ├── Loader/ [2025-08-25]
    │   ├── Parser/ [2025-08-25]
    │   ├── Reader/ [2025-08-25]
    │   ├── Registry/ [2025-08-25]
    │   └── context.yaml [2025-07-24]
    ├── Console/ [2025-07-24]
    │   ├── BaseCommand.php [2025-07-24]
    │   ├── GenerateCommand.php [2025-07-24]
    │   ├── InitCommand.php [2025-07-24]
    │   ├── Renderer/ [2025-08-25]
    │   ├── SchemaCommand.php [2025-07-24]
    │   ├── SelfUpdateCommand.php [2025-07-24]
    │   ├── VersionCommand.php [2025-07-24]
    │   └── context.yaml [2025-07-24]
    ├── Directories.php [2025-07-24]
    ├── DirectoriesInterface.php [2025-07-24]
    ├── Document/ [2025-07-24]
    │   ├── Compiler/ [2025-08-25]
    │   ├── Document.php [2025-07-24]
    │   ├── DocumentConfigMerger.php [2025-07-24]
    │   ├── DocumentRegistry.php [2025-07-24]
    │   └── DocumentsParserPlugin.php [2025-07-24]
    ├── Lib/ [2025-07-24]
    │   ├── BinaryUpdater/ [2025-08-25]
    │   ├── ComposerClient/ [2025-08-25]
    │   ├── Content/ [2025-08-25]
    │   ├── Finder/ [2025-08-25]
    │   ├── Git/ [2025-08-25]
    │   ├── GithubClient/ [2025-08-25]
    │   ├── GitlabClient/ [2025-08-25]
    │   ├── Html/ [2025-08-25]
    │   ├── HttpClient/ [2025-08-25]
    │   ├── PathFilter/ [2025-08-25]
    │   ├── TokenCounter/ [2025-08-25]
    │   ├── TreeBuilder/ [2025-08-25]
    │   ├── Variable/ [2025-08-25]
    │   └── context.yaml [2025-07-24]
    ├── McpServer/ [2025-07-24]
    │   ├── Action/ [2025-08-25]
    │   ├── Attribute/ [2025-08-25]
    │   ├── Console/ [2025-08-25]
    │   ├── GUIDELINE.md [2025-07-24]
    │   ├── McpConfig.php [2025-07-24]
    │   ├── McpServerBootloader.php [2025-07-24]
    │   ├── ProjectService/ [2025-08-25]
    │   ├── Projects/ [2025-08-25]
    │   ├── Prompt/ [2025-08-25]
    │   ├── Registry/ [2025-08-25]
    │   ├── Routing/ [2025-08-25]
    │   ├── Server.php [2025-07-24]
    │   ├── ServerRunner.php [2025-07-24]
    │   ├── ServerRunnerInterface.php [2025-07-24]
    │   ├── Tool/ [2025-08-25]
    │   └── context.yaml [2025-07-24]
    ├── Modifier/ [2025-07-24]
    │   ├── Alias/ [2025-08-25]
    │   ├── Modifier.php [2025-07-24]
    │   ├── ModifiersApplier.php [2025-07-24]
    │   ├── ModifiersApplierInterface.php [2025-07-24]
    │   ├── PhpContentFilter/ [2025-08-25]
    │   ├── PhpDocs/ [2025-08-25]
    │   ├── PhpSignature/ [2025-08-25]
    │   ├── Sanitizer/ [2025-08-25]
    │   ├── SourceModifierInterface.php [2025-07-24]
    │   ├── SourceModifierRegistry.php [2025-07-24]
    │   └── context.yaml [2025-07-24]
    ├── Source/ [2025-07-24]
    │   ├── BaseSource.php [2025-07-24]
    │   ├── Composer/ [2025-08-25]
    │   ├── Docs/ [2025-08-25]
    │   ├── Fetcher/ [2025-08-25]
    │   ├── File/ [2025-08-25]
    │   ├── GitDiff/ [2025-08-25]
    │   ├── Github/ [2025-08-25]
    │   ├── Gitlab/ [2025-08-25]
    │   ├── MCP/ [2025-08-25]
    │   ├── Registry/ [2025-08-25]
    │   ├── SourceInterface.php [2025-07-24]
    │   ├── SourceWithModifiers.php [2025-07-24]
    │   ├── Text/ [2025-08-25]
    │   ├── Tree/ [2025-08-25]
    │   ├── Url/ [2025-08-25]
    │   └── context.yaml [2025-07-24]
    └── SourceParserInterface.php [2025-07-24]
    

    Summary

    • The src directory contains several subdirectories, each serving different purposes.
    • Most files are PHP scripts, and there are also configuration files such as context.yaml.
    • The last modification dates indicate ongoing development, with several files and directories recently updated.

    If you need further details on any specific files or directories, feel free to ask!

  • Test case 3
    Score: 7/10
    Please create a new README.md file in the src/Lib/ directory and write the following content :Lib Directory Description

    The README.md file has been successfully created in the src/Lib/ directory with the following content:

    # Lib Directory Description
    
    This directory contains the library files for the project. It includes various modules and components that are essential for the functionality and performance of the application. Each file within this directory serves a specific purpose and contributes to the overall architecture of the software.
    

    If you need any further modifications or additional files, feel free to ask!

  • Test case 4
    Score: 9/10
    Perform the operation of writing the content 'Project Initiation Document' to a new file named 'project_initiation.txt' within the 'documents' directory of the project structure.

    Successfully wrote 27 bytes to the file 'project_initiation.txt' within the 'documents' directory.

  • Test case 5
    Score: 9/10
    Perform the operation of retrieving the content of the file 'project_initiation.txt' located within the 'documents' directory of the project structure.

    The content of the file 'project_initiation.txt' is "Project Initiation Document".