# Untrusted Instruction Detector

> Untrusted Instruction Detector is a freemium MCP server for security. Scans untrusted text for prompt injection before an agent acts on it. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, Web
- **Website:** https://untrusted-instruction-detector.fmf-x402.workers.dev/docs
- **MCP Registry name:** io.github.GeminiGeorge22/untrusted-instruction-detector
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-27

## About

Text pulled from search results, tool outputs or fetched pages can carry hidden override commands or a fake system prompt. This service checks caller-supplied text for those patterns and reports what it finds, so an agent can decide whether to trust the content before using it.

The scanner looks for override attempts, hidden markup and requests to leak prompts or data. It is detect-only: it does not rewrite, sanitize or weaken the input, so the calling application keeps control of what happens next. Calling it with an empty body runs a built-in labeled sample, which is useful for checking the integration.

It suits developers building agents or retrieval pipelines who want a screening step between tool results and the model. Access is pay-per-call over HTTP or MCP with no account or API key, and failed or invalid requests are not charged.

## Features

- **Override attempt detection:** Flags text that tries to make an agent ignore earlier instructions or adopt a new policy.
- **Hidden markup scanning:** Finds instructions concealed in comments or markup that a reader would not see.
- **Prompt exfiltration checks:** Identifies requests asking the model to reveal its system prompt or send data elsewhere.
- **Detect-only design:** Reports findings without modifying the input, leaving filtering decisions to the caller.
- **Built-in sample scan:** An empty request runs a labeled sample to verify the setup works.
- **MCP and HTTP access:** Available as a Streamable HTTP MCP server or a plain POST endpoint.

## Good for

- Screening search results before an agent reads them
- Checking fetched web pages for embedded instructions
- Validating tool outputs in a multi-step agent workflow
- Testing an agent pipeline against known injection patterns

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http untrusted-instruction-detector https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "untrusted-instruction-detector": {
      "type": "http",
      "url": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "untrusted-instruction-detector": {
      "url": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "untrusted-instruction-detector": {
      "type": "http",
      "url": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add untrusted-instruction-detector --url https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.untrusted-instruction-detector]
url = "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "untrusted-instruction-detector": {
      "httpUrl": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http untrusted-instruction-detector https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "untrusted-instruction-detector": {
      "serverUrl": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "untrusted-instruction-detector": {
      "url": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "untrusted-instruction-detector": {
      "type": "streamableHttp",
      "url": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "untrusted-instruction-detector": {
      "url": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "untrusted-instruction-detector": {
      "url": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "untrusted-instruction-detector": {
      "url": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "untrusted-instruction-detector": {
      "url": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp
```

Enter a Name (for example "Untrusted Instruction Detector"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "untrusted-instruction-detector": {
      "type": "http",
      "url": "https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp"
    }
  }
}
```

## Tools

Going by the tool names, 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `untrusted-instruction-detector`: Tool results and fetched pages can hide ignore-previous-instructions text or a fake system prompt, and an agent that follows them will treat untrusted text as a new policy. $0.002 per call, USDC via x402 or MPP. Detects override attempts, hidden markup, and prompt-exfil requests in caller-supplied text. This is detect only; it does not bypass, rewrite, or weaken a filter. An empty call scans a bui

## FAQ

### Does Untrusted Instruction Detector remove or rewrite injected text?

No. It is detect only and does not bypass, rewrite or weaken any filter.

### Do I need an account or API key?

No account or API key is needed. Each successful call is paid per request using MPP on Tempo or x402 with USDC.

### Am I charged for failed requests?

Invalid input or an upstream failure returns 402 and is not charged.

### How do I connect Untrusted Instruction Detector to my AI client?

Add the MCP URL to clients such as Cursor, Claude Desktop or VS Code. Listing tools is free; paid tool calls need an MPP payment header.

### Is Untrusted Instruction Detector free?

Untrusted Instruction Detector has a free plan, with paid plans for more usage or features.

### How do I add Untrusted Instruction Detector to Claude Code?

Run this command in your terminal: claude mcp add --transport http untrusted-instruction-detector https://untrusted-instruction-detector.fmf-x402.workers.dev/mcp

### What are the best alternatives to Untrusted Instruction Detector?

The closest alternatives to Untrusted Instruction Detector are Prompt Injection Scanner, AI Agent Guardrail MCP, InjectScan, Prompt Guard MCP and InjectScan.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Prompt Injection Scanner](https://ai-powered.com/mcp/prompt-injection-scanner-2): Prompt Injection Scanner is a free MCP server for ai models and llm tooling.
- [AI Agent Guardrail MCP](https://ai-powered.com/mcp/ai-agent-guardrail-mcp): AI Agent Guardrail MCP is a paid MCP server for ai models and llm tooling.
- [InjectScan](https://ai-powered.com/mcp/injectscan-2): InjectScan is a freemium MCP server for ai models and llm tooling.
- [Prompt Guard MCP](https://ai-powered.com/mcp/prompt-guard-mcp): Prompt Guard MCP is an MCP server for ai models and llm tooling.
- [InjectScan](https://ai-powered.com/mcp/injectscan): InjectScan is a freemium MCP server for security.
- [Prompt Sanitizer — prompt-injection scan for untrusted content](https://ai-powered.com/mcp/prompt-sanitizer-prompt-injection-scan-for-untrusted-content): Prompt Sanitizer — prompt-injection scan for untrusted content is a freemium MCP server for ai models and llm tooling.
- [Prescan](https://ai-powered.com/mcp/prescan): Prescan is a paid MCP server for security.
- [Injectshield](https://ai-powered.com/mcp/injectshield): Injectshield is a freemium MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/untrusted-instruction-detector-2
