MCP server for integrating NovelAI Image generation into AI agents.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add novelai-image --env NOVELAI_TOKEN='<NOVELAI_TOKEN>' -- uvx novelai-image-mcp~/.codex/config.toml
[mcp_servers.novelai-image]
command = "uvx"
args = ["novelai-image-mcp"]
env = { NOVELAI_TOKEN = "<NOVELAI_TOKEN>" }
# codex mcp add novelai-image --env NOVELAI_TOKEN='<NOVELAI_TOKEN>' -- uvx novelai-image-mcp~/.cursor/mcp.json
{
"mcpServers": {
"novelai-image": {
"command": "uvx",
"args": [
"novelai-image-mcp"
],
"env": {
"NOVELAI_TOKEN": "<NOVELAI_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"novelai-image": {
"type": "stdio",
"command": "uvx",
"args": [
"novelai-image-mcp"
],
"env": {
"NOVELAI_TOKEN": "<NOVELAI_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"novelai-image": {
"command": "uvx",
"args": [
"novelai-image-mcp"
],
"env": {
"NOVELAI_TOKEN": "<NOVELAI_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"novelai-image": {
"command": "uvx",
"args": [
"novelai-image-mcp"
],
"env": {
"NOVELAI_TOKEN": "<NOVELAI_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"novelai-image": {
"command": "uvx",
"args": [
"novelai-image-mcp"
],
"env": {
"NOVELAI_TOKEN": "<NOVELAI_TOKEN>"
}
}
}
}Environment variables
NOVELAI_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.