---
title: AI System Parameter – AI Assistant, Diagram AI, and BizTalk AI Feature Flags
description: "The AI system parameter in Nodinite is a JSON Config object with three feature flags (EnableMcpChat for the AI Assistant chat, EnableDiagramAiAssistance for AI in Diagram Assistance, EnableAiForBizTalk for BizTalk AI workflows, all off by default) and the AI Assistant's language-model settings. Edit it on the AI Settings page."
---

# AI - System Parameter

<sup><span class="nodinite-new-badge">New 7.4.0</span></sup>

The **AI** [System Parameter][System Parameters] is a JSON value that holds the feature flags for the in-product AI surfaces of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Web Client][] (the [AI Assistant][] chat, the AI part of [Diagram Assistance][], and the BizTalk-specific AI workflows) and the AI Assistant's language-model settings. Edit it on the **AI Settings** page. Start with [Set up AI Assistant and MCP Endpoint][] for the full AI setup.

<h2 id="at-a-glance"><i class="fal fa-table" aria-hidden="true"></i> At a Glance</h2>

| Property | Value |
| --- | --- |
| Key | `AI` |
| Data type | json |
| Default | Every flag `false`, with the model settings of a local Ollama: `{"Config":{"Flags":{"EnableMcpChat":false,"EnableDiagramAiAssistance":false,"EnableAiForBizTalk":false},"Provider":"Ollama","Model":"llama3.2","Endpoint":"http://localhost:11434","DeploymentName":null,"ApiKey":null,"ReasoningEffort":null,"SystemPrompt":"…","McpServerScope":null}}` (`SystemPrompt` holds the default prompt) on a new installation. An upgraded installation can hold only `Config.Flags` until the [one-time import](#upgrading) of its model settings |
| Read by | [Web Client][] and [Web API][]: the Web API's AI gateway reads the model settings and decrypts the API key for each model call; `EnableAiForBizTalk` also gates the BizTalk tools of the [MCP Endpoint][] |
| Takes effect | Within about 15 seconds (Web API cache); reload the page; no restart needed |
| Status | ✅ Active |
| Since | Nodinite 7.4.0 |

![Administration, System Parameters, AI: the raw System Parameter page with the notice This parameter has a typed page: AI Settings, a stored API key shown as ********, the description of Config.Flags and the language-model fields, and the value as an indented Config object (7.12)][1]  
*The raw **AI** System Parameter page. A notice points to **AI Settings**, where you edit the value; a stored API key shows as `********`.*  

<h2 id="how-it-works"><i class="fal fa-gears" aria-hidden="true"></i> How It Works</h2>

Each flag controls one AI surface. A flag that is missing from the JSON counts as `false`. The AI surfaces also need a language model. Click the **AI** row on the [System Parameters][] page to open **AI Settings**: its **Features** card sets these flags with checkboxes (**AI Chat**, **C4 diagram assistance**, **BizTalk AI**), and its **Language model** card holds **Provider**, **Model**, **Endpoint**, **Deployment name**, **API key**, **Reasoning effort**, **System prompt**, and **MCP server scope**. The API key is encrypted and never shown. See [Set up AI Assistant and MCP Endpoint][].

The raw page still opens and shows the fields that are stored, so an upgraded installation shows only `{"Config":{"Flags":{…}}}` until the [import](#upgrading) has run; **AI Settings** shows the defaults (Ollama, `llama3.2`, `http://localhost:11434`, the default system prompt) for every field that isn't stored. Raw edits are validated on save, and a new API key is encrypted before it is stored: leave `********` to keep the stored key, type a new key to replace it, or remove the field to clear it.

<h3 id="which-flag-controls-what">Which Flag Controls What</h3>

| Capability | Flag | Also required |
| --- | --- | --- |
| [AI Assistant][] chat in the [Web Client][], for Administrators | `EnableMcpChat` | AI provider configuration; Administrators [Role][] |
| **AI Diagram Assistant** on [Diagram Set][] pages, and the **AI Assistance** tab in the C4 designer, in [Diagram Assistance][] for [C4 Diagrams][] | `EnableDiagramAiAssistance` | `EnableMcpChat` and AI provider configuration; Administrators [Role][] for the AI Diagram Assistant; Architecture Diagrams available in the environment |
| BizTalk MCP tools and BizTalk C4 generation ([BizTalk and MCP Endpoint][]) | `EnableAiForBizTalk` | Administrator [Role][]; BizTalk data in the environment |
| Built-in Suggestions, Coverage, and Review Impacts in [Diagram Assistance][] | None | Always available, also without AI |

<h3 id="what-it-does-not-control">What It Does Not Control</h3>

The AI System Parameter does not register external MCP clients such as VS Code, Claude Desktop, or Cline, and it does not choose their AI model. External clients always need their own setup in [MCP Endpoint][] (and [MCP Endpoint External Access][] for access from outside the server); `EnableMcpChat` and `EnableDiagramAiAssistance` are not needed for them. BizTalk questions from an external client need both that setup and `EnableAiForBizTalk`.

<h2 id="value-format"><i class="fal fa-code" aria-hidden="true"></i> Value Format</h2>

The value is one `Config` object. Edit it on the **AI Settings** page; the raw page is for checking it.

| Property | Type | Default | Meaning |
| --- | --- | --- | --- |
| `Flags.EnableMcpChat` | boolean | `false` | `true` shows the [AI Assistant][] chat in the [Web Client][], for Administrators. |
| `Flags.EnableDiagramAiAssistance` | boolean | `false` | With `EnableMcpChat`, `true` shows the **AI Diagram Assistant** on [Diagram Set][] pages, for Administrators, and the **AI Assistance** tab in the C4 designer. See [Diagram Assistance][] for [C4 Diagrams][]. |
| `Flags.EnableAiForBizTalk` | boolean | `false` | `true` enables BizTalk MCP capability discovery, BizTalk environment and application tools, and the administrator BizTalk C4 generation ([BizTalk and MCP Endpoint][]). |
| `Provider` | string | `Ollama` | `Ollama`, `OpenAI`, `AzureOpenAI`, or `OpenAICompatible` |
| `Model` | string | `llama3.2` | An Ollama tag, an OpenAI model id, or the model behind an Azure deployment |
| `Endpoint` | string | `http://localhost:11434` | The provider's base URL, an absolute http or https URL; required for Ollama, Azure OpenAI, and OpenAI-compatible |
| `DeploymentName` | string | `null` | Azure OpenAI only, and required there |
| `ApiKey` | string | `null` | Encrypted on save; shows as `********` on the raw page |
| `ReasoningEffort` | string | `null` | `null` (**Not sent**), or `None`, `Low`, `Medium`, `High`, `ExtraHigh` for reasoning models |
| `SystemPrompt` | string | The default prompt | The instructions the [AI Assistant][] always follows; **Reset to default** on AI Settings restores it |
| `McpServerScope` | string | `null` | OAuth environments only: the scope for the [AI Assistant][]'s calls to the [MCP Endpoint][] |

Keys this version doesn't know are kept. A value in the old flat shape (`{"EnableMcpChat":true,…}` at the top level) is still read, and a deployment migrates it to the `Config` object.

<h3 id="upgrading">Upgrading From an Earlier Version</h3>

<sup><span class="nodinite-new-badge">New 7.13</span></sup>

Versions before the **AI Settings** page kept the [AI Assistant][]'s model in the `Mcp` section of the [Web Client][]'s `appsettings.json`. The upgrade moves the old flags under `Config.Flags`, but it has no model settings to move. The first time an Administrator opens the AI Assistant after the upgrade, the Web Client imports the `Mcp` section once:

* It runs only when both `Mcp:Provider` and `Mcp:Model` are set, and only while the stored value has no `Provider`.
* It saves `Provider` (`ollama`, `openai`, or `azureopenai`; any other value is skipped with a warning in the Web Client log), `Model`, `Endpoint` (not for OpenAI), `DeploymentName` (Azure OpenAI; the model name when it is missing), `ApiKey` (encrypted on save), `SystemPrompt` (only when set), and `McpServerScope`. The flags and any other stored key are kept.
* A key that is still `PROTECTED_…` in `appsettings.json` is left out: type it on **AI Settings**.
* The Web Client log says *Imported the assistant's model settings from the legacy Mcp appsettings section into the AI system parameter*.

After the import, or after the first save on **AI Settings**, the Web Client no longer reads the `Mcp` section, so you can remove it from `appsettings.json`. That includes `Mcp:McpServerScope`: the assistant takes the scope from **MCP server scope** on **AI Settings**.

Example that turns on the chat and the diagram AI, but not the BizTalk AI workflows (the model settings are left out):

```json
{"Config":{"Flags":{"EnableMcpChat":true,"EnableDiagramAiAssistance":true,"EnableAiForBizTalk":false}}}
```

<h2 id="faq"><i class="fal fa-question" aria-hidden="true"></i> Frequently Asked Questions</h2>

<h3 id="chat-not-visible">I enabled EnableMcpChat but the chat widget is not visible</h3>

The AI Assistant is for members of the Administrators [Role][] only. Check that an AI provider is configured on the **AI Settings** page, wait about 15 seconds after saving, and reload the browser page (`Ctrl+F5`): the round AI Assistant button shows at the bottom right of every page.

<h3 id="diagram-ai-not-visible">I enabled EnableDiagramAiAssistance but AI Assistance is not visible</h3>

The flag needs `EnableMcpChat` too, does not turn on Architecture Diagrams by itself, and uses the same AI provider as the chat. Open a Diagram Set as an Administrator: **Assistance and Coverage** shows the **AI Diagram Assistant**. See [Diagram Assistance][]; the flag adds AI nowhere else.

<h3 id="biztalk-not-available">I enabled EnableAiForBizTalk but the BizTalk tools are still unavailable</h3>

The BizTalk workflows are for administrators, need active BizTalk data in the environment, and, from an external client, the [MCP Endpoint][] setup. See [BizTalk and MCP Endpoint][].

<h3 id="upgrade-calls-ollama">After an upgrade the AI Assistant calls a local Ollama</h3>

The stored value has no model settings yet, so **AI Settings** shows the defaults. The [one-time import](#upgrading) needs `Mcp:Provider` and `Mcp:Model` in the Web Client's `appsettings.json`, and runs when an Administrator opens the AI Assistant. When the `Mcp` section has no model, set **Provider**, **Model**, and the other fields on **AI Settings** and save.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-list-check" aria-hidden="true"></i> [Set up AI Assistant and MCP Endpoint][]  
* <i class="fal fa-robot" aria-hidden="true"></i> [AI Assistant][]  
* <i class="fal fa-plug" aria-hidden="true"></i> [MCP Endpoint][]  
* <i class="fal fa-sliders" aria-hidden="true"></i> [Manage System Parameters][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-brain" aria-hidden="true"></i> [AI Overview][]  
* <i class="fal fa-diagram-project" aria-hidden="true"></i> [Diagram Assistance][]  
* <i class="fal fa-server" aria-hidden="true"></i> [BizTalk and MCP Endpoint][]  
* <i class="fal fa-globe" aria-hidden="true"></i> [MCP Endpoint External Access][]  
* <i class="fal fa-stethoscope" aria-hidden="true"></i> [AI Diagnostics][]  
* <i class="fal fa-globe" aria-hidden="true"></i> [Web Client][]  
* <i class="fal fa-key" aria-hidden="true"></i> [System Parameters][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/ConfigurationDatabase/SystemParameters/AI.png

[AI Assistant]:https://docs.nodinite.com/ai/ai-assistant/
[AI Diagnostics]:https://docs.nodinite.com/ai/ai-diagnostics/
[AI Overview]:https://docs.nodinite.com/ai/overview/
[BizTalk and MCP Endpoint]:https://docs.nodinite.com/ai/biztalk-and-mcp-endpoint/
[C4 Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[Diagram Assistance]:https://docs.nodinite.com/repository-model/c4-diagrams/features/diagram-assistance/
[Diagram Set]:https://docs.nodinite.com/repository-model/c4-diagrams/features/diagram-set-fundamentals/
[Manage System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/manage-system-parameters/
[MCP Endpoint]:https://docs.nodinite.com/ai/mcp-endpoint/
[MCP Endpoint External Access]:https://docs.nodinite.com/ai/mcp-endpoint-external-access/
[Role]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Set up AI Assistant and MCP Endpoint]:https://docs.nodinite.com/ai/getting-started/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/core-services/web-client/overview/