agent-tools (x402 + MCP + A2A directory)

cloud.agent-tools由 agent-tools.cloud 發布官方發布者v0.5.2更新於 Nov 14, 2026

Discover x402 services, MCP servers and A2A agents by intent — agent-tools.cloud directory.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取安全與監控AI 與機器學習

概覽

AI 產生的概覽

依意圖檢索 agent-tools.cloud 目錄中的 x402 付費 API、MCP 伺服器與 A2A 代理,提供服務卡片、統計與安全掃描。

可以做什麼
  • 依自然語言意圖、分類、鏈或價格搜尋並排序 x402 服務、MCP 伺服器與 A2A 代理,並提供 LLM 排序推薦
  • 讀取服務卡片,包含付款、呼叫、品質資訊與可直接貼上的 MCP/x402 呼叫提示
  • 瀏覽目錄分類、彙總統計、每日生態摘要與評分方法說明
  • 以中繼資料或完整 Markdown 形式閱讀已發布的部落格文章
  • 依端點網址掃描 MCP 伺服器,檢查惡意軟體與提示注入誘餌
  • 註冊服務、認領並編輯自有條目,以及用自有錢包發起贊助付費驗證
適用情境
適合助理需要為某項任務尋找付費 API、MCP 伺服器或 A2A 代理時使用,也適合在付費或呼叫前比較候選服務,或在連線陌生 MCP 端點前檢查是否有工具投毒。
執行需求
可使用 agent-tools.cloud 的遠端 streamable-http 端點,或透過 stdio 執行 PyPI 套件 agent-tools-mcp(僅含核心搜尋工具)。搜尋與瀏覽不需憑證;付費驗證與條目認領需要帳戶 API 金鑰,透過 Authorization Bearer 標頭傳送。需要網路連線。
安裝前請注意
付費驗證會從你自己的錢包實際支出資金(Base USDC,單一服務約不超過 1 美元),並需要簽署 typed data;服務方聲明其從不簽署或持有資金。API 金鑰只顯示一次,應存入密鑰管理工具。註冊、認領與編輯工具會寫入公開目錄,提交由自動審核即時處理,沒有人工把关。安全判定以規則為基礎且僅供參考,並非保證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 agent-tools (x402 + MCP + A2A directory),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/cloud.agent-tools%2Fagent-tools-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "agent-tools-x402-a2a-directory": {
      "type": "http",
      "url": "https://agent-tools.cloud/mcp-discovery/"
    }
  }
}

README

mcpserver — agent-tools.cloud directory + MCP discovery

[Listed on mcpservers.org]

The server that powers agent-tools.cloud — an open, agent-readable directory of x402 paid APIs, MCP servers and A2A agents, probed daily, graded and safety-scanned, with a free MCP discovery endpoint and an A2A agent. Everything on the site (listings, daily statistics, scoring methodology, Blog) is available as JSON and through MCP tools.

Branches: main is an older public snapshot. The code that runs the site today, including everything described below, is on the directory-site branch.

Note (2026-05-25): the previously hosted paid Qwen3.6 relay and the paid vertical endpoints (signal / onchain / defi / portfolio) were retired after 30 days of zero external conversions. This repository now serves the directory site and the free MCP discovery server only.

What this serves today

PathAuthPurpose
GET / (host = agent-tools.cloud)freeDirectory site (search / browse)
GET /api/v1/searchfreeFaceted service search
POST /api/v1/askfree, rate-limitedLLM-ranked recommendations grounded in directory candidates
GET /api/v1/services/{slug}freeService card with payment, call and quality metadata
GET /api/v1/categories, /api/v1/statsfreeDirectory facets and aggregate stats
GET /stats, /stats.json, /stats/daily.csvfreeDaily ecosystem statistics page, full snapshot and history (CC BY 4.0)
GET /api/v1/stats/summary?view=all|mcp|x402|a2afreeCompact daily digest for agents
GET /api/v1/methodologyfreeHow quality grades, readiness scores and statistics are computed
GET /api/v1/blog, /api/v1/blog/{slug}freePublished Blog articles (list; full Markdown)
GET /llms.txtfreePlain-text guide for LLM agents
POST /api/v1/submitfree, rate-limitedPending service submission with dedupe
POST /api/v1/keysfreeMint an API key (no signup) for account-scoped actions
POST /api/v1/services/{slug}/paid-verificationsAPI keySponsored paid verification: quote, then /api/v1/paid-verifications/{id}/execute
POST /mcp-discovery/freeMCP streamable-http discovery server
POST /a2afreeA2A JSON-RPC agent (0.3 message/send and 1.0 SendMessage): directory search, MCP safety scan, daily statistics
GET /healthzfreeLiveness
GET /v1/modelsfreeUpstream model listing (read-only)
GET /.well-known/agent-tools.jsonfreeAgent discovery manifest
GET /.well-known/x402freex402 v0.4 self-description (free-only)
GET /.well-known/mcp.jsonfreeMCP self-description

