Agent Vending Factory

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

Pay-per-call MCP tools via x402 USDC: ZAR prices, data extraction, Python sandbox, SA flights.

已验证Streamable HTTP可网页运行位置与生活金融数据与分析

概览

AI 生成的概览

远程按次付费的 MCP 服务器,提供加密货币兑南非兰特价格、按 JSON Schema 提取数据、Python 沙箱和南非机场航班状态。

可以做什么
从 VALR 和 Luno 获取加密货币兑南非兰特交易对的实时买价、卖价和最新成交价,可查询单个交易对或全部交易对,并附各交易所结果与时间戳。按调用方提供的 JSON Schema 从原始文本中提取结构化 JSON,并返回校验是否通过。在隔离子进程中运行短小 Python 3.12 代码,硬性超时 5 秒,标准输出有上限。查询 JNB、CPT、DUR 机场航班的实时到达或出发状态、计划/预计/实际时间、登机口、行李转盘和航站楼。
适用场景
适合需要南非市场或出行数据、需要按 Schema 从非结构化文本快速提取信息,或想在不本地运行代码的情况下做小型临时 Python 计算时使用。四个工具彼此无关,只有遇到上述具体任务时才值得添加。
运行要求
远程 streamable HTTP 端点,无需本地运行时或安装包。未声明认证、环境变量或请求头。需要能访问该端点的网络;工具会调用外部来源(VALR、Luno、ACSA)获取实时数据。
安装前请注意
注册表描述称工具通过 x402 USDC 按次付费,调用可能产生费用并需要加密货币支付,使用前应确认价格与支付方式。Python 沙箱会在第三方服务器上执行调用方提供的代码,请勿传入密钥或敏感数据。用于提取的原始文本和航班查询都会发送给第三方。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "agent-vending-factory": {
      "type": "http",
      "url": "https://agent-vending-factory-3srpjtr7na-ew.a.run.app/mcp"
    }
  }
}

README

该仓库没有 README。

工具

4

tool_zar_prices

POST /tools/zar-prices/run — Returns live bid/ask/last prices for crypto/ZAR pairs. Input: {pair: 'BTC/ZAR'|'ETH/ZAR'|'SOL/ZAR'|'USDC/ZAR'|'all'}. Output: array of {exchange, pair, price, bid, ask, timestamp} objects. Sources: VALR (all 4 pairs), Luno (BTC/ZAR + ETH/ZAR only). SOL/ZAR and USDC/ZAR are VALR-only. Fetches all exchanges concurrently. Timestamps are ISO-8601 UTC. Cost: $0.0050 USDC per call.

输入参数pair

tool_data_transformer

POST /tools/tool_data_transformer/run — Extracts structured JSON from raw text using a caller-supplied JSON Schema. Input: {raw_text: string, target_json_schema: object (JSON Schema draft-07)}. Output: {success, extracted_data, extraction_method, validation_passed, error}. extraction_method is one of: 'direct_parse', 'embedded_json', 'regex_extraction'. No LLM involved — pure parsing pipeline. Type coercion applied for integer/number/boolean fields. Works best with flat schemas; deeply nested structures extract less reliably via key-value pass. Cost: $0.0500 USDC per call.

输入参数raw_text必填target_json_schema必填

tool_compute_sandbox

POST /tools/tool_compute_sandbox/run — Executes Python 3.12 code in an isolated subprocess with a 5-second hard timeout. Input: {python_code: string, input_data: any (optional, bound as variable 'input_data')}. Output: {success, result, stdout (capped 50KB), execution_time_ms, error_type}. Return value: assign to 'result' variable. Pre-loaded: math, json, re, statistics, itertools, functools, collections, decimal, datetime, random, hashlib, base64. Blocked: import, open(), eval(), exec(), os, sys, network, class definitions, dunder attributes. error_type values: syntax_error | security_error | runtime_error | timeout_error. Cost: $0.1500 USDC per call.

输入参数input_datapython_code必填

tool_sa_airport_oracle

POST /tools/sa-airport-oracle/run — Returns live flight status from ACSA (airports.co.za). Input: {airport_code: 'JNB'|'CPT'|'DUR', flight_number: string, request_type: 'arrival'|'departure'}. Output: {success, live_status, scheduled_time, estimated_time, actual_time, gate, carousel, terminal, flight_number, airport_code, request_type, error}. Coverage: JNB (O.R. Tambo), CPT (Cape Town Int'l), DUR (King Shaka). Data window: flights within 48 hours. Call GET /tools/sa-airport-oracle/health (free) first — if structure_valid=false, do not proceed. error_type values: 'stale_data' (do not retry), 'not found' (retry after 10-15 min), network error (retry once). flight_number is case-insensitive and normalised to uppercase internally. Read-only — no booking/ticketing. Cost: $0.1200 USDC per call.

输入参数airport_code必填request_type必填flight_number必填

版本历史

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

评分

已满足适用检查项的 75%

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

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

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

  • 许可证10 分

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