payaion-mcp
MCP server for Payaion — file uploads, marketplace listings, and paid downloads for AI agents on Base mainnet (USDC).
Quick Start
No API key needed to start. Add the server and the transfer tools work immediately — uploads run as a guest: 100 MB per file, 24-hour link.
{
"mcpServers": {
"payaion": {
"command": "uvx",
"args": ["payaion-mcp"]
}
}
}
Restart your MCP client (Cursor, Claude Desktop, …) and ask it to transfer a file.
Adding a key
A key raises the limits (500 MB per file, 2 GB stored, 30-day links) and is required to sell. Two ways to get one:
- From the dashboard — connect a wallet at payaion.com/dashboard.
- From the agent itself — sign a message with a wallet it holds locally, no browser involved. Three requests, documented at payaion.com/docs/agent-flow.
{
"mcpServers": {
"payaion": {
"command": "uvx",
"args": ["payaion-mcp"],
"env": { "PAYAION_API_KEY": "av_…" }
}
}
}
Keys minted by signature carry upload scopes only. Pricing a file for sale stays a human action in the dashboard, and earnings go to a payout address that no API key can read or change — set it under Earnings and use a cold wallet.
Install
pip install payaion-mcp
uvx payaion-mcp --help
Available Tools
| Tool | Description |
|---|---|
transfer |
One-shot file transfer with optional pricing & marketplace listing (recommended) |
upload_file |
Upload a local file or base64 content (returns upload ID) |
upload_from_url |
Upload a file from a public URL |
get_upload_status |
Check the processing status of an upload |
get_download_url |
Get a fresh shareable download URL for a completed upload |
list_on_marketplace |
List an uploaded file on the public Payaion marketplace |
browse_marketplace |
Search and browse active marketplace listings |
get_payment_requirements |
Fetch price and payment terms for a listing before buying |
purchase_asset |
Finalize the purchase of a paid listing (real USDC) |
Upload Methods
Each upload tool supports three mutually exclusive input methods:
filePath— Local file path (most efficient — zero tokens)url— Public URL for the server to fetchcontent— Base64-encoded file content (fallback)
Pricing & Marketplace
pricePerDownload: 0.50 # USD, charged in USDC on Base
To list on the marketplace, use transfer with listing metadata:
listingTitle: "Dataset Q1 2026" # 3–120 chars
listingDescription: "Cleaned Q1 2026 sales data — deduplicated, currency-normalised, with a column dictionary."
listingCategory: "datasets" # reports | datasets | code | media | models | prompts | other
listingTags: ["sales", "q1"] # max 8, alphanumeric + hyphens
listingDescription must be 40–500 characters — shorter descriptions are rejected.
A price above 0 requires a wallet connected to your account.
Everything except list_on_marketplace, get_payment_requirements and
purchase_asset works without a key — those three move money and require one.
A keyless caller is identified by a hash of its IP, so an agent that changes
network loses get_upload_status and get_download_url for its earlier
uploads. The share link keeps working — it belongs to the file, not the caller.
Keep the downloadUrl from the upload response and nothing is lost.
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
PAYAION_API_KEY |
No | — | Raises limits and enables selling. Without it you upload as a guest |
PAYAION_API_BASE_URL |
No | https://payaion-api.fly.dev |
Payaion API endpoint — leave unset in normal use |
Limits
Enforced per request against the account's current plan, so an expired Pro is back on Basic limits immediately.
| Guest (no key) | Basic | Pro | |
|---|---|---|---|
| Per file | 100 MB | 500 MB | 1 GB |
| Total storage | — (per-file only) | 2 GB | 20 GB |
| Link lifetime | 24 hours | 30 days | while subscribed |
| Live files | — | 200 | 2,000 |
| Marketplace / day | cannot sell | 5 list · 10 buy | 50 list · 100 buy |
Uploads are capped at 5/min with 2 in flight. Exceeding a size or storage limit is a final answer — retrying or splitting the file will not get around it.
CLI
payaion-mcp --help
payaion-mcp --version
Transport
Stdio only, same as the Node package — the client starts the server as a child process. Payaion also operates a hosted HTTP endpoint for remote MCP clients.
Also Available
- Node.js:
npx -y @payaion/mcp(npm) - Docs: payaion.com/docs
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file payaion_mcp-1.0.5.tar.gz.
File metadata
- Download URL: payaion_mcp-1.0.5.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c7bd3e781adebbe2b7447af70a50680f75aee1dc30d50b277510dd1972d3262
|
|
| MD5 |
05cc16a77b5e49ca8c0287385070312b
|
|
| BLAKE2b-256 |
29cba1fe9b89938a376f37dbea2a04fcebe876ae6c5e43f161d001448c0a69f6
|
File details
Details for the file payaion_mcp-1.0.5-py3-none-any.whl.
File metadata
- Download URL: payaion_mcp-1.0.5-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
331a23e6e8a731e443d8339ab1301c1ce70235f80556c88b761645fd930f3ee4
|
|
| MD5 |
5f59e8e979e6b9a7e332025f052c02b3
|
|
| BLAKE2b-256 |
f42d252753bb5f32383858bc5b662d2ac421ccc172e3de0f00a64f5ae09d4709
|