Picdefenseio Mcp Server

io.github.rchanllcPublished by GitHub account rchanllcv1.1.2Updated Nov 3, 2026

Image risk, EXIF/IPTC/XMP, reverse-image backlinks, content, watermark, OCR via PicDefense.io.

Overview

Picdefenseio's hosted MCP server (mcp.picdefense.io); API key required; Streamable HTTP.

No AI overview yet: these facts come from the registry entry and the server itself.

Endpoint
mcp.picdefense.io
Last checked

Installation

In SourceWeft

  1. Open Picdefenseio Mcp Server in the dashboard and add it to a workspace.
  2. Connect X-API-Token credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.rchanllc%2Fpicdefenseio-mcp-server/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "picdefenseio": {
      "type": "http",
      "url": "https://mcp.picdefense.io/mcp",
      "headers": {
        "X-API-Token": "<YOUR_API_KEY>"
      }
    }
  }
}

README

PicDefense.io MCP Server

A Model Context Protocol server for the PicDefense.io API — let AI agents run reverse-image risk analysis, EXIF/IPTC/XMP metadata extraction, image backlink discovery, and image content detection (face / landmark / logo / label / SafeSearch) on any image URL.

Features

  • 🔐 Per-user authentication — each connection carries its own PicDefense API token; the server holds no keys
  • 🚀 Dual transport — modern Streamable HTTP (/mcp) and legacy SSE (/sse)
  • 🧰 11 tools covering the full PicDefense API v2
  • 🐳 Docker-ready — production container behind nginx
  • 📖 Built-in docs — Swagger UI at /docs

Tools

ToolDescription
picdefense_get_creditsRemaining account credit balance
picdefense_check_image_riskReverse-image risk analysis + picrisk score (core tool)
picdefense_extract_exifExtract EXIF metadata (camera, timestamps, GPS) plus IPTC/XMP copyright, creator, credit and licensor fields
picdefense_detect_faceDetect a human face in an image
picdefense_detect_landmarkDetect a recognizable landmark
picdefense_detect_logoDetect a brand logo
picdefense_safesearchContent-safety (adult/violence/racy/…) assessment
picdefense_find_backlinksFind pages where an image appears
picdefense_detect_labelsDetect descriptive labels for image contents
picdefense_extract_textExtract text from an image via OCR
picdefense_detect_watermarkDetect a visible stock/photographer watermark (source + confidence)

All image tools take a single url (a public http/https image URL). Most tools consume account credits per call — use picdefense_get_credits to check your balance.

Authentication

Every request authenticates with your PicDefense API token, which is your user id and API key joined by a colon:

USERID:APIKEY

Find both in your PicDefense.io account settings: https://app.picdefense.io/?returnUrl=https://app.picdefense.io/dashboard/settings

The token is sent as the X-API-TOKEN header to the API (https://app.picdefense.io/api/v2).

Quick start

Hosted server (recommended)

The hosted server runs at https://mcp.picdefense.io. Add it to Claude Code:

bash
# Streamable HTTP (recommended)claude mcp add -t http picdefense "https://mcp.picdefense.io/mcp" \  --header "X-API-Token: USERID:APIKEY"
# or SSEclaude mcp add -t sse picdefense "https://mcp.picdefense.io/sse?token=USERID:APIKEY"

Quick HTTP smoke test:

bash
curl -X POST https://mcp.picdefense.io/mcp \  -H "Content-Type: application/json" \  -H "X-API-Token: USERID:APIKEY" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Claude Desktop (hosted)

Claude Desktop launches MCP servers as local commands, so reach the hosted server through the mcp-remote bridge (requires Node.js installed). See claude_desktop_config.example.json:

json
{  "mcpServers": {    "picdefense": {      "command": "npx",      "args": [        "-y",        "mcp-remote",        "https://mcp.picdefense.io/sse?token=YOUR_USERID:YOUR_APIKEY"      ]    }  }}

Edit your claude_desktop_config.json (Settings → Developer → Edit Config), add the mcpServers block above with your USERID:APIKEY, then fully quit and reopen Claude Desktop.

Testing against a plain-HTTP server (e.g. http://<host>:6910) instead of HTTPS? mcp-remote blocks non-HTTPS origins unless the host is localhost — append "--allow-http" to the args array, or reach it over an SSH tunnel to localhost.

Local (stdio) via npx — no clone needed

Run the published package directly. Requires Node.js installed.

json
{  "mcpServers": {    "picdefense": {      "command": "npx",      "args": [        "-y",        "@picdefenseio/mcp-server",        "--api-token",        "USERID:APIKEY"      ]    }  }}

You can also pass the token via the PICDEFENSE_API_TOKEN env var instead of --api-token.

Local (stdio) from source

Clone and build, then point Claude Desktop at the built entry point:

bash
git clone https://github.com/rchanllc/picdefenseio-mcp-server.gitcd picdefenseio-mcp-servernpm installnpm run build

Then use "command": "node" with "args": ["/absolute/path/to/dist/index.js", "--api-token", "USERID:APIKEY"].

Configuration

VariableDefaultDescription
PICDEFENSE_API_TOKEN—USERID:APIKEY (stdio only; hosted server reads it per-connection)
PICDEFENSE_API_BASE_URLhttps://app.picdefense.io/api/v2API base URL
PORT6910Hosted server listen port

Running the hosted server

Development

bash
npm run dev:sse        # tsx watch, auto-reload

Production (Docker)

bash
# via docker composedocker compose up --build -d
# or the helper script (handles build + health check)./deploy.sh

The container is named picdefenseio_mcp and listens on port 6910.

HTTP endpoints

MethodPathPurpose
GET/healthHealth check (used by Docker + CI)
GET/api/infoServer + transport info
GET/toolsList available tools
GET/docsSwagger UI for the underlying API
GET/sse?token=USERID:APIKEYOpen an SSE MCP session
POST/messages?sessionId=<id>SSE session message channel
POST/mcpStreamable HTTP MCP (header X-API-Token)

Self-hosting

There is no CI/CD in this repo — host it yourself. On your server:

bash
git clone https://github.com/rchanllc/picdefenseio-mcp-server.gitcd picdefenseio-mcp-serverdocker compose up --build -d      # or: ./deploy.sh

The container is named picdefenseio_mcp and listens on 6910. To update, git pull and re-run docker compose up --build -d.

Front it with nginx at https://mcp.picdefense.io → 127.0.0.1:6910 (proxy_buffering off and a long read timeout are recommended for the /sse path).

Architecture

┌──────────────┐    ┌────────────────────────┐    ┌─────────────────────────┐│  MCP Client  │───▶│  PicDefense MCP Server │───▶│  PicDefense.io API v2   ││ (Claude etc.)│    │      (port 6910)       │    │ app.picdefense.io/api/v2│└──────────────┘    └────────────────────────┘    └─────────────────────────┘        token (USERID:APIKEY) forwarded as X-API-TOKEN ───────────▶

Each connection builds its own API client + MCP server bound to the caller's token, so the service is multi-tenant and stateless with respect to credentials.

License

MIT — see LICENSE.

Source: README.md at commit 0d443a4

Tools

0
This server asks for a credential such as an API key, so SourceWeft could not read its tools without one and has not indexed them.

Version history

4
  1. v1.1.2LatestNov 3, 2026
  2. v1.1.1Oct 22, 2026
  3. v1.1.0Oct 14, 2026
  4. v1.0.1Sep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts