1. Conduid
  2. Developer Tools
  3. Novelai
MCP server · Developer Tools

Novelai

NovelAI MCP Server - 为 AI 助手提供 NovelAI 图像生成能力

Unclaimed MIT last commit 6 months ago devtools
52Fair

Scored 4 months ago · breakdown

About Novelai

Novelai is an MCP server published by hesoyamlp1 in the Developer Tools category: novelAI MCP Server - 为 AI 助手提供 NovelAI 图像生成能力. It has been installed 0 times through Conduid.

The repository has 2 stars and 0 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx mcp-novelai

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Novelai

Powered by Claude · Grounded in docs

I know everything about Novelai. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

NovelAI MCP Server

PyPI version

基于 novelai-python SDK 的 MCP 服务器,为 AI 助手提供 NovelAI 图像生成能力。

✨ 功能

工具 说明
generate_image 文生图,支持多角色定位、Vibe Transfer、Precise Reference
img2img 图生图,基于已有图片变换
suggest_tags Danbooru 标签搜索/自动补全
check_subscription 查询订阅状态和 Anlas 余额

支持模型

名称 模型 ID 说明
v4.5-full nai-diffusion-4-5-full 最新最完整(默认)
v4.5-curated nai-diffusion-4-5-curated 更干净的数据集
v4-full nai-diffusion-4-full V4 Full
v4-curated nai-diffusion-4-curated-preview V4 预览
v3 nai-diffusion-3 V3(老款)

🚀 快速开始

前置条件

  • Python 3.11+
  • NovelAI API Key(以 pst- 开头,从 novelai.net 获取)

方式一:通过 PyPI 安装(推荐)

# 使用 uvx 直接运行(无需手动安装)
NOVELAI_API_KEY=pst-xxx uvx novelai-mcp

# 或者用 pip 安装
pip install novelai-mcp
NOVELAI_API_KEY=pst-xxx novelai-mcp

方式二:从源码安装

# 克隆项目
git clone https://github.com/hesoyamlp1/MCP-NovelAI.git
cd MCP-NovelAI

# 使用 uv 安装依赖
uv sync

# 运行
NOVELAI_API_KEY=pst-xxx uv run novelai-mcp

运行选项

# Stdio 模式(默认,Claude Desktop / Antigravity / Cursor)
NOVELAI_API_KEY=pst-xxx novelai-mcp

# HTTP 模式(LobeChat / Dify)
NOVELAI_API_KEY=pst-xxx novelai-mcp --transport streamable-http --port 3000

# 或者使用 .env 文件
cp .env.example .env
# 编辑 .env 填入你的 API Key
novelai-mcp

调试

# 使用 MCP Inspector
uvx mcp dev src/novelai_mcp/server.py

🔧 接入配置

Claude Desktop / Antigravity / Cursor

通过 PyPI(推荐):

{
  "mcpServers": {
    "novelai": {
      "command": "uvx",
      "args": ["novelai-mcp"],
      "env": {
        "NOVELAI_API_KEY": "pst-xxx"
      }
    }
  }
}

从源码:

{
  "mcpServers": {
    "novelai": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/MCP-NovelAI", "novelai-mcp"],
      "env": {
        "NOVELAI_API_KEY": "pst-xxx"
      }
    }
  }
}

LobeChat / Dify

启动 HTTP 模式后,在客户端配置:

  • URL: http://localhost:3000/mcp
  • 传输: Streamable HTTP

🌍 环境变量

变量 必需 说明
NOVELAI_API_KEY NovelAI API Key
NOVELAI_SAVE_DIR 图片自动保存目录
HTTPS_PROXY HTTPS 代理地址

📄 许可证

MIT

README mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About Novelai

How do I install Novelai?

Run npx mcp-novelai, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Novelai safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Novelai still maintained?

The last commit was 6 months ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.