Skip to main content
Glama
hawklithm

sensitive-info-mcp

by hawklithm

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SI_MCP_MODELNoOptional model name for AI detection (default: gpt-4o-mini)
OPENAI_API_KEYNoOpenAI API key for AI-enhanced detection
OPENAI_BASE_URLNoOptional base URL for OpenAI API (default: https://api.openai.com/v1)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
scan_textA

检测文本中的敏感信息

Args: text: 待检测文本 enable_ai: 是否启用 AI 语义检测(需配置 OPENAI_API_KEY 环境变量) mask_strategy: 脱敏策略,可选 mask|replace|hash|keep_format|redact

Returns: JSON 格式的检测结果列表

mask_textB

检测并脱敏文本,返回脱敏后的文本

Args: text: 待脱敏文本 mask_strategy: 脱敏策略 mask|replace|hash|keep_format|redact enable_ai: 是否启用 AI 语义检测

Returns: 脱敏后的文本

scan_reportB

生成完整的 Markdown 扫描报告

Args: text: 待扫描文本 enable_ai: 是否启用 AI 检测 mask_strategy: 脱敏策略

Returns: Markdown 格式的扫描报告

scan_fileB

扫描文件中的敏感信息

Args: file_path: 文件路径 enable_ai: 是否启用 AI 检测 mask_strategy: 脱敏策略

Returns: JSON 格式的检测结果

mask_fileB

脱敏文件内容并保存

Args: file_path: 输入文件路径 output_path: 输出文件路径(与 inplace 互斥) mask_strategy: 脱敏策略 enable_ai: 是否启用 AI 检测 inplace: 是否原地覆盖(慎用)

Returns: 操作结果 JSON

list_rulesA

列出当前所有内置检测规则

Returns: JSON 格式的规则列表

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hawklithm/sensitive-info-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server