Mcp Clean Code

by aidalinfo

4 stars
329 downloads
Not rated
GitHub

Description

# MCP Clean Code An MCP server implementation that provides a tool for planning and creating clean, well-structured code with comprehensive English comments. ## Features - Plan code architecture step by step - Design modular, maintainable components - Follow clean code…

About

# MCP Clean Code An MCP server implementation that provides a tool for planning and creating clean, well-structured code with comprehensive English comments. ## Features - Plan code architecture step by step - Design modular, maintainable components - Follow clean code principles and best practices - Create…

Details

Author
aidalinfo
GitHub stars
4
Downloads
329
Categories
Developer Tools

- Plan code architecture step by step
- Design modular, maintainable components
- Follow clean code principles and best practices
- Create comprehensive documentation with English comments
- Revise design decisions as requirements become clearer
- Branch into alternative implementation strategies

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 Mcp Clean Code
    Command (node, npx, python, etc.)

    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

Install the package via npm, pnpm, or Docker, then add it to your claude_desktop_config.json as an MCP server. Use the cleancode tool with the required thought, nextThoughtNeeded, thoughtNumber, and totalThoughts inputs to guide step-by-step code planning.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "mcp clean code": {
            "mcp-clean-code": {
                "command": "docker",
                "args": [
                    "build",
                    "-t",
                    "mcp-clean-code",
                    "."
                ]
            }
        }
    }
}

McpServers

{
    "mcp-clean-code": {
        "command": "docker",
        "args": [
            "build",
            "-t",
            "mcp-clean-code",
            "."
        ]
    }
}

MCP Clean Code

An MCP server implementation that provides a tool for planning and creating clean, well-structured code with comprehensive English comments.

Features

- Plan code architecture step by step
- Design modular, maintainable components
- Follow clean code principles and best practices
- Create comprehensive documentation with English comments
- Revise design decisions as requirements become clearer
- Branch into alternative implementation strategies
- Focus on code readability and simplicity

Tool

cleancode

Facilitates clean code planning with a focus on readability, maintainability, and well-structured English comments.

Inputs:
- thought (string): Your current code planning step
- nextThoughtNeeded (boolean): Whether another code planning step is needed
- thoughtNumber (integer): Current step number
- totalThoughts (integer): Estimated total steps needed
- isRevision (boolean, optional): Whether this revises a previous planning step
- revisesThought (integer, optional): Which step is being reconsidered
- branchFromThought (integer, optional): Branching point step number for alternative approach
- branchId (string, optional): Alternative implementation identifier
- needsMoreThoughts (boolean, optional): If more planning steps are needed

Usage

The Clean Code tool is designed for:
- Before writing complex code that needs careful planning
- When designing new features or refactoring existing code
- When code structure and organization are critical
- For ensuring comprehensive documentation with English comments
- For following clean code principles and best practices
- For breaking down complex functionality into modular components
- For planning testable and maintainable implementations

Configuration

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

npm installation

{
  "mcpServers": {
    "cleancode": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-clean-code"
      ]
    }
  }
}

Manual installation

```bash

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.