home / mcp / deslop mcp server
An MCP server that detects and removes AI-generated code slop patterns.
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.
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.
{
"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"]
}
}
}Analyze code files for slop patterns and return a detailed report with issues, priorities, line numbers, and auto-fix indicators.
Automatically fix auto-fixable slop issues across the specified path.
Analyze only the files changed in Git, with options for unstaged or staged changes.