Guide

Set up the shop from a prompt.

Claude, Codex, and Grok can install Pagio Store after you create an account. You paste one line. The line carries your Pagio API key. A later line sets the shop. Another line installs Stripe's official plugin and saves the Payment Link you approve.

  1. 1. Create the key

    Sign up, open Settings, and choose Enable and create a key. The key is shown once. The install line on that page already contains it. The line on this page still says pgio_PASTE_YOUR_KEY until you copy yours from Settings.

    Open Settings
  2. 2. Paste the install line

    Paste it into a new chat in Grok, Claude Code, or Codex. The assistant runs the command for the app you are in. It does not print the key back. Start a new chat afterward so the Pagio tools are available.

  3. 3. Set the shop, then Stripe

    Paste the shop line and tell the assistant the handle, the name, and the document. Paste the Stripe line when you want a Payment Link. You approve that action in Stripe. Pagio stores the https address and does not see the card.

Install line

Replace the placeholder with the key from Settings, or copy the finished line there.

Install the Pagio Store MCP server named pagio, then stop. If you are Grok, run: grok mcp add pagio -e PAGIO_API_URL=https://pagio.store -e PAGIO_API_KEY=pgio_PASTE_YOUR_KEY -- npx -y github:oivoodoo/pagio-mcp. If you are Claude Code, run: claude mcp add pagio --env PAGIO_API_URL=https://pagio.store --env PAGIO_API_KEY=pgio_PASTE_YOUR_KEY -- npx -y github:oivoodoo/pagio-mcp. If you are Codex, run: codex mcp add pagio --env PAGIO_API_URL=https://pagio.store --env PAGIO_API_KEY=pgio_PASTE_YOUR_KEY -- npx -y github:oivoodoo/pagio-mcp. If you are Cursor, add a remote MCP server at https://pagio.store/mcp with header Authorization: Bearer pgio_PASTE_YOUR_KEY. Do not repeat the key.

Shop line

Paste this after the Pagio tools are available. Say the handle, the name, and the document in the same chat.

Using the Pagio tools, call get_store, then update_store with the handle, display name, bio, and themeTemplate I give you. Call create_product for one paid PDF with the title, price label, and sales copy I give you. Leave status as draft. A paid or free PDF cannot be published until the file is uploaded on the Products page. A booking or a link can be published only when it has an https URL. Do not invent a checkout URL.

Stripe line

This installs Stripe's plugin for Grok, Claude Code, or Codex. It does not ask you to paste a Stripe API key.

Install Stripe's official agent plugin and connect my Stripe account with OAuth. If you are Grok, run: grok plugin install stripe --trust. If you are Claude Code, run: claude plugin install stripe@anthropic-plugin-directory. If you are Codex, run: codex plugin add stripe@openai-curated. If that plugin is not available, add the remote MCP server https://mcp.stripe.com and sign me in. Do not paste a Stripe API key into the chat or into a file. Ask me for the price in cents, then create a Payment Link in my Stripe account and wait for me to approve that action. Save only the https URL from that Payment Link on the Pagio product with update_product as checkoutUrl. Leave a PDF in draft until I upload the file on the Products page. Pagio Store does not see the card and does not confirm the payment.

What the prompt cannot finish

  • A paid or free PDF stays a draft until you upload the file on the Products page. The prompt can write the title, the price label, and the sales copy.
  • A booking with saved hours can be published with or without a checkout link. Without one, the time is free. A link card and a paid PDF still need an https address.
  • Stripe's plugin runs in your Stripe account. Pagio does not confirm the payment. After the buyer pays, send the download link from the dashboard. The link works for seven days.
  • Cursor connects to the remote MCP URL on the Settings page (`/mcp`) with the API key as a Bearer token. Claude Desktop can use that same remote block. The one-line install is for Grok, Claude Code, and Codex.