Skip to content

chatbasket/acp-server-tester

Repository files navigation

ACP Server Tester

A Next.js application for testing servers implementing the Agentic Commerce Protocol (ACP).

Next.js React Tailwind CSS

✨ Features

  • 🔌 Test all ACP endpoints (Checkout API & Delegate Payment API)
  • ✏️ Edit request payloads with JSON validation
  • 📊 View detailed response headers and body
  • 🎨 Dark mode support
  • 📱 Responsive design
  • 🚀 Deploy to Vercel with one click

🚀 Quick Start

# Install dependencies
npm install

# Run development server
npm run dev

Open http://localhost:3000 to start testing!

See QUICKSTART.md for detailed instructions.

📖 Documentation

🎯 Supported Endpoints

Agentic Checkout API (v2025-12-11)

  • POST /checkout_sessions - Create checkout session
  • GET /checkout_sessions/{id} - Get session details
  • POST /checkout_sessions/{id} - Update session
  • POST /checkout_sessions/{id}/complete - Complete checkout
  • POST /checkout_sessions/{id}/cancel - Cancel session

Delegate Payment API (v2025-09-29)

  • POST /agentic_commerce/delegate_payment - Tokenize payment credentials

🛠️ Tech Stack

  • Framework: Next.js 15
  • UI: React 18
  • Styling: Tailwind CSS
  • Deployment: Vercel

📦 Project Structure

acp-server-tester/
├── pages/              # Next.js pages
├── components/         # React components
├── utils/              # Endpoint templates
├── styles/             # Global styles
└── public/             # Static assets

🌐 Deployment

Deploy to Vercel

Deploy with Vercel

Or use the CLI:

npm install -g vercel
vercel

🔗 ACP Protocol Resources

💡 Usage Example

  1. Enter your ACP server URL
  2. Add your API key
  3. Select an endpoint
  4. Customize the payload
  5. Send request and view response

![Screenshot placeholder - Application in action]

🤝 Contributing

This is an open testing tool for the ACP protocol. Contributions are welcome!

📄 License

MIT License - feel free to use this tool for testing your ACP implementations.

🆘 Support

For issues or questions:


Built for the Agentic Commerce Protocol - An open standard maintained by OpenAI and Stripe for connecting buyers, AI agents, and businesses.

About

Simple web app to test an ACP server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published