Deslopify

Deslopify

A universal MCP server that acts as a code quality gate for AI assistants, providing pre-generation guidance, post-generation review, and root cause analysis to improve code quality.

Category
Visit Server

README

Deslopify

Stop AI slop at the source.

A universal MCP server that acts as a code quality gate for AI assistants. Deslopify gives AI coding tools pre-generation guidance, post-generation review, and root cause analysis โ€” so the code you get is idiomatic, generic, tested, and actually fixes the right problem.

๐ŸŒ deslopify.co.uk ยท ๐Ÿ“ฆ npm ยท ๐Ÿ™ GitHub

The Problem

AI assistants generate code that technically works but is often:

  • Hyper-specific โ€” hardcoded to one type or use case instead of generic
  • Symptom-patching โ€” fixes the reported bug but ignores the root cause
  • Non-idiomatic โ€” uses patterns from the wrong language
  • Untested โ€” no error handling, no edge cases, no tests
  • Hallucinated โ€” references APIs that don't exist in the target version

There's no feedback loop telling the AI "that's slop, do better." Deslopify is that feedback loop.

How It Works

Deslopify is an MCP server. Any MCP-compatible AI client connects to it and gets access to tools, prompts, and resources that enforce code quality.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  AI Client                   โ”‚
โ”‚  (Claude, Cursor, Windsurf)  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
           โ”‚ MCP
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Deslopify MCP Server        โ”‚
โ”‚                              โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚  Tools  โ”‚ โ”‚  Prompts   โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ Rules   โ”‚ โ”‚ Resources  โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Quick Start

npx deslopify

Or install globally:

npm install -g deslopify

Claude Desktop (SSE)

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "deslopify": {
      "url": "http://optiplex:7381/sse"
    }
  }
}

Claude Code / Codex CLI (Streamable HTTP)

claude mcp add deslopify --url http://optiplex:7381/mcp

Remote (once DNS propagates)

claude mcp add deslopify --url https://deslopify.co.uk/mcp

Tools

Tool When to Call What It Does
get_guidance Before writing code Returns language idioms, pitfalls, and architecture notes
review_code After writing code Scores code quality, lists issues with severity and fix suggestions
validate_approach Before fixing a bug Detects symptom-only fixes and traces root causes
suggest_tests After writing code Generates test cases with framework-specific skeletons
check_dependencies When adding packages Flags abandoned, overkill, or deprecated dependencies
check_api_exists When using unfamiliar APIs Verifies APIs exist in the target language version

Supported Languages

  • C++ (C++17/20/23) โ€” RAII, smart pointers, const correctness, ranges, move semantics
  • C# (.NET 6/7/8+) โ€” using/IDisposable, async/await, nullable refs, LINQ, DI, records
  • Python (3.10+) โ€” context managers, type hints, dataclasses, pathlib, generators
  • Java (17/21+) โ€” try-with-resources, records, Optional, Stream API, switch expressions
  • TypeScript (5.x+) โ€” strict mode, no any, discriminated unions, proper async, zod validation

Prompts

Deslopify includes 4 prompt templates accessible via the MCP prompt menu:

  • Deslopify: Before Writing Code โ€” pre-generation guidance
  • Deslopify: After Writing Code โ€” post-generation review loop
  • Deslopify: Before Fixing a Bug โ€” root cause validation
  • Deslopify: Full Quality Workflow โ€” complete guidance โ†’ review โ†’ test pipeline

Configuration

Environment Variable Default Description
DESLOPIFY_STRICTNESS medium low / medium / high
DESLOPIFY_TRANSPORT stdio stdio / sse
DESLOPIFY_PORT 3000 Port for SSE transport
ANTHROPIC_API_KEY โ€” Required for medium/high strictness AI layer

Docker

docker run -d --name deslopify \
  -e DESLOPIFY_TRANSPORT=sse \
  -e DESLOPIFY_PORT=3000 \
  -p 3000:3000 \
  ghcr.io/veroxsity/deslopify:latest

Contributing

Rules are the heart of Deslopify. To add a new rule:

  1. Fork the repo
  2. Add your rule to the appropriate JSON file in rules/
  3. Include: id, severity, description, detection, fix, bad example, good example
  4. Open a PR

See DESIGN.md for the full architecture and rule schema.

License

MIT ยฉ veroxsity

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured