Basic information
About Mcp Clean Code Server
# MCP Clean Code
Mcp Clean Code is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by aidalinfo. Supported transport: stdio. Runtime: node. License: MIT. The repository has 4 GitHub stars. Source code is hosted on github.com. Related topics: clean-code, code-planning, mcp.
Setup
{
"mcpServers": {
"mcp-clean-code": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-clean-code",
"."
]
}
}
}
{
"mcpServers": {
"mcp-clean-code": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-clean-code",
"."
]
}
}
}
{
"servers": {
"mcp-clean-code": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-clean-code",
"."
]
}
}
}
Mcp Clean Code config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-clean-code": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-clean-code",
"."
]
}
}
}
Mcp Clean Code tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Mcp Clean Code?
Mcp Clean Code is an MCP server that provides a tool for planning and creating clean, well-structured code with comprehensive English comments. It is designed for developers who want to follow clean code principles and best practices.
How to use Mcp Clean Code?
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.
Key features of Mcp Clean Code
- 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
Use cases of Mcp Clean Code
- 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 breaking down complex functionality into modular components
Frequently asked questions
1 How do I install Mcp Clean Code for use with Claude Desktop?
You can install it via npm (npx -y mcp-clean-code), or install globally with npm install -g mcp-clean-code and configure it in your claude_desktop_config.json. Docker usage is also supported.
2 What inputs does the cleancode tool accept?
The tool accepts thought (string), nextThoughtNeeded (boolean), thoughtNumber (integer), totalThoughts (integer), and optionally isRevision, revisesThought, branchFromThought, branchId, and needsMoreThoughts.
3 Can I revise previous planning steps?
Yes, you can set isRevision: true and specify which step to reconsider using the revisesThought input.
4 Can I explore alternative implementation strategies?
Yes, you can branch from a previous step using branchFromThought and branchId to create alternative implementation paths.
5 What license is Mcp Clean Code under?
It is licensed under the MIT License and developed by Aidalinfo. You are free to use, modify, and distribute it subject to the terms.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In