MCP.so
登录

MCP Clean Code

@aidalinfo

基本信息

分类

开发工具

传输方式

stdio

作者

aidalinfo

提交者

Killian - Aidalinfo

关于 MCP Clean Code

暂无概览

#mcp#clean-code#code-planning

MCP Clean Code 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

MCP Clean Code 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

常见问题

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.

评论

开发工具 分类下的更多 MCP 服务器