Faro

io.github.vedux98由 GitHub 账号 vedux98 发布v1.2.0更新于 Oct 24, 2026

Verify URLs, payees, and messages before acting: red/yellow/green trust verdicts for agents.

已验证Streamable HTTP可网页运行金融安全与监控

概览

AI 生成的概览

Faro 是一个托管信任校验服务,让助手在行动前核验网址、收款方和消息,并获得绿、黄、红三色判定。

可以做什么
  • 在智能体打开或分享链接前核验网址,返回判定、一句话原因和建议动作。
  • 在转账前检查 UPI、收款方或账户。
  • 筛查收到的短信、邮件或聊天内容中的诈骗手法。
  • 通过文档化的适配器,在结算前校验 AP2、x402 或 ACP 智能体支付载荷。
  • 在代码中依据稳定的判定契约(allow、warn、block、review)分支处理。
适用场景
当智能体即将点击链接、向收款方付款或信任一条外来消息,而你需要在此刻得到一个红黄绿判定,而不是一堆原始威胁情报仪表盘时使用。
运行要求
需要访问远程 MCP 端点 mcp.farofinance.app 的网络连接。需要从 Faro 网站获取的 API 密钥,以 Bearer 令牌形式放在 Authorization 请求头中。托管 MCP 服务无需本地运行时或安装包。
安装前请注意
API 密钥是机密,通过 Authorization 请求头发送,请勿写入日志或共享配置。校验请求会把网址、收款方或消息内容发送到 Faro 的托管 API,其评分与信誉数据为闭源。判定仅供参考,是否执行 block 或 review 动作需自行决定。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "faro": {
      "type": "http",
      "url": "https://mcp.farofinance.app/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Faro

Check before an agent pays, clicks, or trusts.

Faro is a trust layer for AI agents and apps. You send a URL, payee, message, or agent-payment payload — Faro returns one clear answer: green, yellow, or red, a one-line reason, and what to do next (allow / warn / block / review).

This repo is the open interface (Apache-2.0): the verdict contract, client SDKs, and auditable payment-protocol adapters. Scoring and the reputation graph stay on Faro’s hosted API, so you can audit what leaves your process without forking a black-box engine.

Get an API key → farofinance.app


What can you do with this package?

You want to…Use
Verify a link before an agent opens or shares itPython/TS SDK verify_url, REST, or MCP verify_url
Check a UPI / payee / account before sending moneyverify_payee
Screen an inbound SMS, email, or chat for scam tacticsverify_message
Gate an AP2 / x402 / ACP payment before settleOpen adapters in adapters/faro_agentpay/ → then verify each artifact
Let Claude / Cursor / any MCP client call FaroHosted MCP at https://mcp.farofinance.app/mcp
Branch in code on a stable contractcontracts/verdict.schema.json + typed SDKs

Typical users: agent builders, wallet/checkout integrators, MCP app authors, and security teams who need a single red/yellow/green decision at the moment of action — not a dashboard full of raw threat intel.


Quick start

bash
pip install faro-client
python
import asyncio, osfrom faro_client import FaroClient
async def main() -> None:    async with FaroClient(os.environ["FARO_API_KEY"]) as client:        result = await client.verify_url("https://example.com")        print(result.verdict, result.reason, result.recommended_action)        # Branch: allow | warn | block | review        if result.recommended_action == "block":            raise SystemExit("blocked by Faro")
asyncio.run(main())
bash
curl -s -X POST https://api.farofinance.app/v1/verify/url \  -H "Authorization: Bearer $FARO_API_KEY" \  -H "Content-Type: application/json" \  -d '{"value":"https://example.com"}'

TypeScript: see sdk/typescript/.
Payment parsers (no engine inside): adapters/faro_agentpay/.
Recipes: recipes/.


What’s in this repo

PiecePath
Verdict JSON Schemacontracts/verdict.schema.json
OpenAPIsdk/openapi.json
Python SDK (faro-client)sdk/python/
TypeScript SDKsdk/typescript/
AP2 / x402 / ACP adaptersadapters/faro_agentpay/
Verify-before-pay recipesrecipes/
MCP registry manifestserver.json · docs/tools.md

Why open / what’s closed

Open here: schema, SDKs, protocol adapters, recipes, MCP tool docs — so integrators and protocol ecosystems can cite and fork the interface.

Closed (hosted API): signal providers, scoring, reputation graph, prompts. Adapters stop at a documented seam: parse → artifacts → POST /v1/verify (or your own checks) → optional worst_of.


Trust, plainly

Hosted verifies can carry signed trust receipts and a transparency log (hashes and signatures — not your raw PII). Product docs: farofinance.app.


Roadmap / future scope

Shipped or in flight on the hosted product (not all of this lives in this public repo):

  • Stronger verify-before-pay coverage across AP2 / x402 / ACP as specs churn
  • Richer payee / message / URL signals and reputation write-back
  • Watches & webhooks when a previously clean entity flips
  • Trust receipts and day-rooted transparency log verification tooling
  • More SDK languages and framework examples (LangGraph, Crew, etc.)
  • Optional public examples (e.g. agent defense patterns) without opening the engine

Community PRs welcome for adapter/SDK/docs fixes (DCO required). Engine changes are not accepted here — see CONTRIBUTING.md.


What this is not

  • Not a self-hosted scam ML model — default is the hosted API
  • Not a generic prompt-injection detector — Faro verifies artifacts at action time

Branches: BRANCHES.md · Security: SECURITY.md

License

Apache-2.0.

来源:README.md,提交 9ba4a76

工具

0
该服务器需要 API 密钥等凭据,因此 SourceWeft 无法在没有凭据的情况下读取其工具,也未收录。

版本历史

1
  1. v1.2.0最新Sep 16, 2026

评分

已满足适用检查项的 85%

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

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

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

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