tamperlens-mcp
tamperlens-mcp
Servidor MCP para Tamperlens: pregunta si un documento fue editado, si sus tachados se mantienen y si es seguro que un modelo lo lea, antes de que llegue al contexto de tu agente.
// Claude Desktop / Claude Code — claude_desktop_config.json or .mcp.json
{
"mcpServers": {
"tamperlens": {
"command": "npx",
"args": ["-y", "tamperlens-mcp"],
"env": { "TAMPERLENS_API_KEY": "tl_..." }
}
}
}No se necesita ninguna clave para probarlo; sin ella dispones de la cuota anónima de 10 documentos por hora. Una clave gratuita en tamperlens.com/account la eleva a 50 al mes sin tarjeta.
Herramientras
Herramienta de | Respuestas |
| ¿Se editó este documentó después de escribirse? Revisiones añdidas después del guardad o original, metadatos que se contradicen, huellas del editor, cobertura e integeridad de la fima, textto ocluto, macros, rastros de genenradores de IA en imágene — y si el archivo contene textto dirgido a un model de lenguaje en lugar de a un lectcor. |
| ¿Eliminó de verdad el tachado algo? Tapar el textto con una caja negra lo oculta de un persona y no éliminna nada del archivo. |
| ¿Es este mismo archive que el origina que ya tengo, sin cambos? |
Acepta PDF; Word, Excel y PowerPooint (.docx, .xlsx, .pptx and subunits sus gemelos con macros); y JPEG, PNG, WebP, HEIC/HEIF y AVIF.
Related MCP server: subtext-scan
Por qué pondrías Esto delante de un agente
Un document it is leído por dos audienci as y solo una de elás ve la página. Una pipeline of extracon lee título, las denominadas claves, el paquete XMP, los coments, los sombres de los adjuntos — campos que exist for ser leídos por so ftware. El text que se coloca ahí puede estar so redactado para ser obedecido en elugar de ser leído.
inspect_document informa de what before de que tu agente ing ere el archivo, y el colo paylad de la carga it is implementation in condicionalmente en one.
No es una sencilla comodid: el lectcor más probable de un informe de Tamperlens es el mis mode that es the that is a punto de le er the docume, por lo que un MCP server que devolviera la frase del ataquant at el contectto estaría compliend the attack the que acarba de detecar. Recib'es el campo, la ubicacón y the categorías de piltas. La frase, no.
Qué hace que ¿no hace?
No hay análicis local. Cada herramienta es delgada cubierta por encima de la API REST de Tamperlens on a running despliegua. No hay aquí un segundo motor that pued adesviarse del first.
No hay veredictos. Tamperlens informa de señales con el evidencia que las respalda, nunca "este document is a fraudulento". Comment about them with your own lógica de decisión.
El document is never disturbs into the context of the model. Las herramientas use una rutero on the filesystem del que llam és lo they leen aquí. Base en una llamada to a herramienta pondría megabites del documen en la ventana of context to llega a un servico that necesita the bytes, not the model.
No se no se one. Archivo is son process in event in memory by la API and se descartsan with a respues.
Configuración
| Variable | Valor by defecto | Significado |
| -------------------- | ------------------------ |
| TAMPERLENS_A_PI_KEY? | no, however none | Opcional. Con sin ella we applies an anonymous (10 doc/hour). |
| TAMPERLENS_BASE_UR | https://tampelens.com | Point to tu propia desplegu. |
Enla sp.
Guía de campo para cada señal · Este archivo es seguro for que tu model lo leas? [Referencia de la API](https://tamperlens.com/api-refire[Encia de seguridad pí,le, iva](https://tamperlens.com/security)
MIT licensed a con licencia MIT. Enlaces y códig o fuen: https://github.com/herruov/tamperlens-mcp. The motor with the one that the substance is tamperlens.com; and website repositories is the only one of the MCP client.
Available Tools
4 toolscheck_redactionA
Check whether a PDF's redactions actually removed anything. Covering text with a black box hides it from a reader and removes nothing from the file, so the words stay extractable. This reads paint order to catch a plain drawn rectangle — which carries no redaction annotation at all and is the failure behind most published redaction leaks — and separately catches redaction marks that were never applied. Use this before a document is filed or released.
Inputs: url, path.
compare_documentsA
Compare a candidate document against the original you already hold, and answer the question a single-file check cannot: is this the same file, unchanged? Reports byte identity (the only proof), revision ancestry when the candidate contains the original as a byte prefix, or a field-by-field structural diff when both were rewritten whole. Renders nothing and compares no pixels.
Inputs: originalUrl, candidateUrl, originalPath, candidatePath.
inspect_documentA
Inspect a document or image for fraud and tamper signals: revisions appended after the original save, metadata that disagrees with itself, editor fingerprints, signature coverage gaps, text still readable under a redaction box, unaccepted tracked changes whose deleted text is still recoverable, hidden text, hidden spreadsheet sheets, macros, and AI-generator or editor traces in images. Returns risk signals with the raw evidence behind each one — never a verdict on authenticity. Accepts PDF; Word, Excel and PowerPoint documents (.docx, .xlsx, .pptx and macro-enabled twins); and JPEG, PNG, WebP, HEIC/HEIF and AVIF images.
ALSO ANSWERS: is this file safe for a model to read? Document properties, XMP, annotations, attachment names, docProps, comments and hidden Word runs are checked for text written to be read by a language model rather than by a person — the prompt-injection carriers an extraction pipeline surfaces and a human reader never sees. Call this BEFORE the document reaches your own context. The recovered text itself is never returned through this tool: you get the cue categories, the counts and which kind of field carried it, because reading the payload is the attack.
Inputs: url, path, issuer, policy.
triage_documentA
CHEAP PRE-FLIGHT for document intake: is this file worth ingesting, and what does it cost to open? Reads structure, metadata, signatures and presence flags (revisions appended after the original, editor fingerprints, macros, JavaScript, embedded files, signature coverage) WITHOUT the expensive per-page content walk — a fraction of the I/O of inspect_document. Returns the risk band, the medium-or-high signals it CAN see, and the measured cost: bytes read, bytes expanded (decompressed) and the expansion ratio, so an agent can reject a decompression-heavy or high-risk file before committing to a full parse.
NOT A CLEAN BILL OF HEALTH. A quiet triage means only that the cheap structural tells were absent. Hidden text, redaction failure, altered arithmetic, glyph tampering, embedded-image anomalies and broken certifications are NOT checked in this mode — they need the page-content walk inspect_document runs. Use triage to ROUTE (reject now, or escalate to inspect_document), never as the verdict. PDFs get the cheap scope; Office documents and images have no separate expensive walk, so they return their full report.
Inputs: path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clear action-object purpose: deep inspection, cheap pre-flight triage, PDF redaction verification, and original-vs-candidate comparison. The only real overlap is that check_redaction is a specialized slice of what inspect_document also covers, and triage_document vs inspect_document are two depths of the same scanning workflow, but the descriptions explain the intended routing well.
All tools follow a consistent lowercase snake_case verb_target pattern: inspect_document, triage_document, check_redaction, compare_documents. The only minor variation is pluralization on compare_documents, which is semantically natural and does not hurt predictability.
Four tools is well-scoped for a document-forensics server: one cheap intake preflight, one comprehensive deep inspection, one targeted redaction gate, and one comparison operation. Each tool has a distinct place in the workflow, and none feels redundant.
The surface covers the full relevant progression: triage to route, inspect to get detailed signals, check_redact before release, and compare to validate against an original. It also covers both document files and in images; the main gap is that check_redaction is PDF-only and there is no explicit batch/attation/report operation, but these are obstacles behind the core workflow.
Maintenance
Related MCP Connectors
Scan web pages, mails, PDFs and tool output for prompt injection before your agent reads them.
Check a document for hidden text before your agent reads it. PDF, Office, RTF, HTML.
The WAF for agents. Pattern-based + heuristic firewall scans prompts, RAG documents, tool argume...
Scan text, documents, websites, and MCP metadata for prompt injection and sensitive-data risks.
Related MCP Servers
AlicenseAqualityDmaintenanceEnables agents to inspect PDF, Microsoft Office, and Apple iWork documents without rendering them, providing page/slide counts, metadata, security signals, structure, and integrity as deterministic JSON via typed tools and batch operations.453 npmMIT- AlicenseNot gradedqualityBmaintenanceEnables an agent to check a document file or a retrieved piece of text for text a person cannot see and for instruction-style payloads before the agent reads or acts on it, returning findings with location, reason and severity plus a blocked flag when the content should not be trusted. The hidden text itself is withheld from tool results by default so the payload is not delivered to the requesting agent.10 npmApache 2.0
- AlicenseNot gradedqualityNot gradedmaintenanceEnables agents and applications to detect, inspect, and neutralize prompt injection, jailbreak attempts, and hidden instruction escapes in untrusted text before it is passed into prompts.1MIT

Perlectaofficial
AlicenseNot gradedqualityNot gradedmaintenanceEnables agents to analyze documents for hidden text and indirect prompt-injection indicators before reading them, returning report metadata without exposing the hidden content.1Apache 2.0