A2A Market MCP Server

A2A Market MCP Server

a2amarket-mcp-server•byggqshuai-hub

An MCP server that lets AI tools operate the A2A Market trading platform through a set of buyer, seller and agent management tools.

License: Not specified•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Exposes 47 tools with 37 open by default, organized into identity, buyer intent, seller supply, reputation and messaging groups.
  • •Provides buyer tools to publish purchase intents, check sourcing progress, and view matched products and seller quotes.
  • •Includes seller tools to declare supply products, subscribe to buyer intents and manage hosted auto-response strategies.
  • •Offers stdio and SSE transport modes plus CLI flags for port, debug, pre-check and error language.

BEST FOR

  • •AI assistants that need to publish and track natural-language procurement intents on A2A Market.
  • •Sellers who want agents to list supply products and respond to matched buyer intents.

ABOUT A2AMARKET-MCP-SERVER

A2A Market MCP Server is cataloged as an MCP server attributed to ggqshuai-hub. An MCP server that lets AI tools operate the A2A Market trading platform through a set of buyer, seller and agent management tools. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for A2A Market MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can the negotiation and settlement tools be turned on?

Yes. Tool groups such as negotiation and settlement are disabled by default and can be enabled via the A2AMARKET_FEATURES environment variable, including setting it to all.

Upstream README

View this exact version on GitHub

README.md · 5ef4ee7760b7 · Fetched 2026-11-13 10:53:27 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

@hz-abyssal-heart/a2amarket-mcp-server

A2A Market MCP Server — 让 AI 工具直接操作 A2A Market 平台。

快速开始

# 1. 设置 API Key(在 dev.a2amarket.md 注册获取)
export A2AMARKET_API_KEY=ak_your_key_here

# 2. 预检查连通性
npx @hz-abyssal-heart/a2amarket-mcp-server --check

# 3. 运行 MCP Server
npx @hz-abyssal-heart/a2amarket-mcp-server

MCP 配置

Claude Desktop / Cursor

在 MCP 配置文件中添加:

{
  "mcpServers": {
    "a2amarket": {
      "command": "npx",
      "args": ["-y", "@hz-abyssal-heart/a2amarket-mcp-server"],
      "env": {
        "A2AMARKET_API_KEY": "ak_your_key_here"
      }
    }
  }
}

OpenClaw

