NovelAI Image MCP

NovelAI Image MCP

An MCP (Model Context Protocol) server that exposes NovelAI image generation as tools for AI agents — Claude Desktop, Cline, custom agents, and remote clients.

Built on the official MCP Python SDK v2 (MCPServer), it lets an agent generate images (txt2img / img2img / inpaint), upscale, run Director tools (line art, emotion, background removal, …), annotate with ControlNet, suggest tags, encode vibes, and query account subscription — all through the standard MCP tool interface.


Highlights

  • 11 MCP tools covering the full NovelAI image API surface.

  • Two transports: stdio (local agents) and streamable-http (remote / multi-client).

  • Dual return shape: base64 Image content blocks (the agent sees the image) and PNG saved to disk (path returned as text).

  • Async + sync: async tool handlers + a typer CLI for direct invocation.

  • uv-managed monorepo, MIT-licensed, Docker-ready, GitHub Pages docs.


Get started