@vettly/mcp 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
# @vettly/mcp
|
|
2
2
|
|
|
3
|
-
MCP server for
|
|
3
|
+
MCP server for UGC moderation. Enables AI assistants to make policy-governed, auditable content decisions.
|
|
4
|
+
|
|
5
|
+
## UGC Moderation Essentials
|
|
6
|
+
|
|
7
|
+
Apps with user-generated content need four things to stay compliant and keep users safe. The MCP server lets AI assistants participate in all four:
|
|
8
|
+
|
|
9
|
+
| Requirement | MCP Integration |
|
|
10
|
+
|-------------|-----------------|
|
|
11
|
+
| **Content filtering** | `moderate_content` tool |
|
|
12
|
+
| **User reporting** | `get_recent_decisions` tool (review flagged content) |
|
|
13
|
+
| **User blocking** | Pair with server-side SDK (`POST /v1/blocks`) |
|
|
14
|
+
| **Audit trail** | Every tool response includes `decisionId` |
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
Prompt: "Check if this user comment is safe for our app: 'Great product!'
|
|
18
|
+
Use the app-store policy."
|
|
19
|
+
|
|
20
|
+
→ moderate_content returns decisionId, action: "allow", categories, scores
|
|
21
|
+
```
|
|
4
22
|
|
|
5
23
|
## Why MCP for Content Decisions?
|
|
6
24
|
|
|
@@ -35,7 +53,7 @@ Add to your `claude_desktop_config.json`:
|
|
|
35
53
|
"command": "npx",
|
|
36
54
|
"args": ["-y", "@vettly/mcp"],
|
|
37
55
|
"env": {
|
|
38
|
-
"VETTLY_API_KEY": "
|
|
56
|
+
"VETTLY_API_KEY": "vettly_live_xxx"
|
|
39
57
|
}
|
|
40
58
|
}
|
|
41
59
|
}
|
|
@@ -279,6 +297,15 @@ abc-123 and explain why their content was blocked?
|
|
|
279
297
|
|
|
280
298
|
---
|
|
281
299
|
|
|
300
|
+
## Get Your API Key
|
|
301
|
+
|
|
302
|
+
1. Sign up at [vettly.dev](https://vettly.dev)
|
|
303
|
+
2. Go to Dashboard > API Keys
|
|
304
|
+
3. Create and copy your key
|
|
305
|
+
4. Set as `VETTLY_API_KEY` environment variable (see Configuration above)
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
|
|
282
309
|
## Links
|
|
283
310
|
|
|
284
311
|
- [vettly.dev](https://vettly.dev) - Sign up
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vettly/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"mcpName": "io.github.code-with-brian/vettly",
|
|
5
|
-
"description": "MCP server for content moderation with Claude and Cursor.
|
|
5
|
+
"description": "MCP server for content moderation with Claude and Cursor. Content moderation policy testing.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|