The MCP discovery server is also published as a standalone PyPI package: agent-tools-mcp (repo).

MCP discovery tools

search(intent, top_k=5, category=None, max_price_usd=None, has_mcp=None)ask_services(intent, top_k=5, category=None, max_price_usd=None, use_llm=True)get(slug)list_categories()stats()directory_stats(view="all")get_methodology()list_articles(query="", tag="", page=1)get_article(slug)search_mcp_servers(intent, top_k=5, chain=None, require_healthy=False)get_mcp_server(slug)search_a2a_agents(intent, top_k=5, x402_only=False)search_resources(intent, protocol=None, top_k=10)scan_mcp_safety(endpoint_url, name="", description="", tools_text="")register(url, name=None, description=None, mcp_url=None, category=None)prepare_paid_verification(slug, payer, api_key=None)execute_paid_verification(id, signature, api_key=None)get_paid_verification(id, api_key=None)claim_service_url(url, method=None)verify_service_url(claim_id, token)get_owned_listing(kind, slug)edit_owned_listing(kind, slug, fields)

*_paid_verification (remote server only, not in the agent-tools-mcp package): pay a listed x402 service once from your own wallet and record the result. Needs an API key from POST /api/v1/keys. See /about#paid-verification.

search accepts natural-language intent and ranks by FTS5 + popularity + health. Each result carries a match_reason and a confidence score. ask_services uses the same retrieval-first / LLM-rerank flow as /api/v1/ask.

scan_mcp_safety vets an MCP server (by endpoint URL) for malware / prompt-injection lures before you connect: an already-indexed server returns our latest stored verdict, an unknown one is probed live, scanned, and added to the directory if it answered or you supplied metadata (documentation hosts such as example.com, *.test, *.invalid are scanned but never listed). The verdict comes from deterministic static rules (no code execution) over the server's advertised name + description + tool docs. Rules cover pipe-to-shell / base64-eval / PowerShell install cradles, bare-IP payload hosts, prompt-injection phrasing, and MCP tool-poisoning coercion — "always call this tool first", "before using any other tool you must…", hidden <IMPORTANT> instructions, "list all API keys / include secrets in your response", and coercion to read & forward .key/.pem/.ssh/.env files. Source-code-oriented rules (SQL/command/code injection) are intentionally not applied to natural-language descriptions to avoid false positives. Each live call also runs a frontier-LLM second opinion as an advisory dimension. It is also exposed as an A2A skill on POST /a2a. The hosted server carries the full tool set above; the stdio agent-tools-mcp PyPI package ships the core search tools only.

Deploy

Runs behind nginx as a systemd service (see deploy/).

bash
cd <install-dir>sudo git pullsudo systemctl restart mcpserver

systemd units live in deploy/:

  • mcpserver.service — the ASGI app (uvicorn, 127.0.0.1:9100)
  • mcpserver-b.service — second instance on 127.0.0.1:9101; nginx upstream agent_tools_app uses both, so deploy with agent-tools-rolling-restart instead of systemctl restart mcpserver
  • agent-tools-crawl.{service,timer} — daily directory crawler at 00:30
  • agent-tools-health.{service,timer} — daily endpoint health checks at 05:30

Config

See .env.example. Required:

  • UPSTREAM_BASE_URL / UPSTREAM_API_KEY — used by /v1/models
  • AGENT_TOOLS_ASK_BASE_URL / AGENT_TOOLS_ASK_API_KEY / AGENT_TOOLS_ASK_MODEL — LLM backend for /api/v1/ask
  • AGENT_TOOLS_SAFETY_BASE_URL / AGENT_TOOLS_SAFETY_API_KEY / AGENT_TOOLS_SAFETY_MODEL — optional override for the scan_mcp_safety advisory LLM (falls back to the AGENT_TOOLS_ASK_* backend)
  • AGENT_TOOLS_DB_PATH — SQLite path for the directory
  • AGENT_TOOLS_ASK_RATE_LIMIT_PER_MINUTE / AGENT_TOOLS_ASK_RATE_LIMIT_PER_DAY — public ask abuse limits
  • METRICS_BEARER_TOKEN — optional remote access token for /metrics; without it metrics are local-only

