Skip to main content
Glama

Coder Toolbox MCP Server

Coder Toolbox MCP 服务器

一个实用工具包,旨在增强 Claude 和代码之间的交互,为代码分析、操作和测试工作流程提供无缝集成工具。

特征

实施的

  • 测试执行日志:检索和分析测试执行日志和结果
  • 类操作:
    • 位置:使用包过滤在项目源代码中查找 Java 类
    • 创建:创建具有适当包结构的新 Java 类
    • 内容管理:添加、替换或删除现有 Java 类中的内容
    • 方法管理:在 Java 类中添加或删除方法
    • 构造函数管理:在 Java 类中添加或删除构造函数

工具

获取测试执行日志

从日志目录中检索测试执行日志

定位_java_class

  • 参数:
    • className (字符串):要查找的 Java 类的名称(区分大小写)
    • sourceType (字符串,可选):限制搜索的源类型(“源”或“测试”)
    • packagePath (字符串,可选):用于限制搜索的包路径(例如“com.myself.myproject”)。如果指定,则还必须指定 sourceType
  • 返回:带有搜索结果的 JSON 对象,包括文件路径和内容(如果找到)

创建java类

  • 参数:
    • className (字符串):要创建的 Java 类的名称(区分大小写)
    • sourceType (字符串):创建文件的源类型(“source”或“test”)
    • packagePath (字符串):创建类的包路径(例如“com.myself.myproject”)
  • 返回:包含文件路径或错误消息的创建结果的 JSON 对象

class_add_body

  • 参数:
    • 来自 locate_java_class 的参数,加上:
    • classBody (字符串):要添加的类主体内容(字段、方法、构造函数等)
  • 返回:包含文件路径的修改结果的JSON对象

_替换_主体

  • 参数:
    • 来自 locate_java_class 的参数,加上:
    • edits :编辑操作数组,每个操作包含:
      • oldText (字符串):要替换的文本
      • newText (字符串):新文本
    • dryRun (布尔值,可选):预览更改而不应用它们
  • 返回:显示所做的更改或预览的差异

_删除_主体

  • 参数:
    • 来自 locate_java_class 的参数,加上:
    • targetContent (字符串):要从类主体中删除的内容
    • dryRun (布尔值,可选):预览更改而不应用它们
  • 返回:显示所做的更改或预览的差异

发展路线图

  • [x] 测试执行日志检索
  • [x] 课程定位与导航
  • [x] 类文件创建
  • [x] 添加内容到课程
  • [x] 替换课堂内容
  • [x] 从课程中删除内容
  • [ ] 添加类级别注解
  • [ ] 添加接口实现
  • [ ] 添加类继承
  • [ ] 组织导入
  • [ ] 格式代码

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

一个实用工具包,通过为 Java 代码分析、操作和测试工作流程提供无缝工具来增强 Claude 的代码交互能力。

  1. 特征
    1. 实施的
  2. 工具
    1. 获取测试执行日志
    2. 定位\_java\_class
    3. 创建java类
    4. class\_add\_body
    5. 类\_替换\_主体
    6. 类\_删除\_主体
  3. 发展路线图
    1. 贡献
      1. 执照

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          Leverages Vim's native text editing commands and workflows, which Claude already understands, to create a lightweight code assistance layer.
          Last updated -
          8
          628
          186
          TypeScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          Enables intelligent code analysis and debugging through the Perplexity AI's API, offering detailed error analysis, pattern detection, and comprehensive solutions, with integration support for the Claude desktop client.
          Last updated -
          1
          10
          JavaScript
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          Facilitates integration with the Cursor code editor by enabling real-time code indexing, analysis, and bi-directional communication with Claude, supporting concurrent sessions and automatic reconnection.
          Last updated -
          2
          21
          31
          TypeScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          An AI-powered development toolkit for Cursor providing intelligent coding assistance through advanced reasoning, UI screenshot analysis, and code review tools.
          Last updated -
          672
          240
          TypeScript
          MIT License

        View all related MCP servers

        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/lamemind/coder-toolbox-mcp-server'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server