Skip to main content
Glama
steveswain14

Prompt Suppressor (MCP)

by steveswain14
README.md
![Version](https://img.shields.io/badge/version-v1.0.0-blue)
![License](https://img.shields.io/badge/license-Apache--2.0-green)
![Release](https://img.shields.io/github/v/release/steveswain14/mcp-prompt-suppressor)

# Prompt Suppressor (MCP)



A standalone MCP server that enforces clean prompt structure, strips model‑invented instructions, and detects capability hallucinations before they propagate through your system.



This repository contains the full implementation and runs independently. It does not depend on the full suite.



## Usage



Add this server to your MCP client configuration (Claude Desktop, Cursor, Windsurf, or any MCP‑compatible environment):



{

  "mcpServers": {

    "prompt\_suppressor": {

      "command": "python3",

      "args": \["/path/to/mcp-prompt-suppressor/server.py"]

    }

  }

}



## What it does



\- Removes model‑invented system instructions  

\- Normalises prompt structure  

\- Detects capability hallucinations  

\- Flags unsafe or structurally invalid prompt patterns  



## Relationship to the full suite

This suppressor is also included in the consolidated mcp-hallucination-suite, which bundles all four suppressors and provides a meta-orchestrator:
https://github.com/steveswain14/mcp-hallucination-suite

## Related repositories
- mcp-json-suppressor
- mcp-tool-response-suppressor
- mcp-grounding-enforcer