MCP Server

Connect TruthScan AI Image Detection to Claude, Cursor, and any MCP client

Run AI-image detection as a tool directly inside your AI assistants. No glue code, no custom integration — point your MCP client at TruthScan and start detecting AI-generated images in conversation.

MCP server base URL
https://truthscan.com/api/mcp
Streamable HTTP transport

How it works

The Model Context Protocol (MCP) lets AI assistants call external tools through a standard interface. TruthScan exposes its AI-image detector as an MCP tool, so any MCP-compatible client — Claude Desktop, Cursor, ChatGPT, and others — can submit an image and receive an AI-likelihood score without writing integration code. Connect in one of two ways: a static API key for fast, headless setups, or OAuth 2.1 for per-user sign-in.

Set up your connection

What are you connecting with?

Tell us what you're connecting with and we'll walk you through it step by step. All clients reach the same MCP server over streamable HTTP.

Which mode should I use?

Both modes reach the same tools. Pick based on who is running the client and how tightly you need to control access.

ConsiderationAPI keyOAuth 2.1
Best forFast setup, headless / CI environmentsMulti-user tools with per-user consent
Who signs inSingle shared accountEach user signs in individually
Credentials in configBearer token pasted in headersNone — obtained interactively
Token lifetimeLong-lived until rotatedAuto-expiring, revocable per user
Setup effortLowest — paste and goBrowser sign-in on first connect

Tools

TruthScan exposes its detectors as MCP tools. Your assistant can call them directly during a conversation.

detect_image

Submits an image URL to TruthScan's detector and returns the AI-likelihood score for the image.

Input

ParameterTypeDescription
image_urlstring (required)Publicly reachable URL of the image to analyze.

Output

FieldTypeDescription
scorenumber (0–100)AI-likelihood score. Higher means more likely AI-generated.
is_aibooleanWhether TruthScan classifies the image as AI-generated.
confidence"Low" | "Medium" | "High"Confidence level of the classification.
detection_result_idstring (optional)Saved detection record id, viewable in your TruthScan dashboard history.
detector_idstring (optional)Upstream detector job id for this analysis, for reference.

Example result

{
  "score": 92,
  "is_ai": true,
  "confidence": "High",
  "detection_result_id": "det_9f2a1c7b",
  "detector_id": "a1c7b9f2-..."
}

More tools for video, audio, text, and PDF detection are coming soon.

Need help connecting?

Our team can help you wire TruthScan into your MCP client and pick the right authentication mode for your workflow.

Contact support

Frequently asked questions

Common questions about connecting to the TruthScan MCP server.