Coder Toolbox

by lamemind

2 stars
184 downloads
Not rated
GitHub

About

Integrates Java code analysis, manipulation, and testing tools for efficient software development workflows and automated code operations.

Details

Author
lamemind
Repository
lamemind/coder-toolbox-mcp-server
GitHub stars
2
Downloads
184
Categories
Productivity, Developer Tools, Design, File Management, AI, Infrastructure, Project Management, Automation, Other

- Test execution log retrieval and analysis
- Locate Java classes with package and source type filtering
- Create new Java classes with proper package structure
- Add, replace, or delete content in existing Java classes
- Add or delete methods in Java classes
- Add or delete constructors in Java classes

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Coder Toolbox
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Configure the server in your MCP client and invoke its available tools. The server exposes tools for test log retrieval, locating, creating, and modifying Java classes with parameters such as className, sourceType, packagePath, classBody, and edit operations. Use the dryRun parameter on content replacement and deletion to preview changes without applying them.

get_test_execution_logs

Retrieve test execution logs from the log directory.

locate_java_class

Find Java classes in project source code with package filtering. Parameters: className (string), sourceType (optional string), packagePath (optional string). Returns JSON object with search results.

create_java_class

Create new Java classes with proper package structure. Parameters: className (string), sourceType (string), packagePath (string). Returns JSON object with creation results.

class_add_body

Add content to existing Java classes. Parameters: className, sourceType, packagePath (from locate_java_class), classBody (string). Returns JSON object with modification results.

class_replace_body

Replace content in existing Java classes. Parameters: className, sourceType, packagePath (from locate_java_class), edits (array of edit operations), dryRun (optional boolean). Returns diff showing changes made or preview.

class_delete_body

Delete content from the class body. Parameters: className, sourceType, packagePath (from locate_java_class), targetContent (string), dryRun (optional boolean). Returns diff showing changes made or preview.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "coder toolbox": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}

Coder Toolbox MCP Server

A utility toolkit designed to enhance the interaction between Claude and code, providing seamless integration tools for code analysis, manipulation, and testing workflows.

Features

Implemented

- Test Execution Logs: Retrieve and analyze test execution logs and results - Class Operations: - Location: Find Java classes in project source code with package filtering - Creation: Create new Java classes with proper package structure - Content Management: Add, replace or delete content in existing Java classes - Method Management: Add or delete methods in Java classes - Constructor Management: Add or delete constructors in Java classes

Tools

get_test_execution_logs

Retrieve test execution logs from the log directory

locate_java_class

- Parameters: - className (string): Name of the java class to find (case sensitive) - sourceType (string, optional): Source type to restrict the search ('source' or 'test') - packagePath (string, optional): Package path to restrict search (e.g. 'com.myself.myproject'). If specified, sourceType must also be specified - Returns: JSON object with search results including file path and content if found

create_java_class

- Parameters: - className (string): Name of the java class to create (case sensitive) - sourceType (string): The source type where to create the file ('source' or 'test') - packagePath (string): Package path where to create the class (e.g. 'com.myself.myproject') - Returns: JSON object with creation results including file path or error message

class_add_body

- Parameters: - Parameters from locate_java_class, plus: - classBody (string): The class body content to add (fields, methods, constructors, etc.) - Returns: JSON object with modification results including file path

class_replace_body

- Parameters: - Parameters from locate_java_class, plus: - edits: Array of edit operations, each containing: - oldText (string): Text to replace - newText (string): New text - dryRun (boolean, optional): Preview changes without applying them - Returns: Diff showing the changes made or preview

class_delete_body

- Parameters: - Parameters from locate_java_class, plus: - targetContent (string): The content to delete from the class body - dryRun (boolean, optional): Preview changes without applying them - Returns: Diff showing the changes made or preview

Development Roadmap

- [x] Test execution log retrieval - [x] Class location and navigation - [x] Class file creation - [x] Add content to class - [x] Replace content in class - [x] Delete content from class - [ ] Add class-level annotations - [ ] Add interface implementations - [ ] Add class inheritance - [ ] Organize imports - [ ] Format code

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.