API docs
MCP · For agents

Connect NPPU to your agent

One URL, every tool, pay per use. New tools show up automatically — nothing to reinstall.

  1. 1

    Get an API key

    Create an API key in the workbench (you'll be asked to log in first). The full key is shown only once, so store it somewhere safe.

    Get an API key
  2. 2

    Configure your client

    Pick your client, copy the config, and replace the YOUR_API_KEY placeholder with the key from step 1.

    MCP URL: https://nppu.ai/mcp

    Run this in your terminal, restart Claude Code, then check that nppu is connected with /mcp.

    claude mcp add --transport http nppu https://nppu.ai/mcp \
      --header "Authorization: Bearer YOUR_API_KEY"
  3. 3

    Try it

    Once configured, just ask your agent in plain language:

    “Turn this product photo into a white-background image”

    Your agent finds the White Background tool, quotes the price, and sends you a payment link.

How payment works

Your agent never pays on your behalf. You confirm every payment yourself, then the agent carries on automatically.

  1. 1. Agent quotes a price

    After calling a tool, the agent tells you the price and breakdown

  2. 2. You get a QR code or link

    Scan it on desktop, or tap the link on your phone

  3. 3. Pay

    WeChat Pay, or Stripe (USD) for international users

  4. 4. Agent continues

    Once paid, the agent fetches the result and hands it to you

Failed or timed-out tasks are fully refunded automatically. All orders placed by your agent, and their refund status, are listed under Orders in the workbench.

FAQ

Do I need to reinstall when new tools are added?

No. The catalog lives on the server, so search_tools always returns the latest tools and prices.

How do refunds work if a task fails?

Failed or timed-out tasks are refunded in full to the original payment method, automatically. WeChat Pay refunds usually arrive within minutes. Stripe refunds are also issued automatically; they usually take a few business days to reach your card, depending on your card issuer. For e-commerce image sets, failed images are refunded individually.

What if my API key leaks?

Revoke it right away on the API keys page in the workbench and create a new one. Even with a leaked key, every order still needs payment confirmation, so nobody can spend your money.

Where can I see orders placed by my agent?

Under Orders in the workbench, same as web orders. You can download results and track refunds there.

Which clients are supported?

Any client that supports remote MCP (Streamable HTTP), such as Claude Code, Claude Desktop, Cursor and Codex.

Guides