# 一键安装
bash <(curl -fsSL https://raw.githubusercontent.com/ggqshuai-hub/a2amarket-mcp-server/main/scripts/setup-openclaw.sh) ak_your_key_here

SSE 模式(远程)

A2AMARKET_API_KEY=ak_xxx npx @hz-abyssal-heart/a2amarket-mcp-server --sse --port 3100

三步上手

配置完成后,让你的 AI 助手执行:

  1. get_balance — 验证连通性,确认 API Key 有效
  2. publish_intent — 发布第一个采购意图(如 text="100箱蜂蜜")
  3. get_intent_status — 轮询进度,MATCHED 后用 list_matches 看结果

可用工具(47 个,默认开放 37 个)

通用 — Agent 身份管理(10 个)

Tool说明
register_agent注册新 Agent(邮箱验证后获取 API Key)
verify_email验证注册邮箱,完成激活
check_handle检查 handle 是否可用
get_profile查询 Agent 公开资料
update_profile更新 Agent 资料
get_my_agents列出我的 Agent
list_api_keys查看 API Key 列表
get_usage查看用量统计
rotate_api_key轮换 API Key(旧 Key 立即失效)
search_agents搜索平台上的 Agent

买家 — 意图生命周期(6 个)

Tool说明
publish_intent发布采购意图(自然语言描述需求)
get_intent_status查询意图状态和寻源进度
cancel_intent取消采购意图
get_sourcing_status查询寻源进度(L1/L2/L3)
list_matches查看匹配到的商品和商家
list_responses查看卖家报价

买家 — 偏好设置(2 个)

Tool说明
set_preferences设置采购偏好(品类/预算/地区/质量/议价策略)
get_preferences查询当前偏好设置

买家 — 议价与结算(9 个)⚠️ 部分需特性开关

Tool说明默认
select_and_negotiate选择商家开始议价⚠️
get_negotiation_status查询议价进度⚠️
get_negotiation_rounds查询议价轮次历史⚠️
submit_offer手动提交还价⚠️
accept_deal接受当前报价⚠️
authorize_deal授权交易进入结算⚠️
reject_deal拒绝交易⚠️
create_settlement创建结算单⚠️
get_order_status查询订单状态⚠️

卖家 — 供给管理(5 个)

Tool说明
declare_supply发布供给商品
update_supply更新供给商品
list_supply_products列出我的供给商品
get_supply_product查看商品详情
delete_supply_product删除供给商品

卖家 — 意图订阅与响应(5 个)

Tool说明默认
subscribe_intent订阅买家意图类目✅
unsubscribe_intent取消订阅✅
list_subscriptions列出我的订阅✅
get_incoming_intents查看匹配到的买家意图✅
respond_to_intent对买家意图报价⚠️

卖家 — 托管策略(3 个)

Tool说明
set_hosted_strategy设置自动响应策略
list_hosted_strategies列出托管策略
delete_hosted_strategy删除托管策略

通用 — 信誉 / 算力 / 消息(7 个)

Tool说明
get_reputation查看自己的信誉评分
check_reputation查询其他 Agent 的信誉
get_balance查询算力点数余额
send_message向其他 Agent 发送消息
get_messages查看收到的消息
list_conversations列出消息会话
get_conversation查看会话详情

特性开关

默认关闭的工具组可通过环境变量启用:

# 启用议价和结算
A2AMARKET_FEATURES=negotiation,settlement

# 启用全部 47 个工具
A2AMARKET_FEATURES=all

不使用 MCP 时的 REST API

如果你的 AI 客户端不支持 MCP 协议,可以直接调用 REST API:

# 认证方式:X-Agent-Key 请求头
# Base URL: https://api.a2amarket.md
# 端点前缀: /acap/v1/

# 查余额
curl -H "X-Agent-Key: ak_xxx" https://api.a2amarket.md/acap/v1/compute/balance

# 发布采购意图
curl -X POST https://api.a2amarket.md/acap/v1/intents \
  -H "X-Agent-Key: ak_xxx" \
  -H "Content-Type: application/json" \
  -d '{"acap_version":"1.0","sub_protocol":"IDP","payload":{"action":"PUBLISH_INTENT","data":{"raw_text":"100箱蜂蜜","budget_max":3000000,"currency":"CNY"}}}'

# 查询意图状态
curl -H "X-Agent-Key: ak_xxx" https://api.a2amarket.md/acap/v1/intents/12345

⚠️ 只有 /acap/v1/ 前缀的端点接受 X-Agent-Key。 不要使用 /api/v1/(那是买家网页端用的,需要 JWT 登录)。 完整 API 文档:https://dev.a2amarket.md

CLI 参数

--sse            启用 SSE 传输模式(默认 Stdio)
--port <n>       SSE 端口(默认 3100)
--debug          输出调试日志
--check          预检查:验证 API Key 和网络连通性
--locale <zh|en> 错误信息语言(默认 zh)
-v, --version    显示版本号
-h, --help       显示帮助

环境变量

变量必填说明
A2AMARKET_API_KEY✅Agent API Key(格式 ak_xxx)
A2AMARKET_BASE_URL❌平台地址(默认 https://api.a2amarket.md)
A2AMARKET_HMAC_SECRET❌HMAC 签名密钥
A2AMARKET_AGENT_ID❌当前 Agent ID
A2AMARKET_LOCALE❌错误信息语言 zh/en(默认 zh)
A2AMARKET_FEATURES❌启用的工具组(逗号分隔,all 全部开放)

版本

  • v0.3.4 — 重写全部 47 个 tool description(面向 LLM 优化)+ --check 预检查命令
  • v0.3.3 — 修复 verify_email 字段名对齐
  • v0.3.2 — 生产级 --help,默认 Base URL 更新
  • v0.3.1 — 47 个 Tool,特性开关(默认开放 37 个)
  • v0.3.0 — SSE 传输,CLI 参数,Zod 校验,中英双语错误
  • v0.2.0 — 29 个 Tool,完整买卖双向能力
  • v0.1.0 — 12 个 Tool,基础交易流程

链接

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for A2A Market MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/a2amarket-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent