Volver al catálogo

TruthScan MCP

truthscan_mcp

Detect AI-generated images with TruthScan's hosted MCP server, using a public image URL or a short-lived upload URL.

Acciones
2
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (2)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create image upload urlTRUTHSCAN_MCP_CREATE_IMAGE_UPLOAD_URLAcción

Get a short-lived URL for uploading an image, for use when it is not already hosted at a public URL — including an image the user attached to this conversation. PUT the bytes to upload_url sending every header in required_headers exactly as given (the signature covers them; omitting one fails with SignatureDoesNotMatch). When storage_upload_url is returned, PUT the same bytes there too with storage_required_headers — that is the copy shown on the dashboard record, and skipping it leaves the record without its image. Then call detect_image with the returned file_ref. Does not consume detection credits — detect_image does.

Parámetros de entrada

  • file_namestringObligatorio

    Original file name, e.g. screenshot.png.

  • mime_typestring | null

    Image MIME type, e.g. image/png. Used only when file_name has no recognized image extension — otherwise the extension wins, because the upload signature is derived from it.

Parámetros de salida

  • file_refstringObligatorio

    Pass to detect_image once the upload succeeds.

  • upload_urlstringObligatorio

    PUT the image bytes here. Expires — upload promptly.

  • content_typestringObligatorio

    Resolved image MIME type; also in required_headers.

  • required_headersobjectObligatorio

    Send all of these on the PUT, verbatim. They are covered by the URL signature, so omitting one fails the upload.

  • expires_in_secondsnumberObligatorio

    Lifetime of upload_url from issue time.

  • storage_upload_urlstring

    PUT the same bytes here as well, so the image is stored on the dashboard record. Omitted when the image is not retained.

  • storage_required_headersobject

    Send all of these on the storage PUT, verbatim.

Detect imageTRUTHSCAN_MCP_DETECT_IMAGEAcción

Analyze an image with TruthScan's AI image detector and return the likelihood that it was AI-generated (JPG, PNG, WebP, etc.). Two ways to supply the image. (1) image_url: any direct, publicly accessible image link — TruthScan downloads it server-side and forwards it to the detector, so this works without any upload ability on your side (hosts that require login or hard-block bots may still fail). (2) file_ref: for bytes you hold locally, when your environment can make HTTP PUT requests — upload via create_image_upload_url first. If the user attached an image but your environment cannot upload bytes, ask them for a public link to it instead.

Parámetros de entrada

  • file_refstring | null

    Reference returned by create_image_upload_url, after uploading the image to its upload_url. Use this for local files instead of hosting them somewhere public.

  • image_urlany

    A direct, publicly accessible image URL. TruthScan downloads it server-side (10 MB max) and forwards it to the detector, so any host that serves the file without login works; hosts that hard-block bots may still fail. Provide this OR file_ref, not both.

Parámetros de salida

  • is_aibooleanObligatorio

    Whether the image is judged AI-generated. Note this is true for digitally edited images too, so a low score with is_ai true means edited rather than generated — read verdict for which.

  • scorenumberObligatorio

    AI-likelihood score from 0 (human) to 100 (AI).

  • verdictstring

    The detector's own wording, e.g. "AI Generated", "Not AI Generated", "Digitally Edited". More precise than is_ai; prefer it when describing the result to a user.

  • reasoningstring

    The detector's prose explanation of its verdict.

  • confidencestringObligatorio

    Confidence label: "Low", "Medium", or "High".

  • detector_idstring

    Upstream detector job id, for reference.

  • dashboard_urlstring

    Link to the full record on the TruthScan dashboard — original image, metadata and heatmap. Share it with the user.

  • key_indicatorsstring[]

    Specific signals behind the verdict, e.g. C2PA generator metadata or synthetic lighting. Cite these instead of only reporting a number.

  • confidence_scorenumber

    Numeric confidence (0-100) the label was derived from.

  • detection_result_idstring

    Saved detection record id in the TruthScan dashboard.