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
- Visit https://walleot.com
- Create an account and register a new merchant
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| walleot-0.4.3.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|