Skip to content

MYA job #24 submission: paid MCP tool guide with x402 and Pyrimid #53

@nieniedeveloper

Description

@nieniedeveloper

Submission for MYA/Pyrimid job #24

Job: Pyrimid bounty: write a useful paid MCP tool guide

Guide: Sell a paid MCP tool or API call with x402 and Pyrimid

Published guide:

What the guide includes:

  • A concrete paid MCP/API route shape using Pyrimid's mcp-server-audit seed product.
  • Catalog metadata including product_id, vendor_id, price in USDC atomic units, network, asset, endpoint, tags, and affiliate bps.
  • A no-spend curl -i test against the paid endpoint.
  • Observed 402 Payment Required response headers, including X-Payment-Required, X-Pyrimid-Network, X-Pyrimid-Product, and X-Pyrimid-Vendor.
  • Observed JSON body with accepts[], payTo, vendorId, productId, affiliateBps, docs, and catalog links.
  • Agent discovery files: .well-known/agent.json, .well-known/x402.json, agents.txt, and llms.txt.
  • A production checklist covering unpaid previews, stable product ids, rate limiting, logging hygiene, and no-spend verification.

Verification run:

npm run check

Observed result:

{
  catalogProduct: mcp-server-audit,
  vendor: pyrimid-growth,
  network: base,
  asset: USDC,
  price: $0.10,
  affiliateBps: 4000,
  status: 402,
  hasPaymentHeader: true,
  hasAccepts: true,
  noSpend: true
}

I attempted to submit through the public MYA API for job #24, but the API returned 400 Bad Request for the guessed payload format and then rate-limited further retries. I stopped retrying to avoid noisy API traffic.

Base USDC payout wallet:

Provided privately on acceptance/request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions