Agent Commerce Suite

Agent Commerce Suite

Production-grade suite of monetized tools for autonomous AI agent-to-agent commerce, enabling payments and task execution via x402 protocol and MCP.

Category
Visit Server

README

Agent Commerce Suite (agent-commerce-suite)

Production-grade suite of monetized tools for autonomous AI agent-to-agent commerce built with:

  • x402 Protocol: Standard HTTP 402 Payment Required negotiation & cryptographic proof settlement.
  • Bazaar Extension: Machine-readable capabilities discovery & catalog protocol (/.well-known/bazaar.json).
  • Model Context Protocol (MCP): Exposes monetized tools directly to Grok, Claude, and LLM agent frameworks.
  • xAI Plugin Marketplace Registration: Native xai-org/plugin-marketplace integration manifest.

šŸ“ Repository Structure

agent-commerce-suite/
ā”œā”€ā”€ services/                     # Core Monetized Production Tools
│   ā”œā”€ā”€ data-insights.service.ts  # Quantitative Market Intelligence API ($0.50 USD)
│   ā”œā”€ā”€ agent-executor.service.ts # Isolated Remote Task Sandbox ($1.00 USD)
│   └── escrow.service.ts         # Multi-sig Conditional Escrow Contract ($0.25 USD)
ā”œā”€ā”€ x402/                         # Payment Middleware & Protocol Layer
│   ā”œā”€ā”€ types.ts                  # Protocol interfaces (Challenges, Proofs, Receipts)
│   ā”œā”€ā”€ verifier.ts               # Cryptographic HMAC/Secp256k1 proof settlement
│   ā”œā”€ā”€ middleware.ts             # Express & RPC HTTP 402 payment gate
│   └── client.ts                 # Autonomous Buyer Agent auto-payment client SDK
ā”œā”€ā”€ bazaar/                       # Resource Discovery & Capability Catalog
│   ā”œā”€ā”€ manifest.json             # Bazaar standard metadata spec
│   ā”œā”€ā”€ catalog.ts                # Capability search & price filter engine
│   └── discovery.ts              # HTTP endpoints for /.well-known/bazaar.json
ā”œā”€ā”€ mcp/                          # Model Context Protocol Layer
│   ā”œā”€ā”€ tools.ts                  # MCP Tool definitions wrapped with x402 payment gates
│   └── server.ts                 # Dual Stdio & Express HTTP MCP Server for Grok
ā”œā”€ā”€ plugin/                       # Marketplace Integration Entry
│   ā”œā”€ā”€ plugin.json               # Manifest compatible with xai-org/plugin-marketplace
│   └── manifest.ts               # Programmatic installer & exporter
ā”œā”€ā”€ examples/                     # Runnable E2E Verification
│   └── buyer-agent-simulation.ts # Complete autonomous agent buyer simulation
ā”œā”€ā”€ .env.example                  # Environment configuration
ā”œā”€ā”€ tsconfig.json                 # TypeScript compiler configuration
└── package.json                  # Dependencies & scripts

⚔ Quick Start & Run

1. Install Dependencies & Build

npm install
npm run build

2. Run End-to-End Autonomous Agent Simulation

npm run simulate

3. Start Production MCP & Bazaar Server

# HTTP Server (default port 4020)
npm start

# Or Stdio mode for local MCP host IDEs
npx ts-node mcp/server.ts --stdio

šŸ› ļø Monetized Tools Summary

Tool Name Description Price Endpoint
market_data_insights Real-time quantitative market metrics, volatility, & whale flow data $0.50 USD /mcp/v1/call
agent_task_executor Remote task payload execution in isolated compute sandbox $1.00 USD /mcp/v1/call
agent_escrow_service Multi-sig escrow creation & conditional fund locking $0.25 USD /mcp/v1/call

šŸ”Œ xAI Plugin Marketplace Integration

This suite contains a ready-to-deploy plugin manifest compatible with xai-org/plugin-marketplace:

  • Location: plugin/plugin.json
  • Exporter script: npm run plugin-export or npx ts-node plugin/manifest.ts

šŸ“„ License

MIT License. Built for autonomous agent commerce.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured