Mcp Clean Code
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
Jump to
- 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:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Mcp Clean CodeCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- 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
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





