跳到内容

设备端 AI 检测评分

适用于 Claude、Codex 和 Cursor 的 AI 内容检测 MCP

Slop or Not MCP 服务器让 Claude、Codex、Hermes Agent、OpenClaw、Cursor 和其他 agent 可以在你的 Mac 上调用本地 AI 文本检测、AI 图片检测、可读性分析和清理工具。

将你的 MCP 客户端指向内置的 slop mcp 命令。使用 Pro 后,Claude、Codex、Hermes Agent、OpenClaw、Cursor 和其他智能体可以持续运行本地检测,不受按次 API 计量限制。

Download on the App Store
Mac 上的 Slop or Not MCP 设置界面
客户端设置片段会指向打包在 Mac app 内的二进制文件。
本地 stdio 服务器
你的 MCP 客户端会启动打包的 slop 二进制文件,并通过 stdio 与它通信。
六个工具
状态、文本检测、可读性、清理、图片检测和原始图片评分。
无限次设备端检测
Pro 会移除每日上限,因此 agent 可以在设备端反复运行文本、图片、可读性和清理检测。

客户端设置

如何将 Slop or Not 添加到 MCP 客户端?

安装 Mac 应用,激活 Pro,然后为你的客户端使用 app-bundle 片段。Claude、Codex、Hermes Agent、OpenClaw 和 Cursor 都指向同一个本地服务器。

Claude Code将 Slop or Not 添加为用户范围的 stdio 服务器,重启 Claude Code,然后用 /mcp 验证。
claude mcp add --transport stdio --scope user SlopOrNot -- "/Applications/Slop Or Not.app/Contents/MacOS/slop" mcp
Claude Desktop在 ~/Library/Application Support/Claude/claude_desktop_config.json 中使用这个 JSON 结构,然后重启 Claude Desktop。
{
  "mcpServers": {
    "SlopOrNot": {
      "command": "/Applications/Slop Or Not.app/Contents/MacOS/slop",
      "args": ["mcp"]
    }
  }
}
Codex将服务器添加到 ~/.codex/config.toml,然后重启 Codex,让它读取新的 MCP 服务器列表。
[mcp_servers.SlopOrNot]
command = "/Applications/Slop Or Not.app/Contents/MacOS/slop"
args = ["mcp"]
Hermes Agent在你的 Hermes Agent 配置中将 Slop or Not 添加为 MCP 服务器,然后重启 Hermes Agent,让它可以调用本地工具。
mcp_servers:
  SlopOrNot:
    command: "/Applications/Slop Or Not.app/Contents/MacOS/slop"
    args: ["mcp"]
OpenClaw使用 OpenClaw MCP CLI 注册 Slop or Not;如果 OpenClaw 已经在运行,请重启它。
openclaw mcp set slopornot '{"command":"/Applications/Slop Or Not.app/Contents/MacOS/slop","args":["mcp"]}'
Cursor若要设置全局服务器,请添加到 ~/.cursor/mcp.json;若只用于一个项目,请添加到项目根目录的 .cursor/mcp.json。
{
  "mcpServers": {
    "SlopOrNot": {
      "command": "/Applications/Slop Or Not.app/Contents/MacOS/slop",
      "args": ["mcp"]
    }
  }
}

工具参考

Slop or Not MCP 服务器提供哪些工具?

服务器提供智能体通常需要的六种检测工具:状态、文本检测、可读性、清理、图片检测和原始图片评分。

slop_status

检查 app 和 Pro 状态

在 agent 开始工作流前,确认 app 已安装、二进制文件可以运行,并且 Pro 已启用。

查看负载和结果

工具输入

{}

结果结构

{
  "pro": true,
  "version": "1.0.9"
}
detect_text

检测 AI 文本

使用设备端文本检测器为一段文字评分,并返回本地 AI 判定、分数和可读性指标。

查看负载和结果

工具输入

{
  "text": "<text>",
  "include_readability": true,
  "language_code": "en"
}

结果结构

