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 分