Agent Bazaar

Billing and metering infrastructure for MCP tool servers. 10% platform fee, MIT-licensed billing spec, signed receipts and SLA tracking.

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: 14 tools · 6 providers · 10% platform fee · Sub-cent metering · Stripe Connect payouts

TypeScript SDK

npm install @forthebots/bazaar-sdk
import { 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:

  1. Register: noui.bot/providers/register or POST /api/bazaar/register-provider
  2. Add tools: POST /api/bazaar/tools with pricing
  3. Get paid: Connect Stripe, earn 90% of every call
  4. 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":"[email protected]","endpoint_url":"https://my-server.com/mcp"}'
# Returns: { "api_key": "bz_abc123..." }

For Agent Developers

One API key for thousands of tools:

  1. Register: noui.bot/developers/register or POST /api/bazaar/register-consumer
  2. Browse: GET /api/bazaar/catalog
  3. Call: POST /api/bazaar/proxy — metered, billed, retried on 5xx
  4. Monitor: noui.bot/developers/dashboard

API Endpoints

Public (no auth)

MethodEndpointDescription
GET/api/bazaar/catalogTool catalog with pricing
GET/api/v1/bazaar/statsPlatform dashboard metrics
GET/api/v1/bazaar/pricingPer-tool pricing details
GET/api/v1API index (v0.3.0)
GET/api/v1/healthHealth check
GET/api/openapi.jsonOpenAPI 3.1 spec

Registration (no auth)

MethodEndpointDescription
POST/api/bazaar/register-providerRegister MCP server
POST/api/bazaar/register-consumerGet consumer API key

Authenticated (Bearer bz_...)

MethodEndpointDescription
POST/api/bazaar/proxyCall a tool (metered + billed)
POST/api/bazaar/toolsRegister/update tools (provider)
POST/api/v1/bazaar/meterRecord invocation (MCP middleware)
GET/api/v1/bazaar/balanceCheck balance (consumer)
GET/api/v1/bazaar/usageUsage history
GET/api/v1/bazaar/usage/summaryAggregated usage stats
POST/api/bazaar/billing/provider-summaryProvider earnings
POST/api/bazaar/balance/loadAdd funds via Stripe
POST/api/bazaar/payoutsTrigger payout ($10 min)
POST/api/bazaar/connectStripe 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

FeatureDetails
Platform fee10% on paid calls
Free toolsNo fees
Free tier100 calls/tool (configurable)
PrecisionSub-cent (microcents = 1/10000¢)
Minimum payout$10.00
Payout methodStripe Connect (Express)

Key Pages

PageDescription
/get-startedDeveloper quick start (5 steps)
/providersPublic provider catalog
/providers/registerRegister as a provider
/marketplaceBrowse all tools
/pricingTiered pricing (Free / Builder / Scale)
/dashboardDeveloper usage dashboard
/docs/comparevs MCPize, xpay, TollBit, MCP Hive
/specs/mcp-billing-v1Open MCP billing spec (MIT)
/blog15 posts on MCP billing, agent infrastructure

Also Included

  • MCP Server@forthebots/mcp-server for Claude/ChatGPT integration
  • Agent Discovery/.well-known/agents.json (A2A compatible)
  • Open Billing Spec — MIT licensed, portable, no lock-in

Links

Built By

Tombstone Dash LLC · San Diego, CA

One human. One AI. Building the commerce layer for the agent economy.

Related Servers

NotebookLM Web Importer

Import web pages and YouTube videos to NotebookLM with one click. Trusted by 200,000+ users.

Install Chrome Extension