Generate
MCP Server

Uncensored image generation for AI agents.

The BetterWaifu MCP server plugs our uncensored models straight into Claude, Grok, Cursor and any other MCP-capable agent. Your agent lists models, generates images and checks results as native tools — authenticated with your API key, billed in the same credits as the app.

Connect in one command

Claude Code, and any client that speaks Streamable HTTP:

claude mcp add --transport http betterwaifu https://betterwaifu.com/api/mcp \
  --header "Authorization: Bearer $BETTERWAIFU_API_KEY"

Or add it to any MCP client config (Grok, Cursor, Windsurf, custom agents):

{
  "mcpServers": {
    "betterwaifu": {
      "type": "http",
      "url": "https://betterwaifu.com/api/mcp",
      "headers": {
        "Authorization": "Bearer bw_your_key_here"
      }
    }
  }
}

Five tools, the whole workflow

list_models
Live model catalog — anime and hentai SDXL checkpoints, the Anima DiT family, and usable LoRAs.
generate_image
Submit a generation with full parameter control — including LoRAs and img2img from an existing image.
check_generation
Poll a running generation until it returns CDN image URLs.
list_images
Browse your images and pick img2img sources by id.
get_account
Credit balance and subscription status, so agents can check affordability first.

Same models as the site

Requests run on the GPU fleet behind betterwaifu.com — no third-party image service in the loop.

API key auth

One Authorization header. No OAuth dance, no extra signup — keys come with any subscription.

Standard protocol

Streamable HTTP MCP — works with Claude, Grok, Cursor, Windsurf, the OpenAI Agents SDK and anything else that speaks MCP.

Moderated by default

The same content policy as the site, enforced on every tool call — your agent cannot wander over the line.

FAQ

What is an NSFW MCP server?
MCP (Model Context Protocol) is the open standard AI agents use to call external tools. This server exposes BetterWaifu image generation as MCP tools, so Claude, Grok, Cursor or any MCP-capable agent can generate uncensored images mid-conversation — no glue code, no SDK.
How do I authenticate?
With your regular BetterWaifu API key, sent as an Authorization: Bearer header. Keys are free with any subscription — create one in the developer console.
What does it cost?
The same as the REST API: generations spend credits from your subscription balance, and each result reports credits_charged. The MCP server itself is free.
Is it moderated?
Yes — MCP calls go through exactly the same pipeline as the site and the REST API: prompt compliance on every request, auto-tagging on every output. Uncensored, not unmoderated.

Prefer plain HTTP? The same capability is available as a REST API — see the NSFW AI API and the Hentai AI API.