Agent Bazaar MCP Server
README.md
# noui.bot
**The commerce layer for AI agents.** Billing, metering, and tool discovery for MCP servers.
→ [noui.bot](https://noui.bot) · [spec](https://noui.bot/spec) · [docs](https://noui.bot/docs/bazaar) · [catalog](https://noui.bot/api/bazaar/catalog) · [SDK](https://github.com/TombStoneDash/noui-bot/tree/main/packages/bazaar-sdk) · [changelog](https://noui.bot/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.
```bash
# 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"
```
<!-- CATALOG:BEGIN -->
**Live catalog:** 62 tools · 8 providers · 10% platform fee · Sub-cent metering · Stripe Connect payouts
_Generated from [the public catalog](<https://noui.bot/api/bazaar/catalog>) on 2026-09-25 UTC._
| Provider | Verified | Tool count | Tools |
|---|:---:|---:|---|
| AutoScrape US Business Registry Evidence | No | 40 | <code>__schema_probe_do_not_create__</code>, <code>check_broken_links</code>, <code>check_http_status</code>, <code>decode_nhtsa_vins</code>, <code>enrich_website_company</code>, <code>extract_schema_markup</code>, <code>extract_sitemap_urls</code>, <code>get_stock_chart</code>, <code>lookup_cslb_contractor_license</code>, <code>lookup_us_tariff_hts_codes</code>, <code>scan_website_tech_stack</code>, <code>screen_ofac_sdn_sanctions</code>, <code>search_bankruptcy_filings</code>, <code>search_building_permits</code>, <code>search_business_entities</code>, <code>search_cms_nursing_homes</code>, <code>search_congress_stock_trades</code>, <code>search_courtlistener_legal_opinions</code>, <code>search_dallas_county_property_tax</code>, <code>search_dol_form_5500_plans</code>, <code>search_dol_h1b_lca</code>, <code>search_fda_510k_clearances</code>, <code>search_federal_court_dockets</code>, <code>search_federal_register_documents</code>, <code>search_fmcsa_carrier_safety</code>, <code>search_hmda_mortgage_data</code>, <code>search_irs_990_nonprofits</code>, <code>search_nhtsa_vehicle_complaints</code>, <code>search_nj_ucc_liens</code>, <code>search_npi_registry</code>, <code>search_osha_workplace_inspections</code>, <code>search_sam_gov_contract_opportunities</code>, <code>search_sec_edgar_filings</code>, <code>search_sec_form_13f_holdings</code>, <code>search_sec_form_8k_events</code>, <code>search_sec_form_d_filings</code>, <code>search_sunbiz_florida_new_business_filings</code>, <code>validate_email_addresses</code>, <code>validate_phone_numbers</code>, <code>whois_lookup</code> |
| BotWall3t | Yes | 3 | <code>access.verify</code>, <code>wallet.balance</code>, <code>wallet.transfer</code> |
| Deploy Rail | No | 3 | <code>deploy.create</code>, <code>deploy.stats</code>, <code>deploy.status</code> |
| Nous Research MCP Server | No | 3 | <code>Business Decomposer</code>, <code>Fresh Markets Watch</code>, <code>GasRoute Oracle</code> |
| OpenCode MCP | No | 5 | <code>code.analyze</code>, <code>data.convert</code>, <code>text.process</code>, <code>util.timestamp</code>, <code>util.uuid</code> |
| Sentinel MCP | Yes | 4 | <code>monitor.health</code>, <code>news.scan</code>, <code>web.extract</code>, <code>web.search</code> |
| Test Provider Walkthrough | No | 1 | <code>test_weather</code> |
| quant-mcp-tools | No | 3 | <code>get_correlation_matrix</code>, <code>get_volatility_analysis</code>, <code>validate_trade_constraints</code> |
<!-- CATALOG:END -->
## TypeScript SDK
```bash
npm install @forthebots/bazaar-sdk
```
```typescript
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); // Cents: 5 means $0.05 = 50,000 microcents
// 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](https://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](https://noui.bot/providers/dashboard)
```bash
# 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:
1. **Register:** [noui.bot/developers/register](https://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](https://noui.bot/developers/dashboard)
## API Endpoints
### Public (no auth)
| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | `/api/bazaar/catalog` | Tool catalog with pricing |
| GET | `/api/v1/bazaar/stats` | Platform dashboard metrics |
| GET | `/api/v1/bazaar/pricing` | Per-tool pricing details |
| GET | `/api/v1` | API index (v0.3.0) |
| GET | `/api/v1/health` | Health check |
| GET | `/api/openapi.json` | OpenAPI 3.1 spec |
### Registration (no auth)
| Method | Endpoint | Description |
|--------|----------|-------------|
| POST | `/api/bazaar/register-provider` | Register MCP server |
| POST | `/api/bazaar/register-consumer` | Get consumer API key |
### Authenticated (Bearer bz_...)
| Method | Endpoint | Description |
|--------|----------|-------------|
| POST | `/api/bazaar/proxy` | Call a tool (metered + billed) |
| POST | `/api/bazaar/tools` | Register/update tools (provider) |
| POST | `/api/v1/bazaar/meter` | Record invocation (MCP middleware) |
| GET | `/api/v1/bazaar/balance` | Check balance (consumer) |
| GET | `/api/v1/bazaar/usage` | Usage history |
| GET | `/api/v1/bazaar/usage/summary` | Aggregated usage stats |
| POST | `/api/bazaar/billing/provider-summary` | Provider earnings |
| POST | `/api/bazaar/balance/load` | Add funds via Stripe |
| POST | `/api/bazaar/payouts` | Trigger payout ($10 min) |
| POST | `/api/bazaar/connect` | 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 (1 cent = 10,000 microcents) |
| Minimum payout | $10.00 |
| Payout method | Stripe Connect (Express) |
## Key Pages
| Page | Description |
|------|-------------|
| [/get-started](https://noui.bot/get-started) | Developer quick start (5 steps) |
| [/providers](https://noui.bot/providers) | Public provider catalog |
| [/providers/register](https://noui.bot/providers/register) | Register as a provider |
| [/marketplace](https://noui.bot/marketplace) | Browse all tools |
| [/pricing](https://noui.bot/pricing) | Tiered pricing (Free / Builder / Scale) |
| [/dashboard](https://noui.bot/dashboard) | Developer usage dashboard |
| [/docs/compare](https://noui.bot/docs/compare) | vs MCPize, xpay, TollBit, MCP Hive |
| [/specs/mcp-billing-v1](https://noui.bot/specs/mcp-billing-v1) | Open MCP billing spec (MIT) |
| [/blog](https://noui.bot/blog) | 15 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
- **Docs:** [noui.bot/docs/bazaar](https://noui.bot/docs/bazaar)
- **SDK:** [@forthebots/bazaar-sdk](https://www.npmjs.com/package/@forthebots/bazaar-sdk) (v0.1.2)
- **OpenAPI:** [noui.bot/api/openapi.json](https://noui.bot/api/openapi.json)
- **Comparison:** [noui.bot/docs/compare](https://noui.bot/docs/compare)
- **agents.json:** [noui.bot/.well-known/agents.json](https://noui.bot/.well-known/agents.json)
## Built By
[Tombstone Dash LLC](https://tombstonedash.com) · San Diego, CA
One human. One AI. Building the commerce layer for the agent economy.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessUnresponsive