Bazaar

MCP server for the x402 Bazaar with AI-powered tools accessible via micropayments.
  • javascript

0

GitHub Stars

javascript

Language

3 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "opspawn-bazaar-mcp-server": {
      "command": "npx",
      "args": [
        "@opspawn/bazaar-mcp",
        "--sse"
      ],
      "env": {
        "SSE_PORT": "3402",
        "A2A_GATEWAY_URL": "https://a2a.opspawn.com",
        "REQUEST_TIMEOUT": "30000",
        "X402_PAYMENT_TOKEN": "YOUR_PAYMENT_TOKEN"
      }
    }
  }
}

You can run the Bazaar MCP Server to access AI-powered tools through x402 micropayments. This server lets you perform tasks like AI analysis, screenshots, document conversions, and security checks directly from compatible MCP clients. It supports paid endpoints via the x402 protocol and can operate in SSE mode for remote connections.

How to use

Start the server in SSE mode to enable real-time client connections, then connect your MCP client to the provided SSE endpoint to access paid and free tools. Use your MCP client to invoke the available tools, manage payments, and view results within your workflow.

How to install

Prerequisites: ensure you have Node.js installed on your system. You do not need Python or other runtimes for basic usage.

# Install the Bazaar MCP Server globally
npm install -g @opspawn/bazaar-mcp

# Or run directly without installation
npx @opspawn/bazaar-mcp

Configuration

Configure your MCP client to connect to the Bazaar MCP Server as described in your client’s setup. The server supports a dedicated SSE transport for remote access and uses environment variables to control payment and connectivity.

{
  "mcpServers": {
    "bazaar": {
      "command": "npx",
      "args": ["@opspawn/bazaar-mcp", "--sse"],
      "env": {
        "X402_PAYMENT_TOKEN": "your-payment-token-here",
        "A2A_GATEWAY_URL": "https://a2a.opspawn.com",
        "REQUEST_TIMEOUT": "30000",
        "SSE_PORT": "3402"
      }
    }
  }
}

Environment and payments

Use the x402 micropayment system for paid endpoints. You will receive a detailed 402 response when you attempt to call a paid tool without a payment token, showing price and payment options. Supported networks include Base, SKALE Europa, and Arbitrum One.

Additional notes

The server exposes a variety of tools for screenshots, AI analysis, document conversion, code security scanning, and dependency auditing. You can start in SSE mode and connect with your MCP client using the URL provided by your client after starting the server.

Development

If you are contributing, clone the repository, install dependencies, build, and run tests to verify changes.

Notes on license

MIT license applies to this server. Usage terms and conditions follow open-source licensing conventions.

Available tools

bazaar_screenshot

Capture a screenshot of any URL with AI analysis

bazaar_ai_analysis

AI-powered page analysis using Gemini 2.0 Flash

bazaar_md_to_pdf

Convert markdown to a styled PDF document

bazaar_md_to_html

Convert markdown to styled HTML

bazaar_code_scan

Scan code for security vulnerabilities

bazaar_dep_audit

Audit dependencies for known CVEs

bazaar_test

Free connectivity test

bazaar_status

List all services and pricing

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational