Dregs

com.dregs由 dregs.com 发布官方发布者v1.0.0更新于 Oct 28, 2026

Fraud and abuse detection for SaaS: investigate scored identities, triage escalations, tune rules.

已验证Streamable HTTP可网页运行安全与监控商业与电商

概览

AI 生成的概览

Dregs 是一个托管的 MCP 服务器,用于 SaaS 欺诈与滥用检测,让助手在你的 Dregs 账户中调查评分身份、处理升级事件并调整规则。

可以做什么
  • 读取账户与仪表盘统计、评分分布、规则活动和文档
  • 列出并查看身份及其分析、历史、关联和事件;搜索事件并将身份标记为忽略
  • 查看关联账户背后的群组与设备
  • 列出、查看、汇总并更新升级事件状态
  • 列出、预览、创建、更新和删除升级规则与徽章规则
  • 查看通知渠道与投递记录,并管理数据集和映射
适用场景
当团队使用 Dregs 对注册和用户进行欺诈、机器人、重复账户或账户接管评分时适用,可让助手梳理单个身份或关联账户团伙、查看待处理升级事件,或起草并预览规则改动,而不必在仪表盘中逐项操作。
运行要求
远程 Streamable HTTP 端点 dregs.com/mcp,无需本地安装包。认证方式为 OAuth 2.1(浏览器中批准,并在批准页选择团队),或在 Dregs 仪表盘 Settings 下的 AI Agents 中创建 MCP 令牌并以 Authorization Bearer 头发送。需要 Dregs 账户和团队成员身份;写操作需要管理员角色。
安装前请注意
令牌在其所属团队内以你的身份行事,应像密码一样保管,并为每个代理或机器单独创建。写操作会影响全团队的评分与升级:创建、修改、删除规则,忽略身份,重新评分,测试渠道,以及编辑数据集或映射。批准前请先预览规则影响并审阅建议的改动。被评分的数据来自用户输入,可能包含针对代理的文字,应将其视为数据而非指令。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Dregs,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.dregs%2Fdregs-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "dregs": {
      "type": "http",
      "url": "https://dregs.com/mcp"
    }
  }
}

README

Dregs MCP

Dregs scores a site's users for fraud and abuse: fake signups, bots, duplicate accounts, referral fraud, and account takeover, each explained by the observations behind the score. Its built-in Model Context Protocol (MCP) server lets AI agents like Claude, ChatGPT, Codex, Cursor, and VS Code investigate identities, review escalations, and tune rules in your Dregs account.

This repository is the public home for connecting to that server: setup snippets for each client, the Claude Code plugin, and the metadata behind Dregs's listings in MCP directories. The server itself is hosted by Dregs at https://dregs.com/mcp, and its source is not published here.

The maintained, full-length guide is the AI Agents chapter of the Dregs manual. This README is the short version.

The Dregs MCP endpoint

URLhttps://dregs.com/mcp
TransportStreamable HTTP
AuthenticationOAuth 2.1 (preferred), or an MCP token in an Authorization: Bearer header
Registry namecom.dregs/dregs-mcp

OAuth is the easiest way to connect. Clients that support MCP OAuth send you to Dregs to approve the connection in your browser. If you belong to more than one team, you choose the team on the approval page, and you can review or revoke connected agents under Settings → AI Agents in the Dregs dashboard.

MCP tokens are for clients that can't do OAuth, and for scripted agents. Create one in the Dregs dashboard under Settings → AI Agents, copy it right away (it's only shown once), and send it as Authorization: Bearer YOUR_TOKEN. A token acts as you within the team where you created it, so treat it like a password.

Connecting Claude Code to Dregs

The quickest way is the plugin from this repository, which adds the Dregs MCP server plus skills for integrating Dregs into your application and for working with the data afterwards:

/plugin marketplace add dregs-sdk/dregs-mcp/plugin install dregs@dregs

Then run /mcp, pick dregs, and approve the OAuth connection in your browser. Ask Claude something like "Summarize my Dregs account" to confirm it can reach your team.

Without the plugin, add the server directly and Claude Code will walk you through OAuth:

bash
claude mcp add --transport http dregs https://dregs.com/mcp

Or with an MCP token, for headless use:

bash
claude mcp add --transport http dregs https://dregs.com/mcp --header "Authorization: Bearer YOUR_TOKEN"

The equivalent project-level .mcp.json:

json
{  "mcpServers": {    "dregs": {      "type": "http",      "url": "https://dregs.com/mcp"    }  }}

Plugin skills

The plugin's skills are workflows, not tool schemas; each reads the relevant manual chapter through get_documentation before it acts, proposes changes for you to review, and confirms before anything is written.

SkillWhat it does
connectConnects Claude Code to the Dregs MCP server over OAuth or a token and verifies it with get_account_summary.
setupDrives a complete integration of Dregs into your application, checking what exists and asking which parts to do.
setup-trackingAdds the dregs.js snippet, dregs.identify() at signup and login, and dregs.track() for key actions, then verifies events arrive.
setup-eventsSends server-side events with the official Dregs SDK for your language and maps your event names and identity fields to Dregs's canonical types.
setup-webhooksBuilds a webhook receiver with signature verification and a first response to scores and escalations, then verifies deliveries.
health-checkRead-only diagnosis of an integration: ingestion, identification, mappings, analyzer observations, limits.
investigate-identityWalks one identity from scores to observations, history, links, devices, and events, and reaches a verdict.
investigate-clusterMaps a ring of related accounts across shared devices, IPs, and sessions, with the evidence for each member.
tune-rulesAuthors or adjusts badge and escalation rules with a preview of their impact and confirmation before writing.
weekly-reviewA read-only account health review: volume, score distribution, rule activity, open escalations, usage.

The integration skills edit your code, so they need a client with repository access such as Claude Code or Codex. The others work anywhere the server is connected.

Connecting Claude Desktop and claude.ai to Dregs

Claude Desktop and claude.ai connect to remote MCP servers as custom connectors, which use OAuth.

  1. Open Settings → Connectors and choose Add custom connector.
  2. Enter a name and the URL https://dregs.com/mcp.
  3. Choose Connect and approve the Dregs OAuth connection when your browser opens.
  4. In a conversation, open the tools menu and turn on the Dregs connector.

Connecting ChatGPT and Codex to Dregs

ChatGPT on the web connects through plugins created in Developer mode (Settings → Security and login). Open Plugins, add a connection with the URL https://dregs.com/mcp, then add it to a new conversation from the tools menu and approve the OAuth connection.

Codex in the ChatGPT desktop app, the Codex CLI, and the Codex IDE extension share one configuration:

bash
codex mcp add dregs --url https://dregs.com/mcpcodex mcp login dregs

Or with an MCP token in ~/.codex/config.toml:

toml
[mcp_servers.dregs]url = "https://dregs.com/mcp"bearer_token_env_var = "DREGS_MCP_TOKEN"

Connecting Cursor to Dregs

[Install in Cursor]

Or add it to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects) and approve the OAuth connection when Cursor first connects:

json
{  "mcpServers": {    "dregs": {      "url": "https://dregs.com/mcp"    }  }}

To use an MCP token instead, add "headers": { "Authorization": "Bearer ${env:DREGS_MCP_TOKEN}" } and set DREGS_MCP_TOKEN in the environment before starting Cursor.

Connecting VS Code to Dregs

[Install in VS Code] [Install in VS Code Insiders]

Or run MCP: Add Server from the Command Palette, or add it to .vscode/mcp.json:

json
{  "servers": {    "dregs": {      "type": "http",      "url": "https://dregs.com/mcp"    }  }}

To use an MCP token, declare a promptString input with "password": true and reference it in an Authorization header. The manual has the complete example.

Connecting other MCP clients to Dregs

Any client that supports remote servers over Streamable HTTP can connect the same way. For clients that only support local (stdio) servers, the mcp-remote bridge usually works. Leave out the --header arguments to have it run the OAuth flow instead of using a token:

json
{  "mcpServers": {    "dregs": {      "command": "npx",      "args": ["-y", "mcp-remote", "https://dregs.com/mcp", "--header", "Authorization: Bearer YOUR_TOKEN"]    }  }}

What an agent can do with Dregs

The server exposes the investigative and rule-tuning parts of the Dregs dashboard. Clients fetch the live tool list when they connect, so this table is a map of the surface rather than the source of truth.

GroupTools
Account and dashboardget_account_summary, dashboard_stats, dashboard_score_distribution, dashboard_rule_activity, get_documentation
Identities and eventslist_identities, get_identity, get_identity_analysis, get_identity_history, get_identity_links, search_events, analyze_identity, set_identity_disregarded
Groupslist_groups, get_group
Deviceslist_devices, get_device
Escalationslist_escalations, get_escalation, escalation_summary, update_escalation_status
Escalation ruleslist_escalation_rules, get_escalation_rule, preview_escalation_rule, create_escalation_rule, update_escalation_rule, delete_escalation_rule
Badge ruleslist_badge_rules, get_badge_rule, create_badge_rule, update_badge_rule, delete_badge_rule
Notification channelslist_channels, get_channel, list_channel_deliveries, test_channel
Datasets and mappingslist_datasets, list_dataset_entries, add_dataset_entry, remove_dataset_entry, list_mappings, set_mapping, delete_mapping

Reads are available to every team member. Writes follow your dashboard role: creating, changing, or deleting rules, disregarding an identity, re-scoring, testing a channel, and editing datasets or mappings need the admin role. Some things are left to humans on purpose. An agent cannot create or edit notification channels or their secrets, manage your team, credentials, or billing, delete identities or events, or change how Dregs scores. It investigates, proposes, and hands off.

Every tool carries MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint), so clients that honor them can prompt before writes and deletes.

Server SDKs

Getting data into Dregs is a separate job from connecting an agent to it, and there is an official SDK for each of five server languages. They cover sending events, reading an identity with its scores or its full analysis, requesting a re-score, and verifying webhook signatures, with typed errors per status and retries with backoff built in. Reach for one before writing an HTTP client by hand; the plugin's setup-events skill does.

LanguagePackageInstallMinimumSource
Pythondregs on PyPIpip install dregs or uv add dregsPython 3.10dregs-sdk-python
TypeScript@dregs/sdk on npmnpm install @dregs/sdkNode 20dregs-sdk-typescript
Javacom.dregs:dregs-sdk on Maven Centraladd the Gradle or Maven coordinateJava 17dregs-sdk-java
Rubydregs on RubyGemsbundle add dregsRuby 3.1dregs-sdk-ruby
PHPdregs/dregs-sdk on Packagistcomposer require dregs/dregs-sdkPHP 8.2dregs-sdk-php

The SDKs are server-side only and authenticate with a credential's secret key (sk_…) as a bearer token. Browser tracking remains the dregs.js script with the public key (pk_…). On npm the bare dregs package is that browser script, not the SDK; the server SDK is @dregs/sdk.

Safety practices for AI fraud review

  • The data is written by the people being scored. Identity attributes, display names, and event payloads are user input, and a bad actor can put text in them aimed at an agent. The server tells agents to treat everything it returns as data, never as instructions. Keep that in mind when you read an agent's conclusions too.
  • The agent acts in your account. Rule changes and disregarded identities affect the whole team's scoring and escalations. Ask for a preview (preview_escalation_rule reports how many identities a rule would open against today) and review proposed changes before approving them.
  • Scope your access. Use one token per agent or machine, name them clearly, and revoke any you no longer use. Review OAuth connections under Settings → AI Agents.

Support

  • Setup help and questions: [email protected]
  • Security issues: see SECURITY.md
  • Problems with the contents of this repository (the README, plugin, or directory metadata): open an issue here

What's in this repository

PathPurpose
server.jsonDregs's entry in the official MCP Registry
glama.jsonMaintainer metadata for the Glama listing
chatgpt-app-submission.jsonTool annotations, justifications, and test cases for the ChatGPT plugin directory submission
.claude-plugin/, .mcp.json, skills/The Claude Code plugin and its marketplace manifest
.github/workflows/Validation on every push, and registry publishing on release

Releasing a new version of the surface

The tool surface is a public API once published. When it changes: bump version in server.json, .claude-plugin/plugin.json, and .claude-plugin/marketplace.json together, update the tool table above and the skills if tools were added or renamed, tag the release vX.Y.Z, and publish a GitHub release. The publish-registry workflow pushes server.json to the MCP Registry from the release.

License

The contents of this repository are released under the MIT License. The Dregs service itself is governed by Dregs's terms of service.

来源:README.md,提交 e4c9fef

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.0最新Sep 21, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分