Ophir

io.github.Ophir-ai-creator由 GitHub 帳號 Ophir-ai-creator 發布v0.2.1更新於 Oct 24, 2026

Ophir protocol tools for AI agent discovery, negotiation, and settlement

概覽

AI 產生的概覽

Ophir 讓 AI 代理透過 Ophir 協定探索 AI 服務供應商、協商報價、簽署協議、監控 SLA 並提出爭議。

可以做什麼
  • 探索供應商及其服務、價格與信譽評分
  • 向符合條件的供應商送出詢價,收集並排序報價,選出最佳方案
  • 接受報價,與選定的供應商建立已簽署的協議
  • 列出有效協議,並依約定目標檢查 SLA 合規狀況
  • 提交附有加密證據的 SLA 爭議
適用情境
適合代理需要向第三方供應商採購推論等服務,並在承諾前比較價格、SLA 與信譽時使用;也適合追蹤並爭議既有的供應商協議。
執行需求
透過 npx 從 npm 套件 @ophirai/mcp-server 在本機執行,需要 Node.js 以及連線至公開 Ophir 登錄檔的網路。無需 API 金鑰。選用環境變數可設定登錄檔位址、賣方端點與本機買方代理端點。
安裝前請注意
接受報價會與供應商建立已簽署的協議,價格以 USDC 計價,可能涉及實際支出。爭議會送進協定的爭議處理流程。供應商端點與登錄檔流量會送往第三方,買方端點預設指向本機位址。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Ophir,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@ophirai/mcp-server

MCP server that gives your AI agent the ability to discover, negotiate with, and manage AI service providers through the Ophir protocol.

No API keys required — connects to the public Ophir registry.

Installation

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "ophir": {      "command": "npx",      "args": ["@ophirai/mcp-server"]    }  }}

Cursor

Add to .cursor/mcp.json in your project root:

json
{  "ophir": {    "command": "npx",    "args": ["@ophirai/mcp-server"]  }}

Windsurf

Add to your Windsurf MCP config:

json
{  "mcpServers": {    "ophir": {      "command": "npx",      "args": ["@ophirai/mcp-server"]    }  }}

Cline

Add to your Cline MCP settings:

json
{  "mcpServers": {    "ophir": {      "command": "npx",      "args": ["@ophirai/mcp-server"]    }  }}

Any MCP client (npx)

bash
npx @ophirai/mcp-server

Smithery

bash
smithery install ophir-negotiate

Configuration

Environment VariableDescriptionDefault
OPHIR_REGISTRY_URLOphir registry endpointhttps://registry.ophir.ai/v1
OPHIR_SELLERSComma-separated seller endpointsAuto-discovered
OPHIR_BUYER_ENDPOINTLocal buyer agent endpointhttp://localhost:3001

What can it do?

ophir_discover — Find providers

"Find me inference providers with a reputation score above 80."

Returns a list of providers with their services, pricing, and reputation scores:

json
{  "providers": [    {      "agent_id": "provider-abc",      "endpoint": "https://provider-abc.ophir.ai",      "services": [{ "category": "inference", "base_price": "0.002", "currency": "USDC", "unit": "request" }],      "reputation": { "score": 92, "total_agreements": 1847 }    }  ],  "total": 3}

ophir_negotiate — Full negotiation flow

"Negotiate inference service with a max budget of 0.005 USDC per request."

Sends an RFQ to all matching providers, collects quotes, ranks them, and returns the best option:

json
{  "best_quote": {    "seller": "provider-abc",    "price": "0.0018",    "currency": "USDC",    "unit": "request",    "sla": [      { "metric": "latency_p99", "target": "500ms" },      { "metric": "uptime", "target": "99.9%" }    ]  },  "total_quotes": 5,  "rfq_id": "rfq_01HXYZ..."}

ophir_accept_quote — Accept a quote

"Accept quote qt_abc123 from RFQ rfq_01HXYZ."

Creates a signed agreement with the selected provider, locking in the negotiated terms.

ophir_check_agreement — Monitor SLA compliance

"Check if agreement agr_xyz is meeting its SLA targets."

Returns current SLA metric observations and compliance status:

json
{  "agreement_id": "agr_xyz",  "sla_metrics": [    { "name": "latency_p99", "target": "500ms", "comparison": "lte" },    { "name": "uptime", "target": "99.9%", "comparison": "gte" }  ],  "compliance_status": "monitoring_available"}

ophir_list_agreements — View active agreements

"Show me all my active provider agreements."

Lists all agreements with their pricing, status, and SLA terms.

ophir_dispute — File an SLA dispute

"File a dispute against agreement agr_xyz for latency violations."

Submits a dispute with cryptographic evidence of SLA violations, triggering the protocol's dispute resolution process.

License

MIT

來源:packages/mcp-server/README.md,提交 17b0e61

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分