NovelAI image generation as MCP tools: txt2img, img2img, inpaint, upscale, Director, ControlNet.
registry version 0.7.1
Python
uvx novelai-image-mcpPython
uvx novelai-image-mcp@0.7.1Docker
docker run -i --rm ghcr.io/xinvxueyuan/novelai-image-mcp:0.7.1
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"novelai-image-mcp": {
"command": "uvx",
"args": [
"novelai-image-mcp"
],
"env": {
"NOVELAI_TOKEN": "<YOUR_NOVELAI_TOKEN>"
}
}
}
}{
"mcpServers": {
"novelai-image-mcp": {
"command": "uvx",
"args": [
"novelai-image-mcp@0.7.1"
],
"env": {
"NOVELAI_TOKEN": "<YOUR_NOVELAI_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env NOVELAI_TOKEN=<YOUR_NOVELAI_TOKEN> novelai-image-mcp -- uvx novelai-image-mcp
claude mcp add --env NOVELAI_TOKEN=<YOUR_NOVELAI_TOKEN> novelai-image-mcp -- uvx novelai-image-mcp@0.7.1
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"novelai-image-mcp": {
"command": "uvx",
"args": [
"novelai-image-mcp"
],
"env": {
"NOVELAI_TOKEN": "<YOUR_NOVELAI_TOKEN>"
}
}
}
}{
"mcpServers": {
"novelai-image-mcp": {
"command": "uvx",
"args": [
"novelai-image-mcp@0.7.1"
],
"env": {
"NOVELAI_TOKEN": "<YOUR_NOVELAI_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"novelai-image-mcp": {
"command": "uvx",
"args": [
"novelai-image-mcp"
],
"env": {
"NOVELAI_TOKEN": "<YOUR_NOVELAI_TOKEN>"
}
}
}
}{
"servers": {
"novelai-image-mcp": {
"command": "uvx",
"args": [
"novelai-image-mcp@0.7.1"
],
"env": {
"NOVELAI_TOKEN": "<YOUR_NOVELAI_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"novelai-image-mcp": {
"command": "uvx",
"args": [
"novelai-image-mcp"
],
"env": {
"NOVELAI_TOKEN": "<YOUR_NOVELAI_TOKEN>"
}
}
}
}{
"mcpServers": {
"novelai-image-mcp": {
"command": "uvx",
"args": [
"novelai-image-mcp@0.7.1"
],
"env": {
"NOVELAI_TOKEN": "<YOUR_NOVELAI_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
NOVELAI_TOKEN required secret — NovelAI persistent API token (preferred auth). Get from https://novelai.net/account⭐ 9 stars · 最近更新于 37 天前 · MIT license
Distributed as Python, Docker, listed under Media & Design. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/xinvxueyuan/NovelAI-Image-MCP. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/novelai-image-mcp/)
HTML
<a href="https://mcpnav.net/server/novelai-image-mcp/"><img src="https://mcpnav.net/badge/novelai-image-mcp.svg" alt="Listed on MCPNav" height="20"></a>