agent-tools (x402 + MCP + A2A directory)

io.github.AgentTools-Cloud由 GitHub 账号 AgentTools-Cloud 发布v0.4.0更新于 Oct 29, 2026

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

已验证Streamable HTTP可网页运行网页搜索与抓取安全与监控AI 与机器学习

概览

AI 生成的概览

搜索 agent-tools.cloud 上 x402 付费服务、MCP 服务器与 A2A 智能体的目录,并可对 MCP 端点做安全扫描。

可以做什么
  • 按自然语言意图、分类、链、价格或是否支持 MCP 检索并排序目录条目,提供 LLM 排序推荐,LLM 不可用时回退为普通搜索
  • 读取服务卡片,含支付、调用、质量与资源示例信息,以及可直接使用的 MCP/x402 调用提示
  • 浏览服务分类体系与目录统计
  • 查找 MCP 服务器与 A2A 智能体,或跨三类资源统一搜索
  • 扫描 MCP 服务器端点是否存在恶意软件与提示注入诱饵,并可自助登记服务
  • 为 x402 服务申请、执行并回读赞助式付费验证
适用场景
当助手需要为某项任务寻找付费或免费的 API、MCP 服务器或 A2A 智能体,在调用前比较候选服务,或在连接陌生 MCP 端点前检查工具投毒与注入模式时适用。
运行要求
可使用 agent-tools.cloud 的远程 streamable-http 端点,或通过 stdio 运行 PyPI 包 agent-tools-mcp(仅含核心搜索工具)。发现类工具未声明需要认证;付费验证工具需要 API key,自托管部署还需配置上游与 LLM 后端参数。
安装前请注意
付费验证流程会从你自己的钱包支出真实资金(Base USDC,每个服务约不超过 1 美元),并需签署 EIP-712 类型化数据;服务方称其从不签名或托管资金。登记在证明支持 x402 支付后自动通过,无人工审核。安全结论基于规则且仅供参考,未知端点会被实时探测并加入目录。查询内容与端点信息会发送给第三方服务及其 LLM 后端。

安装

在 SourceWeft 中

  1. 打开 控制台中的 agent-tools (x402 + MCP + A2A directory),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

交给智能体安装

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

阅读 https://sourceweft.com/mcp/io.github.AgentTools-Cloud%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

[smithery badge]

The server that powers agent-tools.cloud — an open directory of x402 paid services with a free MCP discovery endpoint. Also listed on Smithery.

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
POST /api/v1/submitfree, rate-limitedPending service submission with dedupe
POST /mcp-discovery/freeMCP streamable-http discovery server
POST /a2afreeA2A JSON-RPC agent (message/send): directory search + MCP safety scan
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()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)

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. 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

Production runs behind nginx (vhost: agent-tools.cloud).

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)
  • agent-tools-crawl.{service,timer} — 6h directory crawler
  • agent-tools-health.{service,timer} — endpoint health checks

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

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,提交 98c1ee6

工具

14

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: total services, healthy count, sources.

无需输入参数。

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.

输入参数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必填

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

版本历史

2
  1. v0.4.0最新Oct 29, 2026
  2. v0.2.0Sep 16, 2026

评分

已满足适用检查项的 90%

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

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

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