Skip to main content
Glama

🌉 Forge Neo MCP

Forge Neo MCP Python Version License

面向 Stable Diffusion WebUI Forge - Neo 的 MCP 服务器 · 让任何支持 MCP 的 AI 智能体在你的自有 GPU 上生成图像

向 Claude——或任何支持 MCP 的智能体——要一张图,它就会在你的本地 Forge Neo 上生成。它会读取当前加载的 checkpoint,推算出该模型期望的采样参数和提示词风格,写出提示词,然后把文件交给你。

除非你想,否则你完全不必指定步骤、CFG 或采样器。这些都来自你自己的配置:你实例的设置、你过去的生成记录、你 checkpoint 的元数据。凡是无法确定的地方,它会询问而不是猜测。

[!IMPORTANT] Forge Neo 必须以 --api 运行。不会向你的 Forge 目录安装任何东西——没有扩展,没有自定义节点。这座桥只与 Forge 已经暴露的 REST API 通信。


📋 目录


Related MCP server: invokeai-mcp

✅ 环境要求

Forge Neo

以 --api 运行

Python

3.10 或更高版本,安装在运行智能体的机器上

MCP 客户端

Claude Code、Claude Desktop、Cursor 或任何支持 MCP 的客户端

仅当 Forge 运行在另一台机器上时,才需要:能通过网络访问它,以及一个文件共享(如果你希望以文件路径而非 base64 形式获取结果)。


📦 安装

1 · 在 Forge Neo 中开启 API

编辑你的 webui-user.bat(Windows)或 webui-user.sh(Linux),添加 --api:

set COMMANDLINE_ARGS=--api

保留你已有的所有参数——只需追加 --api。重启 Forge。

验证是否成功: 打开 http://127.0.0.1:7860/docs。如果看到 /sdapi/v1/... 端点列表,说明 API 已开启。

2 · 安装桥接器

pip install git+https://github.com/eduardoabreu81/forgeneo-mcp

3 · 向你的智能体注册

Claude Code

claude mcp add forgeneo -e FORGE_URL=http://127.0.0.1:7860 -- forgeneo-mcp

Claude Desktop、Cursor 或任何带有 mcp.json 的客户端

{
  "mcpServers": {
    "forgeneo": {
      "command": "forgeneo-mcp",
      "env": { "FORGE_URL": "http://127.0.0.1:7860" }
    }
  }
}

重启你的客户端——MCP 服务器在启动时加载,因此工具会在新会话中出现。


⚙️ 配置

除 FORGE_URL 外一切都是可选的,而即使 FORGE_URL,也仅在 Forge 不在 127.0.0.1:7860 时才需要设置。

变量

作用

默认值

FORGE_URL

Forge 所在位置

http://127.0.0.1:7860

FORGE_AUTH

user:password,如果你以 --api-auth 启动 Forge

无

FORGE_PATH_MAP

将 Forge 的路径转换为你的机器可访问的路径

无

FORGE_OUTPUT_DIR

你的输出文件夹,如果无法自动找到

自动

FORGE_TIMEOUT

等待请求的秒数

600

FORGE_HISTORY_LIMIT

学习你的设置时读取的最近图像数量

600

FORGE_CIVITAI_LOOKUP

设为 1 允许通过哈希在线识别 checkpoint

关闭

FORGENEO_CACHE_DIR

你确认过的答案被记住的位置

~/.forgeneo-mcp

全部在同一台机器上

无需其他操作——默认配置即可覆盖。

Forge 在另一台机器上

以 --listen --api 启动 Forge,然后将桥接器指向它并映射其路径:

claude mcp add forgeneo \
  -e FORGE_URL=http://gpu-box:7860 \
  -e FORGE_PATH_MAP='D:/forge-neo=//gpu-box/share/forge-neo' \
  -- forgeneo-mcp

FORGE_PATH_MAP 的读取方式为 Forge 的称呼 = 你的称呼。Forge 报告的路径形如 D:\forge-neo\output\...;如果你以 \\gpu-box\share\forge-neo\output\... 访问同一文件夹,该映射就能让桥接器把文件路径交给你,而不是几兆字节的 base64。

没有它一切也照常工作——只是你会收到 base64。

[!NOTE] --listen 会将 API 无密码地暴露到你的网络。如果这对你所在的环境有影响,请为 Forge 添加 --api-auth user:password,并将 FORGE_AUTH 设置为匹配值。


🚀 首次运行

打开一个新会话,让智能体检查连接。它会调用 capabilities 并报告发现:

reachable    true
counts       checkpoints · loras · samplers · schedulers · modules
filesystem   file paths        (or: base64 — no readable output dir)
history      how many past generations it could read

有三件事值得留意:

  • filesystem: base64 — FORGE_PATH_MAP 缺失或错误。不是致命问题,但结果会让你的对话变得臃肿。

  • history: 0 — 它无法从你过去的工作中学习。通常是输出文件夹不可访问,或 Forge 未保存元数据(参见故障排查)。

  • loras: 0 但已安装 LoRA — Forge 自身的 LoRA 列表为空;请在界面中刷新。


💬 使用方法

直接提出要求即可。其余由智能体处理。

"为一篇关于冬季徒步的文章生成封面图"

它会检查当前加载的模型,判断该模型偏好散文式还是标签式提示词,据此写出提示词并生成。

"同样的内容,但用我做缩略图时的风格"

它会搜索你的 LoRA,找到你指的那个,提取其触发词和你惯用的权重,并写入提示词——可见地写入,这样你能读到发送了什么。

"切换到我的肖像模型"

它会加载该 checkpoint。如果它属于不同的架构,匹配的 VAE 和文本编码器会一并加载。

其他值得直接询问的事项:

  • "当前加载了什么模型,我应该如何给它写提示词?" — 用通俗语言描述模型档案

  • "我的哪些 LoRA 与这个 checkpoint 兼容?" — 过滤出兼容的

  • "我的 flux 配置完整吗?" — 检查 VAE 和文本编码器

  • "停止" — 中断正在进行的生成


🛠️ 工具

你的智能体会自行选择使用这些工具;这里列出是为了让你知道它能做什么。

工具

用途

capabilities

此实例提供什么,以及桥接器能读取到什么

model_profile

已加载的 checkpoint:参数、提示词风格、模块健康状况

prompt_dialect

该模型期望的提示词方式,及其质量标签

loras

按名称、标签、触发词或描述搜索你的 LoRA

lora_info

关于单个 LoRA 的一切信息,附带现成的提示词片段

models

列出、加载或刷新 checkpoint

module_check

已加载的 VAE 和文本编码器是否适合该架构

module_download

缺失模块的来源——仅在你批准后才下载

generate

根据书面提示词生成,txt2img 或 img2img

progress

检查、中断或跳过正在运行的作业


🔧 故障排查

提示无法连接到 Forge 确认 Forge 以 --api 运行,且 http://127.0.0.1:7860/docs 列出了 /sdapi/v1/ 端点。如果 Forge 在另一台机器上,它还需要 --listen,并且可能有防火墙阻挡。

结果以 base64 形式返回,淹没了对话 FORGE_PATH_MAP 缺失或不匹配。将 Forge 报告的路径——可在任何一次生成的信息中看到——与你访问同一文件夹所用的路径进行对比。

它不知道我惯用的设置 它从你过去的图像中学习,这需要 Forge 保存生成参数。在 设置 → 保存图像 中,保持 "将生成参数文本信息以 chunks 形式保存到 png 文件中" 为启用状态,或开启 .txt 伴生文件。两者都没有时,你的输出就不携带参数,它会回退到架构默认值。

它一直问我 SDXL checkpoint 属于哪个谱系 Pony、Illustrious、Animagine 和原版 SDXL 从文件本身无法区分——相同的张量、相同的预设、不同的提示词词汇。回答一次即可;它会按文件记住,之后不再询问。

切换架构后图像看起来不对 要求做一次模块检查。Forge 会记住每个预设下最后选择的 VAE 和文本编码器,因此在另一个预设处于活动状态时加载 checkpoint,可能会留下错误的模块。检查会指出缺失了什么,以及正确的文件是否已安装。

下载因空间不足被拒绝 这是有意为之——它会在开始前检查可用空间,而不是在下载了几 GB 之后才失败。腾出一些空间,或选择更轻量的构建,如 fp8_scaled 而非 bf16。


