MCP Catalogs
首页generator screenshot

generator

by context-hub·321·综合分 50

CTX 是一个 MCP 服务器,提供 AI 访问代码的读取、写入和分析功能,支持多项目和自定义工具。

developer-toolsai-llmfile-system
21
Forks
17
活跃 Issue
2 个月前
最近提交
2 天前
收录于

概述

CTX 是一个基于 PHP 的紧凑型 MCP 服务器,使 AI 助手能够直接与您的代码库交互。它提供强大的文件系统工具,允许 AI 读取、写入、搜索和修改多个项目中的文件。该工具支持 AI 可执行的自定义命令,实现与开发工作流程的无缝集成,如测试和部署。CTX 可以从代码、git 差异和其他源生成结构化的上下文文档,为 AI 模型提供全面的上下文信息。

试试问 AI

装完之后,这里有 3 个你可以让 AI 做的事:

:让 AI 助手能够探索、理解和修改多个项目中的代码
:自动化开发任务如运行测试、部署和代码分析
:为代码审查和文档生成全面的上下文文档

什么时候选它

当您处理 PHP 项目或需要 AI 助手具有直接的文件系统访问能力,并能在多个项目间执行自定义命令时,选择 CTX。

什么时候不要选它

如果您的 AI 需要处理 PHP 以外的编程语言,或者您需要比 MCP 连接更全面的 IDE 集成,请不要选择 CTX。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • read_file

    Read the contents of a file in the project

  • write_file

    Create or modify a file in the project

  • search_files

    Search across the codebase with text or regex patterns

  • run_tests

    Run project tests with coverage

  • deploy

    Deploy to staging environment

  • analyze_php_structure

    Analyze PHP code structure including class hierarchy and dependencies

  • explore_directory

    Explore directory contents with smart filtering options

  • list_projects

    List all registered projects in the workspace

  • generate_context

    Generate structured context documents from various sources

  • create_github_issue

    Create a new issue on GitHub

  • review_pr

    Review a pull request with context from the codebase

  • onboard_team

    Generate comprehensive project overview for new team members

说明:Tool names were inferred from the documentation sections about MCP functionality, custom tools, and use cases. The README doesn't provide explicit tool documentation with signatures.

可对比工具

mcp-servercursorzed

安装

安装 CTX:

**Linux / WSL:**

curl -sSL https://raw.githubusercontent.com/context-hub/generator/main/download-latest.sh | sh

**Windows:**

powershell -c "& ([ScriptBlock]::Create((irm 'https://raw.githubusercontent.com/context-hub/generator/main/download-latest.ps1'))) -AddToPath"

连接到 Claude Desktop:

ctx mcp:config

或手动添加到您的 MCP 客户端配置:

{
  "mcpServers": {
    "ctx": {
      "command": "ctx",
      "args": [
        "server"
      ]
    }
  }
}

generator 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。