Openclaw Agentic Commerce Protocol
FreeNot checkedGenPark/OpenClaw skill: Implement OpenAI & Stripe's Agentic Commerce Protocol (ACP) for capability negotiation, cart management, and Stripe Payment Token paymen
About
GenPark/OpenClaw skill: Implement OpenAI & Stripe's Agentic Commerce Protocol (ACP) for capability negotiation, cart management, and Stripe Payment Token payments.
README
Agentic Commerce Protocol (ACP) Integration
Welcome to the Agentic Commerce Protocol (ACP) skill module for the GenPark/OpenClaw ecosystem! 🚀
This skill integrates the open standard co-developed by OpenAI and Stripe, enabling AI agents to autonomously handle full post-discovery transactional commerce flows. It provides capability negotiation, cart matching, Stripe Payment Token (SPT) delegation, and fulfillment/webhook tracking.
📁 Repository Structure
.
├── SKILL.md # Full agent skill specification and prompt directives
├── README.md # Documentation & quickstart guide
├── scripts/
│ ├── acp_client.js # Complete Node.js ACP client & delegation engine
│ ├── acp_mcp_tool.js # Model Context Protocol (MCP) schemas & execution wrappers
│ ├── mock_merchant_server.js # Standalone test server for local ACP API emulation
│ └── test_acp_flow.js # End-to-end integration test runner
└── references/
├── acp_spec.json # JSON Schema validation definitions
└── acp_architecture.md # In-depth security & state machine documentation
⚡ Quickstart & Testing
All scripts are written in native modern Node.js and require zero external npm dependencies.
1. Run the End-to-End Test Suite
Tests negotiation, scoped token delegation, order checkout, and idempotency protection against an active HTTP test server:
node scripts/test_acp_flow.js
2. Run the MCP Tool Dispatcher
Tests the Model Context Protocol tools exposed to LLM agents:
node scripts/acp_mcp_tool.js
3. Start the Mock Merchant Server
node scripts/mock_merchant_server.js
# Server running at http://localhost:8088
🤖 MCP (Model Context Protocol) Integration
To equip your AI agent (Anthropic Claude, OpenClaw, Antigravity, Cursor) with ACP tools, add the following to your MCP configuration:
{
"mcpServers": {
"agentic-commerce": {
"command": "node",
"args": ["path/to/scripts/acp_mcp_tool.js"],
"env": {
"ACP_MERCHANT_BASE_URL": "http://localhost:8088",
"STRIPE_MERCHANT_ID": "acct_acp_demo"
}
}
}
}
Available MCP Tools
| Tool Name | Purpose |
|---|---|
acp_negotiate_cart |
Resolves cart subtotal, shipping choices, and dynamic sales taxes with merchant |
acp_mint_payment_token |
Mints a scoped single-use Stripe Payment Token (SPT) with customer consent |
acp_create_checkout_session |
Submits payment token and locks order creation |
acp_track_order |
Queries live fulfillment, tracking numbers, and delivery status |
🛠️ Programmatic Usage
const ACPClient = require('./scripts/acp_client');
const client = new ACPClient({
baseUrl: 'https://api.merchant.com', // Omit or set useMock: true for offline mode
merchantId: 'acct_merchant_123'
});
async function buyProduct() {
// 1. Negotiate checkout session
const session = await client.negotiate({
lineItems: [{ sku: 'PRO-RUNNER-9', quantity: 1, unit_price: 120.00 }],
shippingAddress: { line1: '123 Market St', city: 'San Francisco', state: 'CA', postal_code: '94105', country: 'US' }
});
// 2. Mint single-use scoped payment token (SPT)
const token = await client.mintStripePaymentToken({
maxAmount: session.total_amount,
customerConsent: true
});
// 3. Finalize order
const order = await client.createCheckoutSession({
sessionId: session.session_id,
selectedShippingId: session.selected_shipping_id,
paymentToken: token
});
console.log(`Order placed: ${order.order_id}, Tracking: ${order.fulfillment.tracking_number}`);
}
🔑 Core Features
- Authoritative Negotiation: Coordinates dynamic taxes, shipping rates, and stock availability directly from merchant APIs.
- Stripe Payment Token (SPT) Delegation: Eliminates credential exposure by scoping charges to specific merchants, amounts, and expiration times.
- Idempotency Protection: Safe network retries using client-generated idempotency keys.
- Fulfillment Tracking: Real-time order queries and carrier tracking updates.
📜 References & Specifications
- Architecture & Security Overview
- ACP JSON Schema Specification
- Official Agentic Commerce Protocol Standard
📄 License
This repository is licensed under the MIT License.
from github.com/alphaparkinc/openclaw-agentic-commerce-protocol
Installing Openclaw Agentic Commerce Protocol
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/alphaparkinc/openclaw-agentic-commerce-protocolFAQ
Is Openclaw Agentic Commerce Protocol MCP free?
Yes, Openclaw Agentic Commerce Protocol MCP is free — one-click install via Unyly at no cost.
Does Openclaw Agentic Commerce Protocol need an API key?
No, Openclaw Agentic Commerce Protocol runs without API keys or environment variables.
Is Openclaw Agentic Commerce Protocol hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Openclaw Agentic Commerce Protocol in Claude Desktop, Claude Code or Cursor?
Open Openclaw Agentic Commerce Protocol on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Stripe
Payments, customers, subscriptions
by Stripemalamutemayhem/unclick-agent-native-endpoints
110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n
by malamutemayhemwhiteknightonhorse/APIbase
API hub covering travel (Amadeus, Sabre), Polymarket prediction markets, crypto and weather, paid per call via x402 in USDC.
by whiteknightonhorsetrackerfitness729-jpg/sitelauncher-mcp-server
Deploy live HTTPS websites on subdomains or custom .xyz domains, paid in USDC on Base, with templates for crypto tokens and AI agent profiles.
embeddedlayers/mcp-analytics
Statistical analysis, forecasting and ML on CSV files or live data from Shopify, Stripe, GA4 and more, with interactive HTML reports.
by embeddedlayerscarrierone/verilexdata-mcp
Pay-per-query x402 datasets: NPI healthcare, SEC filings, OFAC sanctions, crypto whales, Polymarket signals, patents and economic indicators.
by carrieroneparacetamol951/P-Link-MCP
HTTP 402 (Payment Required) implementation using Solana.
by paracetamol951tipdotmd/tip-md-x402-mcp-server
Cryptocurrency tipping using the x402 payment protocol and CDP Wallet.
by tipdotmdlaundromatic/shopgraph
Structured product data from the open web — Schema.org + AI extraction for e-commerce enrichment. Pay per call via Stripe. [shopgraph.dev](https://shopgraph.dev
by laundromaticmrslbt/xendit-mcp
Xendit payment gateway for Southeast Asia: invoices, disbursements, balance checks and bank transfers.
by mrslbtCompare Openclaw Agentic Commerce Protocol with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All finance MCPs
