home / mcp / deslop mcp server

Deslop MCP Server

An MCP server that detects and removes AI-generated code slop patterns.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "collin-ho-deslop-mcp": {
      "command": "node",
      "args": [
        "/path/to/deslop-mcp/dist/index.js"
      ]
    }
  }
}

You run a specialized MCP (Model Context Protocol) server called Deslop that detects and removes AI-generated code slop patterns. It helps keep codebases clean by flagging or fixing maintainability issues such as verbose comments, unnecessary logging, and defensive overkill while working with MCP clients like Cursor and Claude.

How to use

To use Deslop with an MCP client, configure your client to connect to the local Deslop MCP server or to the remote server you deploy. You will point the client’s MCP settings to Deslop so it can analyze and automatically fix code slop patterns in your project.

Install and run Deslop locally, then reference the server in your MCP client configuration as shown below. The three client configurations demonstrate how to register Deslop for Cursor, Claude Desktop, and Claude Code. Each setup uses a local Node.js process that runs the built Deslop artifact.

Configuration snippets for MCP clients

{
  "mcpServers": {
    "deslop": {
      "command": "node",
      "args": ["/path/to/deslop-mcp/dist/index.js"]
    }
  }
}
{
  "mcpServers": {
    "deslop": {
      "command": "node",
      "args": ["/path/to/deslop-mcp/dist/index.js"]
    }
  }
}
{
  "mcpServers": {
    "deslop": {
      "command": "node",
      "args": ["/path/to/deslop-mcp/dist/index.js"]
    }
  }
}

Available tools

deslop_analyze

Analyze code files for slop patterns and return a detailed report with issues, priorities, line numbers, and auto-fix indicators.

deslop_fix

Automatically fix auto-fixable slop issues across the specified path.

deslop_diff

Analyze only the files changed in Git, with options for unstaged or staged changes.