Picdefenseio Mcp Server

io.github.rchanllc由 GitHub 帳號 rchanllc 發布v1.1.2更新於 Nov 3, 2026

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

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取安全與監控媒體與設計

概覽

Picdefenseio 的託管 MCP 服務(mcp.picdefense.io);需要 API 金鑰;Streamable HTTP。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

端點
mcp.picdefense.io
最近檢查

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Picdefenseio Mcp Server,將其新增到工作區。
  2. 連接 X-API-Token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.rchanllc%2Fpicdefenseio-mcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "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.

來源:README.md,提交 0d443a4

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

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

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分