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.
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-marketplaceintegration 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-exportornpx ts-node plugin/manifest.ts
š License
MIT License. Built for autonomous agent commerce.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.