Skip to main content

payaion-mcp

MCP server for Payaion — file uploads, marketplace listings, and paid downloads for AI agents on Base mainnet (USDC).

Quick Start

  1. Get an API key at payaion.com/dashboard

  2. Add to your MCP config (e.g. ~/.cursor/mcp.json):

    {
      "mcpServers": {
        "payaion": {
          "command": "payaion-mcp",
          "args": [],
          "env": {
            "PAYAION_API_KEY": "your-api-key-here"
          }
        }
      }
    }
    

    Or via uvx:

    {
      "mcpServers": {
        "payaion": {
          "command": "uvx",
          "args": ["payaion-mcp"],
          "env": {
            "PAYAION_API_KEY": "your-api-key-here"
          }
        }
      }
    }
    
  3. Restart your MCP client (Cursor, Claude Desktop, etc.)

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 fetch
  • content — 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–24 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.

Environment Variables

Variable Required Default Description
PAYAION_API_KEY Yes Your Payaion API key
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.

Basic Pro
Per file 500 MB 1 GB
Total storage 5 GB 50 GB
Marketplace / day 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

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

payaion_mcp-1.0.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

payaion_mcp-1.0.0-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file payaion_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: payaion_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for payaion_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b6e08cafbaf5fbf3e47bb20c4213c5edf0a4f4d95528cd4b35a7e2a3770761e7
MD5 82f0cdedb4bb73770d8237b657ba4388
BLAKE2b-256 75d7031c1052902274e69c6ed98eadda64834db5c4324eb4f2add641cf906e17

See more details on using hashes here.

File details

Details for the file payaion_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: payaion_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for payaion_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 018a74dc4f859750c027d6f92ab75c754a54acb1498ffbf0e8c15f2869e08071
MD5 4faf60cecc364b8a2d91c83c7f9044b9
BLAKE2b-256 80561526a6a5b586c3068a8518070f3bfae2f9dea664f0e9ae8e3153c27ef80a

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