Skip to main content

NovelAI Image MCP

skills.sh

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

Built on FastMCP 4 (the fastmcp framework over the MCP SDK v2 mcp>=2.0.0), 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.

This package is the server workspace member of the NovelAI-Image-MCP monorepo. The Sphinx documentation site lives at apps/docs/. See the repository root README for the project overview and the docs site for full guides and API reference.

Features

  • 11 MCP tools covering the full NovelAI image API surface.
  • 2 prompts + 3 resources: prompt templates for drafting and tool sequencing, plus novelai://models, novelai://samplers, novelai://defaults and novelai://outputs/{name}.
  • Transports: stdio (local agents) + HTTP (remote / multi-client), the latter optionally protected by MCP_AUTH_TOKEN.
  • Image return: 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.

Install

pip install novelai-image-mcp

Quick start

# 1. Configure credentials
export NOVELAI_TOKEN=pst-...   # from https://novelai.net > Account

# 2. Run (stdio — for local agents)
novelai-image-mcp serve

# 3. Or over HTTP
MCP_TRANSPORT=http novelai-image-mcp serve
#   → http://127.0.0.1:8000/mcp

Agent skills

Three skills.sh packages (novelai-cli, novelai-mcp-tools, novelai-workflows) teach AI agents how to drive the CLI and MCP tools:

npx skills add --yes --global xinvxueyuan/NovelAI-Image-MCP

License

MIT — see LICENSE. Per-file SPDX annotations live in REUSE.toml.

Metadata

Release files for novelai-image-mcp 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for novelai-image-mcp 0.5.0
File Size Uploaded
novelai_image_mcp-0.5.0.tar.gz 50.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for novelai-image-mcp 0.5.0
File Interpreter ABI Platform
novelai_image_mcp-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 107.7 kB

Release files / novelai_image_mcp-0.5.0.tar.gz

Download URL novelai_image_mcp-0.5.0.tar.gz
Size 50.3 kB
Tags Source
SHA-256 checksum
How to use checksums
255a6a3b1d1e7ed097e997a9ede3f77274328b2003f2f4d135d730fced4de6ab
BLAKE2b-256 checksum
How to use checksums
1dbaf22b822c8e152926b13e54220ac369ac8cf1ef5b67715b469998ac75f852
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release files / novelai_image_mcp-0.5.0-py3-none-any.whl

Download URL novelai_image_mcp-0.5.0-py3-none-any.whl
Size 57.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5113653e7477ce085482f607b2a371535dae70a3ba5ed440c35c2a0587080523
BLAKE2b-256 checksum
How to use checksums
bc56e54b5c5c81659589daa8b2b0f53e5325ea82721f07de813e03f09335ed35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.1

2 release files

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page