Articles (optional)

Disabled by default. ARTICLES_ENABLED=1 enables /articles (list, detail, RSS, Markdown mirror), the author workspace /account/articles and editor review /admin/articles. Articles live in a separate SQLite file (ARTICLE_DB_PATH, default articles.db next to the main database); back it up with the SQLite backup API so the WAL is not lost.

  • Authors must hold at least one verified listing claim. The REST API (/api/v1/articles, /save, /submit, /cancel-submission, /preview, /media) accepts only Authorization: Bearer <api_key>.
  • Every submission is reviewed; only accounts in ARTICLE_EDITOR_IDS can publish. Public pages read the published version only.
  • Toolbar icons come from lucide-static 1.70.0 (licence kept in directory/article_assets/LICENSE).

Sponsored publication (optional)

Paid sponsored posts use a NOWPayments hosted invoice plus a signed IPN (HMAC-SHA512 over the sorted JSON body). The private JSON config is read from NOWPAYMENTS_ARTICLES_CONFIG (default /etc/agent-tools/nowpayments-articles.json, keep it mode 0600). Order, pricing and IPN endpoints return 404 unless the config is complete and sponsored_articles_enabled is true. Sponsored posts carry a visible "Sponsored" disclosure and their links get rel="sponsored"; payment never changes directory ranking.

Smoke test

bash
# Livenesscurl https://agent-tools.cloud/healthz
# Directory statscurl https://agent-tools.cloud/api/v1/stats
# Intent-level service recommendationcurl -s -X POST https://agent-tools.cloud/api/v1/ask \  -H 'content-type: application/json' \  -d '{"query":"find a weather API that accepts x402","limit":2}'
# Service cardcurl https://agent-tools.cloud/api/v1/services/weather-hugen-tokyo-scan
# MCP discovery handshakecurl -s -X POST https://agent-tools.cloud/mcp-discovery/ \  -H 'content-type: application/json' \  -H 'accept: application/json, text/event-stream' \  -d '{"jsonrpc":"2.0","id":1,"method":"initialize",       "params":{"protocolVersion":"2025-06-18","capabilities":{},                 "clientInfo":{"name":"smoke","version":"1"}}}'
# Retired paid path -> 404curl -s -o /dev/null -w '%{http_code}\n' -X POST \  https://agent-tools.cloud/v1/chat/completions \  -H 'content-type: application/json' \  -d '{"model":"Qwen/Qwen3.6-35B-A3B","messages":[{"role":"user","content":"hi"}]}'# => 404

License

The agent-tools.cloud server and directory code in this repository is licensed under the PolyForm Noncommercial License 1.0.0 — you may use, modify, and share it for any noncommercial purpose; commercial use is not permitted.

The standalone MCP client package in agent-tools-mcp/ (published to PyPI as agent-tools-mcp) is licensed separately under Apache-2.0, so any agent — including commercial ones — can install and call the hosted service freely.

Using the hosted service at agent-tools.cloud is governed by its terms of service, not this code license.

來源:README.md,提交 3483813

工具

23

ask_services

Ask for the best x402/MCP services for an agent intent. This is the high-level discovery tool: it retrieves candidates from the directory, asks the configured backend LLM to rank only those candidates, and returns service cards for the selected recommendations. If the LLM is unavailable, it falls back to the directory ranker. Args: intent: Natural-language job the agent wants to accomplish. top_k: Max recommendations to return (1-10). max_price_usd: Optional per-call budget cap. category: Optional directory category filter. chain: Optional payment network filter, e.g. "base" or "solana". require_healthy: When true, only consider services marked health=ok. min_confidence: Optional x402scan quality floor (0.0-1.0). has_mcp: When true, only consider services with MCP endpoints. use_llm: Set false for deterministic retrieval-only fallback.

輸入參數chaintop_kintent必填has_mcpuse_llmcategorymax_price_usdmin_confidencerequire_healthy

get

Get full details + ready-to-paste call template for a service. Returns the service card with payment, call, quality, resource samples, and ready-to-use MCP/x402 call hints. Use this after `search` or `ask_services` before paying/calling an external service. Args: slug: Service slug as returned by `search` items.

輸入參數slug必填

list_categories

List all available service categories in the directory.

無需輸入參數。

stats

High-level stats about the directory: x402 total, healthy count and chains, plus `snapshot`, the daily digest across x402, MCP and A2A (see directory_stats).

無需輸入參數。

get_methodology

