OSA Procurement Guard

io.github.omarfff由 GitHub 账号 omarfff 发布v0.2.2更新于 Oct 24, 2026

Pre-purchase trust, pricing and budget decisions for AI agents buying APIs and MCP tools.

已验证Streamable HTTP可网页运行金融商业与电商

概览

AI 生成的概览

一个远程 MCP 服务器,让助手在购买 API 或 MCP 工具前,依据预算策略与信任证据获得 ALLOW、HOLD 或 DENY 的采购决策。

可以做什么
在购买 API 或 MCP 工具前请求采购决策,依据预算策略、端点范围的信任证据、价格历史以及可选的更便宜替代品,返回 ALLOW、HOLD 或 DENY。
适用场景
当助手即将购买 API 或 MCP 工具、或要把支出导向某个服务,并希望在花钱前做一次基于策略的放行或拦截检查时使用。
运行要求
通过 streamable HTTP 访问的远程端点。需要在 X-API-Key 请求头中提供必需的 OSA API 密钥;提供方称可从其网站获得 20 次免费决策调用。
安装前请注意
API 密钥是机密,通过 X-API-Key 请求头发送。该决策仅供参考,依赖提供方自身的信任与价格数据,ALLOW 应视为建议而非保证。README 还描述了付费产品和机器支付路径,但唯一暴露的工具只返回决策。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "osa-procurement-guard": {
      "type": "http",
      "url": "https://pkctqxeydfuiupadaoov.supabase.co/functions/v1/procurement-mcp",
      "headers": {
        "X-API-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

README

OSA

OSA is a machine-commerce trust and procurement system for evaluating agent/API endpoints before purchase or routing spend.

Core product

OSA combines live endpoint verification with historical evidence and produces a TrustScore plus confidence and reason codes.

  • GET /best — rank matching endpoints by trust, intent and optional max price.
  • GET /score — live-verify a registered endpoint.
  • GET /history — return historical snapshots.
  • POST /ingest — authenticated registry ingestion.
  • POST /sources/mcp and POST /sources/bazaar — ingest MCP/Bazaar-shaped records.
  • /.well-known/osa.json — machine-readable product metadata.

TrustScore currently considers uptime, latency, price stability, schema stability, payment stability and transaction evidence. Confidence is reported separately.

Architecture

OSA uses a split-plane design:

  • Product/Data/Commercial plane — procurement/MCP distribution, pricing and benchmark history, endpoint observations, product usage, leads/deals and payment reconciliation.
  • Control/Execution/Security plane — VPS agents, approvals, task policy, audit/control alerts, SSH bridge and certificate-only RAW SSH execution.
  • GitHub — canonical source, CI/security scanning and controlled deployment workflows.

The split keeps product data workloads separate from privileged infrastructure execution.

Security

  • Endpoint verification is read-only (GET/HEAD).
  • SSRF defenses reject local/private/link-local/documentation targets and unsafe URL schemes.
  • DNS results and redirect targets are revalidated.
  • Response size, redirect count, timeouts and concurrency are bounded.
  • Ingestion is authenticated in production.
  • Privileged VPS execution uses short-lived SSH certificates and host-key verification.
  • Secrets and private keys are not committed to this repository.

Commercial acquisition tool

npm run lead:audit -- https://example.com

The Lead-Leakage Audit performs a public-page, read-only conversion-path audit. It does not submit forms, authenticate, bypass controls or access private systems. It can be used as an evidence-first acquisition wedge for OSA services without becoming a separate product strategy.

Quick start

bash
npm installnpm testnpm start

Payments

The public checkout exposes one human product: the $79 OSA 30-Day MCP Reliability Pilot. A buyer can request a private invoice/bank-transfer route or pay immediately with USDC on a verifier-backed network. Card and mobile-wallet buttons stay hidden until a live merchant rail is independently verified. Tap is owner-disabled. Optional x402 v2 middleware remains the machine-payment path for /best and /score when OSA_PAY_TO is configured. Requests, test events, page views, and wallet connections are never counted as revenue.

Operating rule

OSA is one product. Agent Trust Oracle, Procurement Guard, pricing/benchmark intelligence, MCP reliability and payment-rail checks are modules of the same pre-transaction decision system.

Progress means verified external usage, verified payment and repeat usage — not internal test rows, crawler probes, generated dashboards or speculative revenue.

Revenue-first gate

Before first verified external payment, OSA keeps one primary revenue path plus one backup and freezes generalized product/infrastructure/payment/browser/autonomy expansion unless it is the minimum fix for a named external blocker or a real safety incident.

Every non-trivial change should carry the decision record defined in knowledge/05-revenue-gate.md. Pull requests are checked by the Revenue Gate workflow. The governing distinction is strict: BUILT != VERIFIED != SELLING != PAID.

Ecosystem

[Powered by RustChain]

来源:README.md,提交 609dbc7

工具

1

procurement_decision

Use OSA before buying an API or MCP tool. Returns ALLOW, HOLD or DENY using budget policy, endpoint-scoped trust evidence, price history and optional cheaper equivalents. Get an OSA API key at https://pkctqxeydfuiupadaoov.supabase.co/functions/v1/procurement-site.

输入参数nameassetnetworkendpointmin_trustcapabilitymax_price_usdoffered_price_usd

版本历史

1
  1. v0.2.2最新Sep 16, 2026

评分

已满足适用检查项的 90%

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

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

    请在仓库或注册中心条目中声明许可证。