Agent Bazaar MCP Server
Utilizes Stripe and Stripe Connect to facilitate a commerce layer for AI agents, handling tool billing, sub-cent metering, balance loading, and automated payouts for MCP tool providers.
noui.bot
The commerce layer for AI agents. Billing, metering, and tool discovery for MCP servers.
→ noui.bot · docs · catalog · SDK · changelog
The Problem
There are 10,000+ MCP servers. Most are hobby-quality because developers can't earn from them. Agents can discover tools but can't pay for them. There's no commerce layer.
The Solution: Agent Bazaar
A billing proxy that sits between agents and MCP servers. Providers set pricing, agents pre-fund balance, every call is metered with sub-cent precision.
# 1. Discover tools (no auth required)
curl https://noui.bot/api/bazaar/catalog
# 2. Call any tool through the billing proxy
curl -X POST https://noui.bot/api/bazaar/proxy \
-H "Authorization: Bearer bz_your_key" \
-d '{"tool_name":"wallet.balance","input":{"wallet":"0xAgent1"}}'
# 3. Check your usage
curl https://noui.bot/api/v1/bazaar/usage/summary \
-H "Authorization: Bearer bz_your_key"Live now: 6 tools · 2 providers · 10% platform fee · Sub-cent metering · Stripe Connect payouts
TypeScript SDK
npm install @forthebots/bazaar-sdkimport { Bazaar } from '@forthebots/bazaar-sdk';
const client = new Bazaar({ apiKey: 'bz_your_key' });
// Discover tools
const { tools } = await client.catalog.list();
// Call a tool (metered + billed)
const result = await client.tools.call('wallet.balance', { wallet: '0x...' });
console.log(result.meta.cost_cents); // $0.05
// Check balance
const { balance } = await client.balance.get();For MCP Server Providers
Turn your MCP server into a revenue stream in 2 minutes:
Register: noui.bot/providers/register or
POST /api/bazaar/register-providerAdd tools:
POST /api/bazaar/toolswith pricingGet paid: Connect Stripe, earn 90% of every call
Monitor: noui.bot/providers/dashboard
# Register
curl -X POST https://noui.bot/api/bazaar/register-provider \
-H "Content-Type: application/json" \
-d '{"name":"My Tools","email":"dev@example.com","endpoint_url":"https://my-server.com/mcp"}'
# Returns: { "api_key": "bz_abc123..." }For Agent Developers
One API key for thousands of tools:
Register: noui.bot/developers/register or
POST /api/bazaar/register-consumerBrowse:
GET /api/bazaar/catalogCall:
POST /api/bazaar/proxy— metered, billed, retried on 5xxMonitor: noui.bot/developers/dashboard
API Endpoints
Public (no auth)
Method | Endpoint | Description |
GET |
| Tool catalog with pricing |
GET |
| Platform dashboard metrics |
GET |
| Per-tool pricing details |
GET |
| API index (v0.3.0) |
GET |
| Health check |
GET |
| OpenAPI 3.1 spec |
Registration (no auth)
Method | Endpoint | Description |
POST |
| Register MCP server |
POST |
| Get consumer API key |
Authenticated (Bearer bz_...)
Method | Endpoint | Description |
POST |
| Call a tool (metered + billed) |
POST |
| Register/update tools (provider) |
POST |
| Record invocation (MCP middleware) |
GET |
| Check balance (consumer) |
GET |
| Usage history |
GET |
| Aggregated usage stats |
POST |
| Provider earnings |
POST |
| Add funds via Stripe |
POST |
| Trigger payout ($10 min) |
POST |
| Stripe Connect onboarding |
Architecture
Agent noui.bot MCP Server
│ │ │
│ POST /bazaar/proxy │ │
│ { tool, input } │ │
│────────────────────────>│ │
│ │ Validate key + balance │
│ │ Forward to provider │
│ │─────────────────────────────>│
│ │ │
│ │ Tool result │
│ │<─────────────────────────────│
│ │ │
│ │ Meter call │
│ │ Deduct balance │
│ │ Credit provider │
│ │ │
│ { result, meta } │ │
│ X-Bazaar-Cost: $0.05 │ │
│ X-Bazaar-Latency: 150ms│ │
│<────────────────────────│ │Pricing Model
Feature | Details |
Platform fee | 10% on paid calls |
Free tools | No fees |
Free tier | 100 calls/tool (configurable) |
Precision | Sub-cent (microcents = 1/10000¢) |
Minimum payout | $10.00 |
Payout method | Stripe Connect (Express) |
Also Included
Deploy Rail — Agent-triggered deployments via shiprail.dev
MCP Server — 7 tools for direct Claude/ChatGPT integration
Agent Discovery —
/.well-known/agents.json(A2A compatible)Blog — Daisy's Daily Struggles
Links
Docs: noui.bot/docs/bazaar
SDK: packages/bazaar-sdk
OpenAPI: noui.bot/api/openapi.json
Changelog: noui.bot/changelog
agents.json: noui.bot/.well-known/agents.json
Built By
Tombstone Dash LLC · San Diego, CA
One human. One AI. Building the commerce layer for the agent economy.
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/TombStoneDash/noui-bot'
If you have feedback or need assistance with the MCP directory API, please join our Discord server