How every score and statistic on agent-tools.cloud is computed. Returns the quality-score components and grade bands per protocol, the nine readiness criteria with weights, payment-evidence grades, the probing schedule and the definitions behind the daily statistics.

無需輸入參數。

list_articles

List published Blog articles, newest first (metadata only). Args: query: Optional words to match in title, summary or body. tag: Optional tag to filter by. page: Page number, 20 articles per page. Use get_article(slug) for the full Markdown body.

輸入參數tagpagequery

get_article

Read one published Blog article: metadata plus the full Markdown body. Args: slug: The article slug, as returned by list_articles.

輸入參數slug必填

directory_stats

Daily statistics on the agent-tool ecosystem as seen by our probes. Args: view: "all", "mcp", "x402" or "a2a" to scope the figures to one protocol. topic: Optional topic word (e.g. "payment", "weather") to get that topic instead: supply per protocol, readiness, best listings, searches. month: Optional "YYYY-MM" to get that monthly report instead. api_key: Optional account key (free from create_api_key) for complete lists when you cannot send the Authorization header. Returns counts (indexed, reachable, protocol-verified, readiness A/B), one finding sentence per topic, key facts (x402 prices and networks, MCP and A2A protocol versions, MCP auth, A2A card signatures, how every listing's latest probe ended), the most searched terms (view "all"), the snapshot time, and links to the full JSON snapshot, the daily CSV, the methodology, the "how many work" page, per-protocol and per-topic pages and the monthly reports. With an account API key (Authorization: Bearer header or `api_key`; free from `create_api_key`) the topic and search lists are complete (10 listings per protocol, up to 100 terms); without one they are shortened.

輸入參數viewmonthtopicapi_key

search_mcp_servers

Find MCP servers in the directory. Searches the standalone MCP directory (PulseMCP / official MCP registry import) unioned with x402 services that also expose an MCP endpoint. Returns normalised entries with a ready-to-use streamable-http `call_hint.mcp.url`. Args: intent: Natural-language description of the tool/capability needed. top_k: Max servers to return (1-20). chain: Optional payment-network filter for paid MCP servers. require_healthy: When true, only return servers marked health=ok.

輸入參數chaintop_kintentrequire_healthy

get_mcp_server

Get the full card for one MCP server by slug. Args: slug: MCP server slug as returned by `search_mcp_servers` items.

輸入參數slug必填

search_a2a_agents

Find A2A agents you can delegate a task to. Args: intent: Natural-language description of the task to delegate. top_k: Max agents to return (1-20). x402_only: When true, only return agents that advertise x402 payment.

輸入參數top_kintentx402_only

search_resources

Unified search across x402 services, MCP servers and A2A agents. Args: intent: Natural-language query. protocol: Optional filter: "x402", "mcp" or "a2a". top_k: Max resources to return (1-50).

輸入參數top_kintentprotocol

register

Self-register an x402 / MCP service in the agent-tools directory. Service owners and agents may submit new services here. Submissions are auto-reviewed instantly by x402 verification (no human gate): if the URL proves x402 payment support it is listed immediately and shows up in `search`; otherwise it is rejected or retried automatically. Listing is FREE. Dedup: if a service with the same canonical origin (scheme://host) already exists in the directory we return its slug instead of creating a duplicate submission. Same goes for a still-pending submission with the same origin. Rate limit: at most 5 pending submissions per client IP per 24h. Hits beyond that get `{error: rate_limited}` — try again later or email [email protected] for bulk imports. Args: url: Public HTTPS URL of the service (the x402-payable endpoint or its homepage). Required. name: Human-friendly name. Defaults to the URL hostname. description: One-paragraph description (max ~2000 chars). mcp_url: If the service speaks MCP, its streamable-http endpoint. category: Free-form (e.g. "defi", "search", "social"). Use `list_categories` to align with existing taxonomy. chains: Networks the service accepts payment on (e.g. ["base", "solana"]). price_min_usdc: Lower bound of per-call price in USDC. price_max_usdc: Upper bound of per-call price in USDC. contact: Optional email / handle the directory team can reach you on for clarifications.

輸入參數url必填namechainscontactmcp_urlcategorydescriptionprice_max_usdcprice_min_usdc

scan_mcp_safety

Check an MCP server for malware / prompt-injection lures by its endpoint URL. Give the server's streamable-http endpoint URL. Two paths: * **Already in the agent-tools directory** → returns our LATEST stored rule verdict. Every indexed server is re-scanned hourly, so you get a consistent, continuously-refreshed answer without re-probing. * **Not yet indexed** → we probe the endpoint live, statically scan its advertised tools + metadata, and return the fresh verdict. It is ADDED to the directory (so the next caller gets the stored verdict instantly) only if it answered or you supplied metadata; documentation hosts such as example.com / *.test / *.invalid are scanned but never listed. Two dimensions are reported. `verdict` is authoritative and comes from deterministic static rules — pure pattern-matching over the *advertised* text only, NO code execution. It flags the social-engineering / RCE tricks listing-spam servers use: * `curl … | bash` and `base64 -d | sh` install lures * `eval "$(curl …)"` / PowerShell `IEX(...DownloadString)` cradles * base64 blobs that decode to a shell command * bare-IP payload hosts and cheap throwaway TLDs * prompt-injection / credential-exfiltration phrasing ("ignore previous instructions", "send your .env / api key") * MCP tool-poisoning coercion — descriptions that hijack an agent's tool-calling ("always call this tool first", "before using any other tool you must…"), hidden `<IMPORTANT>` instructions, "list all API keys / include secrets in your response", and coercion to read & forward `.key`/`.pem`/`.ssh`/`.env` files Source-code-oriented rules (SQL / command / code injection) are deliberately not applied to natural-language descriptions, to avoid false positives. `llm_reference` is an advisory frontier-LLM second opinion over the same text. Because the LLM

輸入參數nametools_textdescriptionendpoint_url必填

claim_service_url

Issue a fresh ownership token for one exact public HTTPS URL. Authenticate in the MCP Authorization: Bearer header. Publishing and verifying the token is required before editing; URL input alone grants no rights. Args: url: Complete public HTTPS service URL, including its query when present. method: Optional proof method; otherwise inferred from the complete URL.

輸入參數url必填method

verify_service_url

Verify public ownership proof for your own exact service URL claim. This reads public proof only. It never calls business tools, requests private service credentials, or grants whole-platform permissions. Args: claim_id: Claim id returned by claim_service_url. token: The issued token after publishing it in the instructed location.

輸入參數token必填claim_id必填

get_owned_listing

Read editable metadata for a listing covered by your verified claim. Args: kind: Listing type: x402, mcp, or a2a. slug: Slug from the verified claim's listings or directory search.

輸入參數kind必填slug必填

edit_owned_listing

Edit only metadata covered by your verified claim, with the public audit trail. An endpoint change requires verified control of the exact destination or its whole host and clears measurements tied to the old primary endpoint. Args: kind: Listing type: x402, mcp, or a2a. slug: Slug of the listing you are authorized to edit. fields: Editable fields to change; measured fields are rejected.

輸入參數kind必填slug必填fields必填

create_api_key

Create a free account API key. No sign-up, email or existing key needed. The key is returned once and cannot be recovered. Store it in your secret store; do not print it back to the user or write it to logs. Send it as `Authorization: Bearer <key>` (or the `api_key` argument where offered) to get complete `directory_stats` lists, run paid verifications and claim your own listings. The claim and listing tools read the key only from the Authorization header; without header support use the REST claim API. Shares the HTTP limit of POST /api/v1/keys (a few keys per IP per day). Args: name: Optional label to recognise the key later, e.g. your agent name.

輸入參數name

prepare_paid_verification

Quote a sponsored paid verification of an x402 service. You pay the service once from your own wallet (Base USDC, <= $1; funds go to its payTo). Sign the returned `typed_data` (EIP-712), then call `execute_paid_verification` before `valid_before`. We never sign or hold funds. Auth: API key from POST https://agent-tools.cloud/api/v1/keys, as the `Authorization: Bearer` header or `api_key`. Args: slug: Service slug from `search` / `get`. payer: 0x address of the wallet that will sign and pay. api_key: Optional if the Authorization header is sent. Returns: { id, amount_usd, pay_to, valid_before, typed_data, ... } or { error, message }.

輸入參數slug必填payer必填api_key

execute_paid_verification

Send the signed payment to the service once and score the result. Aborts without paying if price or recipient changed. Never retried; a timeout returns `indeterminate`. status: succeeded | delivery_failed | payment_rejected | indeterminate. Args: id: `id` returned by `prepare_paid_verification`. signature: 0x EIP-712 signature of its `typed_data` by the payer. api_key: Optional if the Authorization header is sent.

輸入參數id必填api_keysignature必填

get_paid_verification

Read one of your own paid verifications. Args: id: Verification id. api_key: Optional if the Authorization header is sent.

輸入參數id必填api_key

版本歷史

1
  1. v0.5.2最新Nov 14, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

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

其他 Agent-Tools 整合