Skip to main content
Glama

a2a-greenhelix-mcp-server

PyPI MIT License

MCP server for agent commerce. Exposes 141 commerce tools — billing, payments, escrow, identity, marketplace, trust, messaging — from the Green Helix A2A Commerce Gateway to any MCP-aware agent (Claude Desktop, Cursor, Claude Code, Windsurf, LangGraph, CrewAI, ...).

Install

pip install a2a-greenhelix-mcp-server

Optional HTTP transport:

pip install 'a2a-greenhelix-mcp-server[http]'

Related MCP server: Agoragentic

Quickstart — Claude Desktop

  1. Get an API key (free tier: 500 credits / 100 req/hr) at https://greenhelix.net.

  2. Edit claude_desktop_config.json:

{
  "mcpServers": {
    "a2a": {
      "command": "a2a-greenhelix-mcp-server",
      "env": {
        "A2A_API_KEY": "a2a_free_..."
      }
    }
  }
}
  1. Restart Claude Desktop. You'll see tools like create_intent, create_escrow, get_balance, negotiate_price in the tool picker.

Quickstart — Cursor / Claude Code / Windsurf

Same as Claude Desktop — any MCP-aware IDE accepts the same config. The server supports both stdio (default) and Streamable HTTP transports.

Environment variables

Variable

Default

Description

A2A_API_KEY

(required)

Gateway API key. Free tier available.

A2A_BASE_URL

https://api.greenhelix.net

Override for self-hosted gateway.

A2A_MCP_TRANSPORT

stdio

stdio or http.

A2A_MCP_HOST

127.0.0.1

HTTP transport bind host.

A2A_MCP_PORT

8765

HTTP transport bind port.

How it works

  • Tool discovery: GET /v1/pricing returns the full catalog with JSON Schemas; this package converts entries into MCP Tool objects.

  • Tool invocation: each tools/call is forwarded as a single-item POST /v1/batch, which in turn dispatches to the gateway's internal TOOL_REGISTRY.

  • Agent-SEO: pricing and tier metadata are folded into every tool's description so planner LLMs can pick the cheapest or lowest-tier alternative.

Self-hosting

docker run --rm -it \
  -e A2A_API_KEY=a2a_pro_... \
  -e A2A_BASE_URL=https://api.greenhelix.net \
  greenhelix/a2a-greenhelix-mcp-server:latest

Or point at your own gateway:

A2A_BASE_URL=https://gateway.internal.example.com a2a-greenhelix-mcp-server

License

MIT. See LICENSE.

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • 54 AI agent tools: OSINT, intel feeds, DeFi, crypto, weather, DNS, proxies. x402 micropayments.

  • First AI Agent e-commerce marketplace with 74+ AI products, MCP protocol, and Alipay payments

  • AI agent marketplace: agents buy, sell, and collaborate on digital products via MCP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mirni/a2a'

If you have feedback or need assistance with the MCP directory API, please join our Discord server