Skip to main content

Payment support for MCP-based tools and agents.

Project description

walleot

Accept payments in your MCP agents in just two lines of code using Walleot — a drop-in payment provider built for the Model Context Protocol.

Overview

This is a lightweight wrapper around paymcp that configures it to use Walleot as the payment backend, so you can start charging for tool usage with minimal effort.

Installation

pip install walleot

Usage

from mcp.server.fastmcp import FastMCP
from walleot import Walleot, price, PaymentFlow
import os

mcp = FastMCP("My Server")

walleot = Walleot(
    mcp,
    api_key=os.getenv("WALLEOT_API_KEY"),
    payment_flow=PaymentFlow.ELICITATION
)

@walleot.price(0.99, currency="USD")
@mcp.tool()
def add(a: int, b: int) -> int:
    return a + b

Features

  • Accept payments of any amount, including microtransactions as small as $0.01
  • Add monetization to any tool with a simple decorator
  • Supports multiple payment flows (elicit, confirm, progress)
  • Secure API-key-based authentication

Getting Started

  1. Visit https://walleot.com
  2. Create an account and register a new merchant
  3. Generate your API key and use it in your MCP server

Built on top of paymcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

walleot-0.0.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

walleot-0.0.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file walleot-0.0.1.tar.gz.

File metadata

  • Download URL: walleot-0.0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.2 CPython/3.10.14 Darwin/24.3.0

File hashes

Hashes for walleot-0.0.1.tar.gz
Algorithm Hash digest
SHA256 de1bcd27bcfd59ce4a38e139939fe0e042c523c6247b0bbfc4fb4eb0953d32e0
MD5 a26b9453bed1413c40a512cb4f746402
BLAKE2b-256 b68d555b6909ee6f320a5b2270e9454e8bea998f0bd99831ceda5c876c2f1bcc

See more details on using hashes here.

File details

Details for the file walleot-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: walleot-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.2 CPython/3.10.14 Darwin/24.3.0

File hashes

Hashes for walleot-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ff8f99eda293ebf158364085531d7140647455ac0d0ee470da2b0c7d29abdab
MD5 467706b0401e637bd1ad48e0bde02670
BLAKE2b-256 a2c3e01bbad6c5d0446537e37049cb686428ba28dac5902a233f374ad2627a63

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page