Skip to main content

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, Context
from walleot import Walleot, price, Mode
import os

mcp = FastMCP("My Server")

walleot = Walleot(
    mcp,
    apiKey=os.getenv("WALLEOT_API_KEY"),
    mode=Mode.ELICITATION
)

@walleot.price(0.99, currency="USD")
@mcp.tool()
def add(a: int, b: int, ctx: Context) -> int:
    # `ctx` is required by the PayMCP tool signature — include it even if unused
    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 modes (two_step, resubmit, elicit, progress, dynamic_tools)
  • 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

Release files for walleot 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for walleot 0.4.3
File Size Uploaded
walleot-0.4.3.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for walleot 0.4.3
File Interpreter ABI Platform
walleot-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 4.4 kB

Release files / walleot-0.4.3.tar.gz

Download URL walleot-0.4.3.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
972a8511a5863c76f6740708afe9fd2d4bc7aec4600845c15e2ced3bfbf3431a
BLAKE2b-256 checksum
How to use checksums
43927b4d91f9d46fa6cc6dae0ea53c6fa0e02b69bb3aa82a3735c7eec831655d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.0 CPython/3.10.14 Darwin/24.3.0

Release files / walleot-0.4.3-py3-none-any.whl

Download URL walleot-0.4.3-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42d68e67aacff96e8edba888074a2fb08cb51de4311ac1c2d3d4b9b46b9d6038
BLAKE2b-256 checksum
How to use checksums
08e733e569a1e033d9fdc8481a095212402b2777eb23fda2dc2ac462ced527e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.0 CPython/3.10.14 Darwin/24.3.0

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.0.4

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page