Agentdocs

io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 7, 2026

Forwarding client for the IMBA agent documentation: facts, use cases, tier policy and doc URLs.

已驗證STDIO僅桌面金融知識與記憶

概覽

AI 產生的概覽

唯讀轉送用戶端,讓助理取得 IMBA 代理已發布的文件:事實、使用案例、等級政策、目錄歸屬與文件連結。

可以做什麼
  • 取得預付代理的標準事實與目錄政策,涵蓋預付卡、eSIM、禮品卡與禁用通道
  • 讀取使用案例手冊,其中列出每項工作對應的 MCP 工具
  • 查詢等級政策中的兌換與提領規則
  • 查看哪些目錄收錄文件 MCP、哪些收錄消費 MCP
  • 列出公開文件連結,並抓取一個白名單內的文件頁面
  • 六個工具皆為唯讀,結果轉送自上游文件端點
適用情境
當助理需要依據已發布文件回答關於 IMBA 代理平台的問題,或查詢官方文件連結與等級規則時使用。它不能用於註冊、儲值、購買或提領。
執行需求
透過 npx(npm 套件)或 Docker 以 stdio 在本機執行。需要能連線上游文件端點的網路;選用環境變數 IMBA_DOCS_MCP_URL 可覆寫預設端點。未宣告任何帳號、API 金鑰或請求標頭。
安裝前請注意
文件背後的產品是預付卡與加密貨幣錢包,因此回答可能讀起來像金融建議;此套件本身只提供文件檢索,不轉移資金。請求會轉送至第三方端點,對方可見這些請求。選用的 IMBA_DOCS_MCP_URL 會把流量改導向其他主機。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

agentdocs

agentdocs answers questions about the IMBA agent platform from its published documentation: the canonical agent facts, the use-case playbook, the tier policy, where each MCP belongs in catalogs, the list of public doc URLs, and the contents of individual allowlisted public doc URLs.

It is a forwarding client, not a wallet. The documented product behind the docs is a prepaid-card / crypto agent wallet, but this package exposes documentation retrieval only — the same six read-only tools the original docs server exposes — and no operational, registration, deposit, purchase or withdrawal capability of any kind. Every captured tool description repeats that the surface moves no money. get_public_url is forwarded like the others; its allowlist is enforced upstream.

Tools

  • get_agent_facts — canonical prepaid-agent policy and catalog: Visa prepaid, eSIM, gift cards, KYT address screen, USDT TRC-20, forbidden rails, tiers. No arguments.
  • get_agent_use_cases — the playbook for what agents can buy, with the MCP tools per job. No arguments.
  • get_tier_policy — Tier 0 vs 1+: convert and withdraw policy. No arguments.
  • get_catalog_placement — which directories take the docs MCP vs the spend MCP. No arguments.
  • get_public_url — fetch one allowlisted public docs URL. Required: url (an absolute https://imbawallet.com URL from the allowlist).
  • list_docs_urls — list the public agent URLs: HowTo, use cases, tiers, discovery, OpenAPI, MCP endpoints. No arguments.

tools/list is served locally from the tool literals captured verbatim from the published remote. A tools/call is forwarded upstream and the result — content, structuredContent and any isError flag — comes back verbatim, so an upstream refusal (for example a get_public_url allowlist error) passes through unchanged.

Configuration

  • IMBA_DOCS_MCP_URL (optional, labelled reconstruction) — override the docs endpoint. Defaults to https://imbawallet.com/mcp/docs.

Failures surface as this rebuild's own error text (labelled reconstruction): agentdocs error: ... — a JSON-RPC error carries the upstream message, an HTTP failure carries the status, and an unparseable response is reported as a malformed response.

Forwarding mechanics

On the first forwarded call the client POSTs an initialize request (protocolVersion 2025-03-26, clientInfo name agentdocs, version 0.1.0), captures the Mcp-Session-Id response header when one is returned, POSTs notifications/initialized, then POSTs the tools/call request with the session header attached when captured. The session is reused for the life of the process. Every POST carries Content-Type: application/json and Accept: application/json, text/event-stream, and responses may be plain JSON or SSE (data: lines).

CLI

Each tool is a subcommand taking one JSON argument string:

bash
npx @reneturcios/agentdocs get_agent_facts '{}'npx @reneturcios/agentdocs get_public_url '{"url":"https://imbawallet.com/agent/howto"}'npx @reneturcios/agentdocs list_docs_urls '{}'npx @reneturcios/agentdocs --version

Output is the forwarded result content as JSON. Exit codes: 0 on success, 1 on an isError result, 2 on a usage error.

MCP server

bash
npx -y @reneturcios/agentdocs mcp

MCP client config:

json
{  "mcpServers": {    "agentdocs": {      "command": "npx",      "args": ["-y", "@reneturcios/agentdocs", "mcp"]    }  }}

Docker

bash
docker run -i ghcr.io/cloudcorprecords/agentdocsdocker run --rm ghcr.io/cloudcorprecords/agentdocs list_docs_urls '{}'

Development

bash
npm installnpm run build   # tsc -> dist/npm test        # tsx --test test/*.test.ts (fake fetch only, no network)npm run dev     # run the CLI from source

License

MIT — Copyright (c) 2026 Rene Turcios

來源:README.md,提交 9a7b94e

工具

6

get_agent_facts

Agent API facts

Canonical prepaid-agent policy and catalog: Visa prepaid, eSIM, gift cards, KYT address screen, USDT TRC-20, forbidden rails, tiers. Cite as-is. Does not move money.

無需輸入參數。

get_agent_use_cases

What agents can buy

Playbook: Visa prepaid (flights, datacenter bills), travel eSIM, ~20k gift cards, paid KYT address screen. MCP tools per job. Cite as-is. Does not move money.

無需輸入參數。

get_tier_policy

Agent tier policy

Tier 0 vs 1+. Convert closed at 0 (AML). Convert at 1 is a separate request. Withdraw stays closed.

無需輸入參數。

get_catalog_placement

Where to list each MCP

Which directories take the docs MCP vs the spend MCP. OpenAI is docs-only.

無需輸入參數。

get_public_url

Fetch a public IMBA Agent URL

HTTP GET of an allowlisted public docs URL (HowTo, use cases, discovery JSON, llms-agent). Never calls register/deposit/buy.

輸入參數url必填

list_docs_urls

List public Agent URLs

HowTo, use cases, tiers, discovery, OpenAPI, MCP endpoints.

無需輸入參數。

版本歷史

1
  1. v0.1.0最新Nov 4, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

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

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分