umangbuilds/moltpe-agent-payments
Payment infrastructure for AI agents. Reference implementation: x402 + MPP + fiat.
Platform-specific configuration:
{
"mcpServers": {
"moltpe-agent-payments": {
"command": "npx",
"args": [
"-y",
"moltpe-agent-payments"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Payment infrastructure for AI agents — reference implementation with x402, MPP, and fiat payment paths.
[](LICENSE) [](LICENSE-CONTENT) [](https://github.com/umangbuilds/moltpe-agent-payments/actions/workflows/tests.yml) [](https://www.npmjs.com/package/@moltpe/mcp-payments) [](https://www.npmjs.com/package/@moltpe/x402-client) [](https://github.com/umangbuilds/moltpe-agent-payments) [](https://codespaces.new/umangbuilds/moltpe-agent-payments)
> Disclaimer: This is a reference implementation with mock data. For production, implement real PaymentProvider adapters. MoltPe's production server is at moltpe.com/mcp.
This repository contains a reference implementation for handling payments in AI agent systems. It supports three payment paths: stablecoin micropayments (x402), session-based streaming (MPP), and traditional fiat rails. The goal is to show how agents can pay, get paid, and manage money across different protocols.
# MCP Server — payment tools for AI agents
cd mcp-server && npm install && npm start
# Server runs on port 3000 with 11 MCP tools
# Connect Claude Desktop with config from examples/claude-desktop-config.json
# x402 Client — stablecoin micropayments
cd x402-client && npm install && npm run build
# Use in your project:
# import { pay } from '@moltpe/x402-client'See [mcp-server/README.m
Loading reviews...