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 分

    請在儲存庫或註冊中心條目中宣告授權條款。