Prompt Rejector is a security gateway that protects AI applications from prompt injection attacks and other web vulnerabilities by screening untrusted input before it reaches the agent's control plane.
From the registry: Security gateway for AI agents: detects prompt injections, jailbreaks, and common vulnerabilities.
$ git clone https://github.com/revsmoke/promptrejectormcp.git && cd promptrejectormcp && npm install && echo "GEMINI_API_KEY=your_key" > .env && npm run buildhttps://aistudio.google.com/apikeyPlease install the `promptrejectormcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Clone and build** — Clone repo, install dependencies, configure GEMINI_API_KEY Run: `git clone https://github.com/revsmoke/promptrejectormcp.git && cd promptrejectormcp && npm install && echo "GEMINI_API_KEY=your_key" > .env && npm run build` (https://aistudio.google.com/apikey)
Canonical MCP server config (stdio transport):
- command: `node`
- args: ["dist/index.js"]
- required environment variables:
- `GEMINI_API_KEY`: Google Gemini API key for AI-based prompt injection detection (example: `<your-gemini-api-key>`)
Note: Dual-layer security gateway for AI agents. Detects prompt injection, jailbreaks, XSS, SQLi. HTTP endpoint also available at localhost:3000. Requires build from source.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.GEMINI_API_KEYrequiredYour Google AI API keyManage UniFi Access doors, credentials, policies, visitors, and events via MCP.