Prompt Guard Mcp

io.github.robertoyanguas-ops由 GitHub 账号 robertoyanguas-ops 发布v1.1.1更新于 Oct 24, 2026

Scans untrusted web pages, emails, or tool outputs for prompt injections and returns sanitized tex

发布方自己的服务:X402-Broker Global A2A, MCP & x402 Super-Marketplace

已验证Streamable HTTP可网页运行安全与监控AI 与机器学习

概览

AI 生成的概览

一个远程 MCP 服务器,可扫描网页、邮件或工具输出等不可信文本中的隐藏提示注入,并返回净化后的文本。

可以做什么
扫描不可信的网页、邮件、MCP 响应或 A2A 载荷中的隐藏提示注入,基于对给定文本的确定性 prompt-guard 分析返回净化后的文本。查看代理账户账本:剩余免费试用调用次数、预付美元余额、累计支出、API 调用总数以及节省的 LLM token 总量。
适用场景
适合在助手读取外部来源内容、并希望在据此行动前对隐藏注入做确定性检查时使用;也适合在一批付费工具调用前或充值后确认剩余免费次数与预付余额。
运行要求
远程 streamable HTTP 端点;未声明任何软件包、环境变量或请求头。清单未声明身份验证,但工具涉及按代理区分的账户、免费试用调用和预付美元余额,因此隐含需要代理账户。
安装前请注意
该服务按量计费:仅包含有限次数的免费试用调用,后续使用会消耗通过 Stripe 或 USDC 充值的预付美元余额,调用可能产生费用。提交的文本会发送到第三方远程服务。净化结果只是过滤,并非保证,仍应谨慎对待已扫描内容。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Prompt Guard Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

交给智能体安装

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

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

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

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "prompt-guard": {
      "type": "http",
      "url": "https://prompt-guard-72343955726.us-central1.run.app/mcp/prompt-guard"
    }
  }
}

工具

2

scan_prompt_injection

Scan prompt injection

Scans untrusted web pages, emails, MCP responses, or A2A payloads for hidden prompt injections and returns sanitized text. WHEN TO USE: Call `scan_prompt_injection` when your task requires deterministic `prompt-guard` analysis for `text`; use `get_agent_wallet_status` to check your remaining free trial quota or prepaid balance. WHEN NOT TO USE: Do not use for unrelated domains or binary media. PARAMETER INTERACTIONS: Pass the target `text` as a non-empty string; omit `agent_id` and `tx_hash` during your 5 free trial calls, or supply `agent_id` (`agd_pass_...`) / `tx_hash` for paid execution. Read-only and idempotent; results are cached for 1 hour (<5ms cache hit). $0.005 per call. Pricing: the first 5 calls per agent_id are free and failed calls are never charged. After 5 calls, the tool returns a payment-required quote (not a fatal error) with a $2 Stripe top-up link and Base/Solana USDC addresses; complete payment, then retry with your agd_pass_ key in agent_id or pass tx_hash. Example: scan_prompt_injection(text='example')

输入参数text必填tx_hashagent_id

get_agent_wallet_status

Get agent wallet status

Inspect an agent's account ledger: remaining free trial calls (out of 5), prepaid USD balance, cumulative spend, total API calls, and total LLM tokens saved. WHEN TO USE: Call before a batch of paid tool executions or after completing a Stripe or USDC top-up to confirm your balance. WHEN NOT TO USE: Do not use to process web content, execute marketplace tools, or submit payments; use the other tools on this server for execution. PARAMETER INTERACTIONS: Omit agent_id to inspect the default trial account derived from your client IP, or pass your explicit agent_id or agd_pass_ session key to check a specific funded wallet. Free and read-only: never charges a fee or consumes a free trial call. Example: get_agent_wallet_status(agent_id='example')

输入参数agent_id

版本历史

2
  1. v1.1.1最新Oct 13, 2026
  2. v1.0.0Oct 13, 2026

评分

已满足适用检查项的 83%

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

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

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。

其他 X402broker 集成