360 Secure SkillHub
360 安全技能中心

Glin Profanity MCP

这是一个 MCP 服务器 Skill,提供脏话检测、文本审查、批量检查、上下文与混淆分析、安全评分和用户风险追踪等工具,供 AI 助手在内容审核、发布前校验和审核报告流程中调用,检测在本地 MCP 进程中执行。

thegdsks
thegdsks
热度 84.96
最近更新 2026-05-17 11:14:08
分类:安全依赖:MCP 服务应用场景:校对润色 / 数据处理 / 报告撰写 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add glin-profanity-mcp
Metadata
name
glin-profanity-mcp
description
MCP server providing profanity detection tools for AI assistants. Use when reviewing batches of user content, auditing comments for moderation reports, analyzing text for profanity before publishing, or when AI needs content moderation capabilities during workflows.

Glin Profanity MCP Server

MCP (Model Context Protocol) server that provides profanity detection as tools for AI assistants like Claude Desktop, Cursor, and Windsurf.

Best for: AI-assisted content review workflows, batch moderation, audit reports, and content validation before publishing.

Installation

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "glin-profanity": {
      "command": "npx",
      "args": ["-y", "glin-profanity-mcp"]
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "glin-profanity": {
      "command": "npx",
      "args": ["-y", "glin-profanity-mcp"]
    }
  }
}

Available Tools

Core Detection

Tool Description
check_profanity Check text for profanity with detailed results
censor_text Censor profanity with configurable replacement
batch_check Check multiple texts at once (up to 100)
validate_content Get safety score (0-100) with action recommendation

Analysis

Tool Description
analyze_context Context-aware analysis (medical, gaming, etc.)
detect_obfuscation Detect leetspeak and Unicode tricks
explain_match Explain why text was flagged
compare_strictness Compare detection across strictness levels

Utilities

Tool Description
suggest_alternatives Suggest clean replacements
analyze_corpus Analyze up to 500 texts for stats
create_regex_pattern Generate regex for custom detection
get_supported_languages List all 24 supported languages

User Tracking

Tool Description
track_user_message Track messages for repeat offenders
get_user_profile Get user's moderation history
get_high_risk_users List users with high violation rates

Example Prompts

Content Review

"Check these 50 user comments and tell me which ones need moderation"
"Validate this blog post before publishing - use high strictness"
"Analyze this medical article with medical domain context"

Batch Operations

"Batch check all messages in this array and return only flagged ones"
"Generate a moderation audit report for these comments"

Understanding Flags

"Explain why 'f4ck' was detected as profanity"
"Compare strictness levels for this gaming chat message"

Content Cleanup

"Suggest professional alternatives for this flagged text"
"Censor the profanity but preserve first letters"

When to Use

Use MCP server when:

  • AI assists with content review workflows
  • Batch checking user submissions
  • Generating moderation reports
  • Content validation before publishing
  • Human-in-the-loop moderation

Use core library instead when:

  • Automated real-time filtering (hooks/middleware)
  • Every message needs checking without AI involvement
  • Performance-critical applications (< 1ms response)

Resources