Skip to main content
Glama
README.md
# NPPU MCP Server

[NPPU](https://nppu.ai) is a remote MCP server that gives your AI agent pay-per-use AI image and video tools: image generation, video generation, white-background product images, e-commerce image sets, watermark removal, 4K upscaling, subtitles, video translation, lip sync, character swap and more.

- **MCP URL:** `https://nppu.ai/mcp` (Streamable HTTP)
- **Auth:** `Authorization: Bearer <API key>`. Create a key at [nppu.ai/app](https://nppu.ai/app/). `search_tools` and `get_tool` work without a key.
- **Pricing:** pay per use, from $1.99 per task. No subscription. You confirm every payment yourself.
- **Registry:** [`ai.nppu/mcp`](https://registry.modelcontextprotocol.io/v0/servers?search=ai.nppu/mcp) in the official MCP Registry
- **Docs:** [nppu.ai/agents](https://nppu.ai/agents)

This repository holds setup instructions, client configs and the Registry `server.json`. The server is hosted; there is nothing to install or run locally.

## Quick start

1. Sign in at [nppu.ai/app](https://nppu.ai/app/) and create an API key. The full key is shown only once.
2. Add the server to your client (replace `YOUR_API_KEY`):

### Claude Code

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

Restart Claude Code and run `/mcp` to check that `nppu` is connected.

### Cursor

`.cursor/mcp.json` in your project, or `~/.cursor/mcp.json` globally — see [examples/cursor.json](examples/cursor.json):

```json
{
  "mcpServers": {
    "nppu": {
      "url": "https://nppu.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}
```

### Claude Desktop

Claude Desktop connects to remote servers through [`mcp-remote`](https://www.npmjs.com/package/mcp-remote) (needs Node.js). Edit `claude_desktop_config.json` — see [examples/claude_desktop_config.json](examples/claude_desktop_config.json).

### Codex

`~/.codex/config.toml` — see [examples/codex.toml](examples/codex.toml):

```toml
[mcp_servers.nppu]
url = "https://nppu.ai/mcp"
bearer_token_env_var = "NPPU_API_KEY"
```

### Any other client

Any client that supports Streamable HTTP (MCP 2025-03-26 or later) works:

```bash
curl -s https://nppu.ai/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

## Try it

Ask your agent in plain language:

> Turn this product photo into a white-background image.

The agent finds the right tool, quotes the price and gives you a payment link. After you pay, it waits for the result and hands you the files.

## MCP tools

| Tool | What it does | API key |
|---|---|---|
| `search_tools` | Search NPPU's AI tools; returns IDs, summaries and prices | No |
| `get_tool` | Input format and price of one tool | No |
| `get_upload_url` | Get an upload URL for a local file | Yes |
| `create_task` | Place an order; returns `preparing` right away | Yes |
| `wait_task` | Wait for the quote, payment and result | Yes |
| `pay_order` | Get a fresh payment link for an order | Yes |
| `list_orders` | Recent orders | Yes |
| `list_entitlements` | Paid tasks that have not run yet | Yes |
| `use_entitlement` | Run a paid task without paying again | Yes |

Every response has a `next` field telling the agent what to do next.

## AI tools available

| Tool ID | Title | Price |
|---|---|---|
| `image-generate` | AI Image Generator (16 models) | from $1.99 / image |
| `video-generate` | AI Video Generator (13 models incl. Seedance, Veo, Kling) | from $1.99 |
| `product-white-bg` | White Background Product Image | $1.99 / image |
| `ecommerce-image-set` | E-commerce Image Set | $1.99 / image |
| `product-link-video-ad` | Product Link to Video Ad | from $5.99 / video |
| `event-poster` | Event Poster Maker | $1.99 / image |
| `image-watermark-remove` | Image Watermark Remover | $1.99 / image |
| `image-upscale-4k` | Image 4K Upscale | $1.99 / image |
| `image-layer-split` | Image Layer Splitter | from $1.99 / image |
| `video-extend` | AI Video Extender | from $1.99 |
| `video-edit` | AI Video Editor | from $1.99 |
| `photo-lipsync` | Talking Photo (Lip Sync) | from $1.99 |
| `video-motion-control` | Motion Transfer | from $1.99 |
| `video-character-swap` | Video Character Swap | from $1.99 |
| `video-translate` | Video Translation | about $0.18 / sec |
| `video-subtitle` | Add Subtitles to Video | from $1.99 |
| `video-watermark-remove` | Video Watermark & Subtitle Remover | about $0.12 / sec |
| `video-upscale-4k` | Video 4K Upscale | about $0.06 / sec |

The list grows over time; call `search_tools` for the current one. New tools show up without reinstalling.

## How payment works

Your agent never pays on your behalf. It quotes the price, you pay with the link (Stripe), then the agent carries on. If a task fails, the payment is refunded automatically.

## Support

- Website: [nppu.ai](https://nppu.ai)
- Email: support@nppu.ai
- Issues: open one in this repository