Skip to content

PayreGet paid for your MCP server.

3 lines of code. You keep 97%.

Quick Start

bash
npm install @payre/pay
ts
import { PayrePay } from '@payre/pay';

const payre = new PayrePay({ secretKey: process.env.PAYRE_SECRET_KEY });

// In your MCP tool handler:
const receipt = await payre.charge({
  apiKey: req.headers['x-payre-key'],
  tool: 'my-tool',
  amount: 0.005,
});

That's it. Every call to your tool now costs $0.005. You earn $0.00485 (97%).

Get your API key →   Read the docs →