🎯 它能为你做什么

  • 适配模型的采样参数。 优先取自你自己过去的生成记录,其次取自你实例的设置——而不是本仓库中的一张表。

  • 正确的提示词词汇。 在有用处添加质量标签,在有害处不加:给一个基于描述训练的模型添加 masterpiece, best quality 会稀释提示词,而不是改善它。

  • 你的 LoRA,可搜索。 按名称、标签、触发词或描述搜索,附带你实际使用的权重。任何内容在加入提示词之前都会展示给你。

  • 诚实的未知。 证据不足时它会明说并询问。绝不默默猜测。

  • 模块健康检查。 能注意到预设是否挂载了错误的 VAE 或文本编码器,并为缺失的模块指出官方下载地址。

每个答案的推导方式都记录在源码中,紧挨着推导它的代码。


🗺️ 路线图

  • 视频(Wan) — Forge 通过 4n+1 倍数的帧数生成视频并用 ffmpeg 编码,但 API 会丢弃生成的路径。从磁盘收集已经是图像返回的方式,所以这主要是管道工作。

  • EXIF 元数据 — 当 .txt 伴生文件关闭时,JPEG 和 WebP 会将参数存储在 EXIF 中;这种组合目前无法产生历史记录。

  • 身份验证 — FORGE_AUTH 已实现,但尚未针对真实的 --api-auth 实例进行验证。


📄 致谢

  • Forge Neo 作者 Haoming02 — 本桥接器所连接的 WebUI,以及模块参考所依据的 Download Models 维基

  • 在模型卡片上发布真实提示词指导的模型作者 — 方言表正是基于这些内容构建的,而非凭空猜测

  • Model Context Protocol — 协议和 Python SDK

  • CivitAI — 可选查找功能使用的公开按哈希查询端点


📜 许可证

MIT — 参见 LICENSE


为 Stable Diffusion 社区用心制作 ❤️

报告 Bug • 请求功能 • 讨论 • ☕ Ko-fi

Available Tools

10 tools
capabilitiesA

Report what this Forge instance offers: routes, counts, and which metadata sources are available. Call this first in a session.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations present, the description must carry the burden of behavioral disclosure. It states the tool reports information, which implies read-only, but it does not explicitly confirm the absence of side effects, nor mention any authentication, latency, or output-size implications of being called first in a session.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler. The core function is stated first, and the usage instruction is a separate, front-loaded directive. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter tool with no output schema, the description covers what the agent receives and when to call. It stops short of describing the exact shape of the routes/counts/metadata-source data, but that level of detail is rarely needed before invoking a discovery tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the baseline is 4 per the rubric. The description adds context about what the returned report covers, which is the relevant semantic information an agent needs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb (Report) with a clear resource (Forge instance) and enumerates the exact content of the report (routes, counts, metadata sources). This distinguishes it from sibling tools like model_profile or generate, which are about particular resources rather than an instance-wide overview.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly instructs to call this tool first in a session, giving an unambiguous trigger condition. Since no sibling serves an overview/discovery role, there is no alternative to contrast, and the instruction is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

generateA

Generate an image from an already-written prompt.

The prompt is sent verbatim: include any <lora:name:weight> yourself. With use_profile_defaults on, missing sampling parameters are filled from what the loaded model actually used before, so leave them unset unless you mean to override. That includes shift (Forge's distilled_cfg_scale) and the dimensions: leaving them at 0 takes the architecture's own values instead of a generic default. Returns file paths when the output folder is readable.

Pass init_image (a local file path) to run img2img instead, where denoising_strength controls how far the result may drift from it: around 0.3 keeps the composition, 0.75 reinterprets it freely. Edit-style and video models expect values close to 1.0.

ParametersJSON Schema
NameRequiredDescriptionDefault
seedNo
shiftNo
stepsNo
widthNo
heightNo
promptYes
cfg_scaleNo
schedulerNo
batch_sizeNo
init_imageNo
sampler_nameNo
negative_promptNo
denoising_strengthNo
use_profile_defaultsNo

TDQS

A5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states that the prompt is sent verbatim, requires manual LoRA syntax, explains that missing sampling parameters are filled from the model's actual history under use_profile_defaults, clarifies that shift and dimensions default to architecture-specific values when left unset, and discloses that return values are file paths only when the output folder is readable. It also details denoising_strength effects and the near-1.0 expectation for edit/video models. This is thorough and goes far beyond a bare statement of purpose.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three paragraphs, each with a distinct focus: purpose, prompt/profile defaults, and img2img specifics. Every sentence adds meaningful information. The core purpose is stated first, and the most critical caveat (verbatim prompt, LoRA) comes immediately after. There is no fluff or redundant phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 14-parameter tool with no output schema, this description covers the essential usage nuances: the verbatim prompt behavior, profile default handling, dimension/shift semantics, img2img initiation, and denoising strength guidance. It also notes the conditional return format. What is omitted (error cases, exact output object structure) is minor and not required for correct invocation. Given the tool's complexity, the description is impressively complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain the parameters. It does so selectively but effectively: it explains shift as Forge's distilled_cfg_scale, dimensions default to the architecture's own values, init_image switches to img2img, denoising_strength controls drift with concrete ranges, and use_profile_defaults influences whether other parameters are ignored. These are the non-obvious ones; standard parameters like steps, cfg_scale, and negative_prompt are left to the agent's prior knowledge, which is reasonable given their commonality.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: 'Generate an image from an already-written prompt.' This clearly distinguishes it from all sibling tools (profiles, progress, loras, models, etc.), which are about model management and introspection, not generation. No ambiguity about what the tool does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

While it doesn't explicitly name alternative tools, the context makes the intended use unambiguous: it is the image-generation tool. It does provide clear guidance on when to use img2img (pass init_image) versus text-to-image, and explains the behavior of use_profile_defaults to avoid overriding model-specific settings. This is sufficient routing for an agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

lora_infoA

Full detail for one LoRA, including description, tags, past usage and a ready-to-paste prompt fragment with its trigger words.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYes

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the burden of signaling behavior. It frames the tool as informational, which reasonably implies a read-only operation, and it lists concrete output facets such as description, tags, past usage, and a trigger-word prompt fragment. It stops short of explicitly stating 'does not modify anything,' but the risk of misinterpretation is low.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One tight sentence with the core purpose front-loaded and the output components listed afterward. There is no filler, redundancy, or unnecessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter informational tool, the description conveys the return value and general scope, but it lacks parameter-format guidance and any routing cues relative to siblings. Since there is no output schema and no annotations, more explicit context about what to pass and when to use this tool would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has only the 'name' parameter with 0% description coverage, and the tool description does not explain what format 'name' should take (display name, key, path, etc.). The phrase 'for one LoRA' weakly implies the parameter identifies a LoRA, but that is not enough to confidently construct a valid argument without further inference.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the operation as retrieving full detail for a single LoRA and enumerates the specific contents returned. It also differentiates from siblings like loras, which likely provide a list rather than deep per-item detail.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The singular phrasing 'one LoRA' implies this is for focused lookup, and sibling tools like loras are the natural list counterpart, but no explicit when-to-use or when-not-to-use guidance is given. The agent must infer the routing from context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

lorasA

Search available LoRAs by name, title, tags, trigger words or description.

Only call this when the request actually calls for one (a named style, character, or concept) — most generations need no LoRA at all. kind can be "content" or "accelerator"; accelerators change the sampling regime rather than the image, so adopting one means adjusting steps and CFG together.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNo
limitNo
queryNo
verboseNo
base_modelNo

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It discloses the behavior of accelerators vs. content LoRAs, noting that accelerators change the sampling regime. It does not mention whether the operation is read-only (though 'Search' implies it) or what the response format is. This leaves moderate gaps, so a 3 is fair.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences and efficiently conveys the core purpose and usage. It front-loads the action and then adds contextual guidance. It is appropriately sized, though it could benefit from a bulleted list for parameters, but as-is it's concise and clear. Score 4.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 5 parameters and no output schema. The description does not explain query, limit, verbose, or base_model, nor does it describe the response. It also assumes knowledge of what 'content' vs 'accelerator' means beyond the brief note. Overall, it leaves too much unspecified for a complete tool definition. Score 2.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It explains the 'kind' parameter in detail but ignores query, limit, verbose, and base_model entirely. This is insufficient for a 5-parameter tool, so a 2 is warranted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: 'Search available LoRAs by name, title, tags, trigger words or description.' It identifies the resource (LoRAs) and the action (search). However, it doesn't explicitly differentiate from sibling lora_info, though the search vs. info distinction is inferable. So a 4 is appropriate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance: 'Only call this when the request actually calls for one (a named style, character, or concept) — most generations need no LoRA at all.' This clearly indicates when to use and when not to, and also explains the kind parameter's role in choosing content vs. accelerator. It doesn't name alternative tools, but the guidance is decisive enough for a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

model_profileA

Describe the currently loaded checkpoint: architecture preset, whether it behaves as a turbo/distilled model, the sampling parameters that actually worked before, the expected prompt dialect, and whether its VAE and text encoder modules exist. Call before writing a prompt for an unfamiliar model.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must disclose behavioral traits. It describes what the tool reports (content list) and frames it as a read-only describe operation, but it does not explicitly state that it has no side effects, nor does it describe the return format or possible failure cases (e.g., no checkpoint loaded). The content list implies a safe read, but explicit disclosure is absent, leaving a minor gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, dense sentence that fronts the main action ('Describe the currently loaded checkpoint') and then lists specific attributes. It is concise but somewhat packed with details, which slightly reduces readability. Overall, it earns its place without wasted words, so a 4 is fitting.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no parameters and no output schema, the description must convey what the agent receives; it does so by enumerating the key components (architecture, distilled status, sampling parameters, prompt dialect, module existence). It also includes the usage timing. It lacks mention of error scenarios, but for a straightforward describe tool, the provided details are sufficient for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has zero parameters and 100% schema coverage, so there is nothing to explain—the baseline for 0 parameters is 4. The description adds no parameter information because none exist, which is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with the specific verb 'Describe' and the resource 'currently loaded checkpoint', then enumerates the exact content: architecture preset, turbo/distilled status, sampling parameters, prompt dialect, and module existence. This clearly differentiates it from siblings like models (which likely lists available models) or prompt_dialect (which covers only one aspect). The call-before-writing-prompt instruction reinforces its distinct role.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to call: 'Call before writing a prompt for an unfamiliar model.' This is a clear, actionable context. It does not explicitly list alternatives or exclusion conditions, but the tool's comprehensive nature and the directive make usage unambiguous, so a near-top score is warranted.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

modelsA

List or load checkpoints. action: "list" | "load" | "refresh".

Loading swaps the model for the whole instance, including any human using the web UI at the same time, and takes several seconds — only do it when the operator asked for that model. When the target belongs to a different architecture, its preset, VAE and text encoder are switched with it, since Forge would otherwise load it against whatever modules are selected now. The architecture is inferred from two signals and only acted on when they agree; pass preset to state it outright.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNo
limitNo
queryNo
actionNolist
presetNo

TDQS

A4.1/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description takes full responsibility for disclosing behavior. It reveals that loading swaps the model for the entire instance, affects web UI users, takes several seconds, and switches preset/VAE/text encoder under certain architecture conditions. This is unusually transparent for such a side-effectful operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with the key action enum. The longer paragraph earns its place by disclosing critical side effects and architectural behavior. No filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The load path is thoroughly described, including side effects and architecture handling. However, the list and refresh paths are under-specified, and with no output schema and no annotations, the description does not clarify what the tool returns or how limit/query affect list results. This leaves meaningful gaps for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It explains action values ('list' | 'load' | 'refresh') and the purpose of preset, but it does not clarify what name, limit, or query do, which are essential for the list action. This is partial compensation for a low-coverage schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'List or load checkpoints,' which names a specific resource and action set. It clearly identifies the tool's scope, though it does not explicitly distinguish itself from sibling tools like model_profile or loras.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use guidance for the load action: 'only do it when the operator asked for that model.' It also explains when to pass a preset. However, it gives no guidance for choosing list vs. refresh or for using any sibling tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

module_checkA

Check the VAE and text encoders loaded for an architecture against what it actually needs, and list installed files that could fill any gap.

Defaults to the active preset. Worth calling after switching architecture or when output looks wrong for no obvious reason: Forge records the last selection made under a preset, so loading a checkpoint while another preset was active can leave the wrong modules attached. Where the reference does not state a VAE, it says so instead of guessing — a wrong VAE degrades output without raising an error.

ParametersJSON Schema
NameRequiredDescriptionDefault
presetNo

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden of behavior. It discloses that it says when a VAE is not stated instead of guessing, and explains the preset behavior. It implies read-only operation by listing files and checking, which is transparent. No contradictions with annotations since none are provided.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact yet information-dense. It leads with the main purpose, then usage triggers, and finally a behavioral note. Each sentence contributes to understanding without fluff, and it is not overly long.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers what, when, why, and what it returns (list of installed files). While no output schema is provided, listing files is enough for an agent to understand the output. The description also hints at edge cases (missing VAE) and the reasoning behind the need for this tool. It is complete for a simple one-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and there is only one parameter, preset. The description explains that it defaults to the active preset, which gives meaningful context for the parameter beyond the schema's default value. This compensates for the lack of schema documentation, though it does not specify format or types beyond the default.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the function: checking VAE and text encoders against architecture needs and listing installed files to fill gaps. It uses a specific verb (check) and resource (VAE and text encoders), and distinguishes itself from siblings like model_profile and module_download by focusing on module alignment, not profiling or downloading.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides explicit scenarios for use: after switching architecture or when output looks wrong without obvious cause. It explains the underlying reason (preset selection recording) and gives a clear rationale for calling it. However, it does not explicitly mention when not to use it or name alternative tools, so it falls short of the highest bar.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

module_downloadA

Find, and optionally fetch, a VAE or text encoder the architecture needs.

Called with no arguments it lists what the active preset is missing and where each file comes from, downloading nothing. Downloading requires both a label naming one entry and confirm=True, and the operator has to agree first: these are multi-gigabyte files written into their models folder, often across a network share.

Links come from the Forge Classic wiki's Download Models page. Where several builds exist — bf16, fp8_scaled, gguf — they are all offered, because which to take depends on the operator's hardware, not on a default worth hiding.

ParametersJSON Schema
NameRequiredDescriptionDefault
labelNo
presetNo
confirmNo

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden, and it does so thoroughly: it discloses that no-args downloads nothing, that download writes multi-gigabyte files into the models folder often over a network share, that confirmation is mandatory, and that all model build variants are offered rather than a hidden default. This is strong side-effect and safety transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, then adds exactly the operational details needed to avoid unsafe calls. Each sentence carries information; there is no filler or restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The no-annotation, no-output-schema context makes the description the only source of behavior, and it covers invocation modes, side effects, file source, and build choices. However, the `preset` parameter is left ambiguous, and there is no indication of the return/listing format beyond 'lists what is missing.'

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the prose must explain the parameters. It explains `label` and `confirm` well, but never describes the `preset` parameter—it only mentions 'the active preset'—so one of three parameters remains semantically unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific action — find and optionally fetch — a concrete resource (VAE/text encoder) and a scoping context (what the architecture needs). The no-arguments behavior makes the tool's role unmistakable and sets it apart from siblings like module_check.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly distinguishes the safe no-argument listing mode from the mutating download mode and states the exact precondition (`label` plus `confirm=True`). It does not name an alternative sibling for other cases, so it misses the 'when-not/alternatives' bar for a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

progressB

Check or stop the current generation. action: "status" | "interrupt" | "skip".

ParametersJSON Schema
NameRequiredDescriptionDefault
actionNostatus

TDQS

B3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description bears the full burden of behavioral disclosure. It lists actions but does not explain the consequences of each—for example, what 'interrupt' or 'skip' actually do, whether they are reversible, or if they have side effects. The tool appears to be a mutation-capable (stop) operation, yet that is not clearly characterized.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very short and front-loaded: it states the action and immediately lists the values. No filler. It could be slightly more structured (e.g., separate lines for each action) but it remains efficient and readable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no output schema and no annotations, the description is inadequate. It does not explain what each action returns or does, lacks details about error handling, or expected output. An agent may not know whether 'status' returns a string, a JSON object, or whether 'interrupt' requires any confirmation. This is a notable gap for such a simple tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema gives only a name and default for the 'action' parameter. The description compensates by enumerating the allowed values ('status' | 'interrupt' | 'skip'), which adds meaning beyond the schema. This fits the low schema coverage, so the description carries the semantic load effectively.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear purpose: checking or stopping the current generation, and enumerates three specific actions. This is distinguishable from siblings like 'generate' or 'models' because it focuses on the lifecycle of generation. However, it does not explicitly name a sibling it is not, so it loses one point.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It implies it relates to an ongoing generation but does not specify conditions, such as 'use after generate' or 'use to retrieve status.' No exclusions or alternative references are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

prompt_dialectA

How the loaded checkpoint expects to be prompted, with its quality tags.

Returns the dialect (pony / illustrious / animagine / anima / sd15 / sdxl_base / natural), the quality prefix and negative baseline it needs, and where that conclusion came from. Quality tags are not decoration: an Illustrious prompt without them degrades, and a Flux prompt with them degrades too.

When the dialect comes back unknown — xl covers Pony, Illustrious and stock SDXL, which share tensors and preset — ask the operator, then call again with confirm set to their answer. It is cached by file hash and never asked again.

ParametersJSON Schema
NameRequiredDescriptionDefault
confirmNo

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral disclosure burden and does so thoroughly. It reveals caching by file hash, the ambiguous xl case covering multiple dialects, the need for operator confirmation, and the warning that quality tags meaningfully affect output. No hidden side effects or surprising behaviors are apparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with purpose, then organized into return contents, operational warnings, ambiguity handling, and caching behavior. Every sentence contributes meaningful information without filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description fully covers required return semantics: possible dialects, quality prefix, negative baseline, and provenance. It also explains the ambiguous result path, the confirm parameter, and the caching behavior, making the tool safely and correctly callable by an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema only exposes an optional string confirm with no description, and schema coverage is 0%. The description compensates by explaining that confirm should be set to the operator's answer when the dialect comes back unknown, tying the parameter to the ambiguity workflow. It does not explicitly enumerate valid confirm values, but the dialect list in the description implies the expected value space.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns the prompting dialect of the loaded checkpoint, enumerates all dialect values, and names the return components: quality prefix, negative baseline, and source. It is distinct from sibling tools like model_profile because it focuses specifically on prompt expectations and quality tags.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context: use the tool to learn how the loaded checkpoint must be prompted, especially regarding quality tags. It also covers the conditional workflow when the dialect is unknown, telling the agent to ask the operator and call again with confirm. It does not explicitly name sibling alternatives or when not to use it, but the context is strong.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 10 tool updatesv0.1.0
    • First observedcapabilities
    • First observedgenerate
    • First observedlora_info
    • First observedloras
    • First observedmodel_profile
    • First observedmodels
    • First observedmodule_check
    • First observedmodule_download
    • First observedprogress
    • First observedprompt_dialect

TDQS

A3.9/5.0

Scored across 10 tools

Disambiguation4/5

Tools are mostly distinct by resource and action—LoRA search vs detail, module check vs download, generation vs progress—but model_profile and prompt_dialect overlap on prompt dialect, and models/model_profile could be confused at a glance. The detailed descriptions mitigate most ambiguity.

Naming Consistency4/5

Names consistently use lowercase snake_case and a readable resource-oriented style (loras, lora_info, models, module_check). Not all are verb_noun—generate is a bare verb and progress is ambiguous—so it is not a perfect 5, but there is no chaotic convention mixing.

Tool Count5/5

Ten tools is well within the ideal 3–15 range and matches the server's scope: discovery, model/prompt/LoRA/module setup, generation, and progress control. No tool feels redundant or superfluous.

Completeness4/5

The surface covers the full generation workflow—model loading, profiling, prompt dialect, LoRA lookup, module diagnostics/download, generate, and progress monitoring. Minor gaps exist (no LoRA download/management, no explicit output/history listing), but they are not required for the core purpose.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables image generation using Google Gemini models like Gemini 2.0 Flash and Imagen 3.0 with support for custom aspect ratios and negative prompts. It also allows users to list and manage generated images stored in local directories.
    2
    26 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI coding agents to control a local InvokeAI creative engine, supporting text-to-image, image-to-image, masked inpaint, upscaling, and full queue, model, gallery, board, and workflow management.
    13
    1
    MIT