{
  "kind": "result",
  "verdict": "real",
  "score": 0.0,
  "language": "en",
  "sentence_count": 6,
  "generator": null,
  "readability": {
    "language": "en",
    "language_confidence": 0.9996,
    "scores": [
      { "kind": "fleschReadingEase", "value": 75.18 },
      { "kind": "fleschKincaidGradeLevel", "value": 5.51 }
    ],
    "stats": { "word_count": 66, "sentence_count": 6 },
    "warnings": [],
    "avg_words_per_sentence": 11,
    "word_count": 66,
    "sentence_count": 6
  }
}
analyze_readability

分析可读性

计算阅读难度指标,不运行 AI 检测。

查看负载和结果

工具输入

{
  "text": "<text>",
  "language_code": "en"
}

结果结构

{
  "language": "en",
  "language_confidence": 0.9996,
  "scores": [
    { "kind": "fleschReadingEase", "value": 88.54 },
    { "kind": "fleschKincaidGradeLevel", "value": 2.65 }
  ],
  "avg_words_per_sentence": 7,
  "sentence_count": 5,
  "word_count": 35,
  "warnings": []
}
clean_text

清理文本痕迹

在下一次检测前,去除零宽字符、同形异义字符和花体标点。

查看负载和结果

工具输入

{
  "text": "<text>",
  "remove_invisibles": true,
  "remove_punctuation": true,
  "remove_homoglyphs": true
}

结果结构

{
  "cleaned_text": "<cleaned_text>",
  "language": "en",
  "removed_invisibles": 1,
  "punctuation_replacements": 1,
  "homoglyphs_replaced": 0,
  "british_substitutions": 0
}
detect_image

检测 AI 图片

在本地检查 JPEG、PNG、HEIC 或 WebP 图片字节,读取 C2PA 和 IPTC 来源信息,并在需要时回退到设备端模型。

查看负载和结果

工具输入

{
  "image_base64": "<base64>",
  "recognize_text": true
}

结果结构

{
  "kind": "result",
  "verdict": "most_likely_ai_slop",
  "score": 0.80,
  "generator": null,
  "recognized_text": null,
  "recognized_sentence_count": null
}
score_image

为 AI 图片评分

当 agent 需要模型信号而不需要完整的图片检测响应时,返回原始 OmniAID 图片分数。

查看负载和结果

工具输入

{
  "image_base64": "<base64>"
}

结果结构

{
  "raw_slop_score": 0.690673828125
}

验证

如何验证 MCP 服务器?

重启后,让你的 agent 运行 slop_status。预期结果是一次工具调用,它会报告本地 app 和 Pro 状态,并且不返回错误。

{
  "pro": true,
  "version": "1.0.9"
}

故障排查

为什么这些代码片段使用 app-bundle 路径?

GUI agent 可能会在你的登录 shell 之外启动,此时命令名可能无法解析。这些代码片段使用已签名的 app bundle 路径,确保每个客户端都启动同一个内置的 Slop or Not 二进制文件。

本地 API

agent 可以用它代替云端 AI 检测 API 吗?

对于 agent 工作流,可以。MCP 为 Claude、Codex、Hermes Agent、OpenClaw、Cursor 和其他客户端提供本地工具接口,而不是托管的 AI 检测 API。客户端会通过 stdio 将文本或图片数据发送到打包的 Mac 二进制文件,检查会在你的 Mac 上运行。

与 agent 循环配合

Slop or Not 如何配合 agentic AI Humanizer 技能使用?

agentic AI Humanizer skill 无需 Slop or Not 也能运行核心改写和语气匹配。当你希望 MCP tools 先给基线评分、在人性化处理前后运行 Text Cleanup、用设备端 AI 检测器重新评分并显示清理统计时,可以在 Pro 激活后将它连接到 Slop or Not。你的写作样本会引导改写;Slop or Not 提供本地 AI 检测测量。

Slop or Not 返回的是概率判定,而非作者身份的证据。结果可能因新AI模型、短文和经过人类大量编辑的文字而有所差异。