Skip to main content
Glama

plumaden-mcp

MCP server + Python SDK for Plumaden — a content marketplace with Algorand payments. Point an AI agent at it and the agent can search, read, buy, and publish content conversationally.

Plumaden is in a public testnet preview at qa.plumaden.io. Payments there use Algorand testnet funds, which have no value, so the examples below point at it.

Quickstart

You may not need this package. To browse, buy from your own wallet app (QR or pay link) or publish, connect your MCP host to Plumaden's hosted server instead: no install. See Connect Claude to Plumaden. This package adds hands-free auto-pay from a small dedicated wallet, and the Python SDK.

Claude Code / any MCP CLI

claude mcp add plumaden \
  -e PLUMADEN_API_URL=https://qa.plumaden.io/api/v1/ \
  -e PLUMADEN_NETWORK=testnet \
  -e PLUMADEN_API_TOKEN=plm_your_key \
  -- uvx plumaden-mcp

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "plumaden": {
      "command": "uvx",
      "args": ["plumaden-mcp"],
      "env": {
        "PLUMADEN_API_URL": "https://qa.plumaden.io/api/v1/",
        "PLUMADEN_NETWORK": "testnet",
        "PLUMADEN_API_TOKEN": "plm_your_key"
      }
    }
  }
}

pip

pip install plumaden-mcp
plumaden-mcp          # speaks MCP over stdio

Generate a ready-to-paste config from the Plumaden UI: Settings → API Keys → create a key shows a "Connect Claude" panel with your key filled in. See also Connect Claude to Plumaden.

Related MCP server: path402

Configuration

Variable

Required

Description

PLUMADEN_API_URL

No

API base URL. Defaults to http://localhost:8000/api/v1/; set https://qa.plumaden.io/api/v1/ for the testnet preview.

PLUMADEN_API_TOKEN

For publishing

Your API key (plm_...). Create one at Settings → API Keys. Publishing and image upload need the publish scope.

PLUMADEN_WALLET_MNEMONIC

For auto-pay

25-word Algorand mnemonic. Read the auto-pay section below before setting this.

PLUMADEN_WALLET_FILE

Alternative

Path to a file containing the mnemonic, instead of the env var.

PLUMADEN_NETWORK

With a wallet

testnet (default) or mainnet. Must match the site: testnet for the preview.

PLUMADEN_MAX_AUTO_PAY

Strongly recommended with a wallet

Per-purchase ceiling, e.g. 2.0 or USDC:2,ALGO:10.

PLUMADEN_MAX_SESSION_SPEND

Recommended with a wallet

Total spend ceiling for the session.

PLUMADEN_TRUSTED_PAYOUT_ADDRESSES

No

Comma-separated allowlist; the agent refuses to pay anyone else.

PLUMADEN_ALLOW_UNKNOWN_ASSETS

No

Off by default. Leave it off.

Capability matrix

What the agent can do depends on what you configure:

Configured

Read + search

Publish / edit / upload images

Buy premium content

Nothing

✅

❌

QR code — you pay from your own wallet app

PLUMADEN_API_TOKEN

✅

✅

QR code

Token + wallet mnemonic

✅

✅

✅ signed automatically, within your caps

Write tools are hidden from the tool list entirely when no token is set, so an agent without credentials cannot even try.

Auto-pay: use a dedicated agent wallet

A mnemonic in an env var is a key an agent process can read. Treat it that way.

Never point this at your main wallet. The pattern that keeps this safe:

  1. Create a fresh, empty Algorand wallet used only for this agent.

  2. Fund it with a small float — $10–20. Think prepaid card, not bank account.

  3. Set PLUMADEN_MAX_AUTO_PAY so no single purchase can exceed what you'd shrug at, and PLUMADEN_MAX_SESSION_SPEND to bound a runaway loop.

  4. Optionally set PLUMADEN_TRUSTED_PAYOUT_ADDRESSES to an allowlist.

  5. Top it up when it runs dry.

Worst case on a full compromise is the float — bounded per purchase by the cap. That is the whole point of the pattern.

Skip the wallet entirely and purchases fall back to a QR code you approve in Pera or Defly. Slower per purchase, and your keys never leave your phone.

More detail: Set up an agent wallet.

Publishing house style

The server exposes this as an MCP resource (plumaden://publishing-guide) so agents read it automatically. It is duplicated here for clients that ignore resources.

Format. content_markdown is the input. Headings, bold/italic, links, lists, blockquotes, fenced code blocks, tables, and images are supported. Raw HTML and scripts are stripped by the sanitizer.

Teasers. Premium previews are generated automatically. Do not hand-write a "here's what you'll learn" summary at the top of the body — it will be duplicated.

Tags. Lowercase, at most 5, and reuse existing tags rather than minting near-duplicates. Tag the subject, not the format.

Pricing. USDC is recommended (stable, and the displayed USD-equivalent matches what the buyer expects). Typical single-article pricing is $0.25–$5.00. A premium post needs a payout address configured on the account. Notes cannot be premium.

Post types. article (default, needs a title) or note (no title, max 500 characters, never premium, cannot be scheduled). status defaults to "draft" (since 2026-11); pass status="published" to post immediately. An import that sends published_at must also send status="published", or it is refused.

Images. Upload local or private images with plumaden_upload_image first, substitute the returned URL into the markdown, then post. Google Docs, Notion, and private Drive image URLs are session-authenticated — they render for the author and break for everyone else. JPEG/PNG/GIF/WebP, 5 MB each.

Importing an archive. Set published_at to the original date (ISO 8601, create-only, requires status="published") and canonical_url to the original URL. Pass suppress_notifications: true when publishing directly so ten imported articles don't send ten emails — it defaults to true whenever published_at is set. Webhooks, moderation, embeddings, and teaser generation always run regardless; slop scoring runs on sites that enable it.

Batch publishing. For new writing, either create everything as drafts, confirm with the user, then publish — or publish directly with suppress_notifications: true. An archive import is created published in one call per post (with published_at), never through drafts: a draft published later loses its original date. Never publish a batch with notifications on.

Tools

Read tools (no token needed): plumaden_list, plumaden_read, plumaden_search, plumaden_catalog, plumaden_authors, plumaden_check_price, plumaden_check_payment, plumaden_wallet_info, plumaden_status, plumaden_tribes, plumaden_tribe, plumaden_comments, plumaden_rate (rating works without a token — it uses the per-install agent identity).

Purchase tools: plumaden_purchase (works without a token as an anonymous x402 purchase; a token, if set, needs the purchase scope) and plumaden_subscribe_tribe (listed only with a token, which needs purchase). Both auto-pay from the configured wallet within its caps or return a QR/manual payment intent.

Write tools (need PLUMADEN_API_TOKEN; hidden without it): plumaden_post, plumaden_upload_image, plumaden_edit_post, plumaden_delete_post, plumaden_my_posts, plumaden_comment, plumaden_follow, plumaden_unfollow, plumaden_join_tribe.

SDK

The same client is importable directly, with no MCP involved:

from plumaden_mcp.sdk import PlumadenClient

client = PlumadenClient(
    base_url="https://qa.plumaden.io/api/v1/",
    api_token="plm_your_key",
)
posts = client.search_posts("algorand smart contracts")
client.create_post(title="Hello", content_markdown="# Hi\n\nBody.")

The import package is plumaden_mcp; the SDK is plumaden_mcp.sdk, and python -m plumaden_mcp runs the server.

Versioning

This package versions independently of the Plumaden service, and releases are listed in CHANGELOG.md. Plumaden keeps its API backward compatible with the latest release.

Development

uv sync
uv run pytest                 # offline unit tests
uv run pytest -m packaging    # builds the wheel and tests it in a clean venv (slow)
uv run mypy
uv run ruff check . && uv run ruff format --check .

Issues and security

Bug reports and questions are welcome in issues. Pull requests are not accepted yet.

This package can hold a wallet key, so please report vulnerabilities privately, never in a public issue: see SECURITY.md.

License

MIT

Available Tools

15 tools
plumaden_authorsB
Read-onlyIdempotent

Browse the author reputation directory. Shows post counts, average ratings, view totals, and top topics for each author. Use plumaden_follow to track authors you find interesting.

Inputs: page, sort, min_posts, page_size, +1 more.

plumaden_catalogA
Read-onlyIdempotent

Browse the content marketplace with filters for category, tag, price range, minimum rating, and author. Use this for structured browsing and discovery. For free-text search, use plumaden_search.

Inputs: tag, page, slop, sort, +7 more.

plumaden_check_paymentA
Read-onlyIdempotent

Check the status of a pending manual payment intent. Use after plumaden_purchase returns a QR code / payment intent. Poll this until status is 'paid' or 'settled', then use plumaden_read to fetch the unlocked content.

Inputs: intent_id (required), verify_now.

plumaden_check_priceA
Read-onlyIdempotent

Check the price and payment requirements for a premium post without attempting to buy it. Returns the amount, asset, and current wallet balance. Use before plumaden_purchase to show the user what they will pay.

Inputs: url, slug, asset.

plumaden_commentsA
Read-onlyIdempotent

List comments on a post as a threaded tree, one page (20 top-level comments) at a time. Returns authors, body text, like counts, and up to 3 replies per comment. Pass next_cursor back as cursor for the next page; page a comment's other replies with parent_id= and cursor=. Requires the post's numeric ID (from plumaden_read output).

Inputs: post_id (required), sort, cursor, parent_id.

plumaden_listA
Read-onlyIdempotent

List the most recent published posts in reverse chronological order. Use this for a general feed view. For filtered or sorted browsing, use plumaden_catalog instead.

Inputs: page, limit, post_type.

plumaden_purchaseA
Destructive

Purchase premium access to a post. With a wallet configured, payment is automatic via x402. Without a wallet, returns a QR code for manual payment — then use plumaden_check_payment to verify. Always call plumaden_check_price first and confirm with the user before purchasing.

Inputs: url, slug, asset, max_price.

plumaden_rateA
Idempotent

Rate a post from 1 to 5 stars with optional text feedback. Ratings with a verified purchase receipt are marked as such. Use after reading content to close the feedback loop.

Inputs: rating (required), url, slug, feedback.

plumaden_readA
Read-onlyIdempotent

Read the full content of a specific post by its slug or URL. Returns content and author trust signals if accessible. If the post is premium and unpurchased, returns price info — use plumaden_check_price or plumaden_purchase as a next step.

Inputs: url, slug.

plumaden_statusA
Read-onlyIdempotent

Check MCP server health: API reachability, wallet status, token configuration, and connection diagnostics.

Inputs: no named parameters.

plumaden_tribeA
Read-onlyIdempotent

Get details for a specific tribe by slug, including its recent posts and members. Use plumaden_join_tribe to join.

Inputs: slug (required).

plumaden_tribesA
Read-onlyIdempotent

List multi-author publications (tribes). Shows member counts, post counts, join policy, and subscription info. Use plumaden_tribe to see a specific tribe's detail and posts.

Inputs: page, search, page_size.

plumaden_wallet_infoA
Read-onlyIdempotent

Get wallet address, ALGO balance, auto-pay cap, session spending totals, and cached content stats. Use to check available funds before a purchase.

Inputs: no named parameters.

plumaden_x402C

Deprecated multiplexer — use the dedicated plumaden_* tools above instead. Kept for backward compatibility only.

Inputs: action (required), url, page, slug, +4 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 15 tools

    Disambiguation4/5

    Most tools have clear boundaries and descriptions explicitly cross-reference each other (search vs catalog vs list, check_price vs purchase vs check_payment). The main overlaps are plumaden_tribe vs plumaden_tribes (detail vs list, clarified in text) and plumaden_status vs plumaden_wallet_info (both surface wallet state), plus the deprecated plumaden_x402 lingering as a confusing duplicate.

    Naming Consistency4/5

    All tools share the plumaden_ prefix and snake_case, which is highly predictable. The only deviation is mixing verbs (search, read, list, check_price, purchase, rate) with bare nouns (status, comments, authors, tribes, tribe, catalog, wallet_info), though each remains readable.

    Tool Count4/5

    15 tools is within a reasonable range for a content marketplace with search, browse, read, comments, authors, tribes, and a payment flow. The count is slightly inflated by the deprecated plumaden_x402 and the redundant tribe/tribes pair, but each remaining tool earns its place.

    Completeness3/5

    The read/browse/search/comment/rate and purchase/payment lifecycle is well covered. However, descriptions reference tools that do not exist (plumaden_follow, plumaden_join_tribe), and there is no create/update/delete for posts, leaving notable dead ends in the stated workflow.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers