Set up AI Assistant, Diagram Assistance, and MCP Endpoint in Nodinite
Since Nodinite 7.4.0, the AI Assistant, optional AI guidance in Diagram Assistance, BizTalk-specific AI workflows, and the MCP Endpoint are available to customers. This guide separates the setup paths, so you can see which steps apply to the chat in the Web Client, which apply to Architecture Diagrams and C4 Diagrams, which apply to BizTalk, and which apply to an external MCP client such as VS Code.
An external MCP client reaches Nodinite in one of two ways: through the MCP Endpoint hosted in IIS, installed with the Core Services, or through the Nodinite.Core.McpServer NuGet package, which the client starts on the user's own machine. Track 3 helps you choose.
Understanding the Setup Tracks
Web Client chat"] Start --> Diagram["fa:fa-diagram-project Diagram Assistance
Architecture Diagrams"] Start --> Mcp["fa:fa-plug MCP Endpoint
External MCP client"] Chat --> Settings["fa:fa-gear AI Settings
Features and Language model"] Diagram --> Settings Settings --> WebClient["fa:fa-comments Ask questions in the Web Client"] Settings --> DiagramTab["fa:fa-robot AI Assistance in Diagram Assistance"] Mcp -->|"OAuth environment"| Http["fa:fa-globe IIS endpoint
type http, /mcp"] Mcp -->|"Windows authentication"| Stdio["fa:fa-terminal NuGet package
dnx, --stdio"] Stdio --> Conn["fa:fa-database ConnectionStrings__NodiniteConfig"]
Diagram: The Web Client chat and the Diagram Assistance AI tab both depend on the features and the language model set on the AI Settings page. An external MCP client uses the IIS-hosted endpoint when the environment uses OAuth, or the NuGet package over stdio when it uses Windows authentication. BizTalk-specific AI workflows add EnableAiForBizTalk on top.
Important
Use the steps for the scenario you actually need. The AI Assistant and Diagram Assistance steps are done in the Nodinite Web Client. The MCP Endpoint steps are done in
.vscode/mcp.json, or the matching configuration file of your editor or client.
What You Need Before You Start
| Scenario | What you need | Where to configure |
|---|---|---|
| AI Assistant in the Web Client | Administrator Role, the AI Chat feature, and a language model: Provider, Model, Endpoint, API key (an AI service address, not a Nodinite Endpoint) | AI Settings (AI System Parameter) and AI Assistant |
| AI guidance in Diagram Assistance | Architecture Diagrams, the C4 diagram assistance feature, and the same language model | AI Settings and Diagram Assistance |
| VS Code through the IIS-hosted MCP Endpoint | An environment in OAuth mode, for example with Microsoft Entra ID, and the endpoint's URL | MCP Endpoint External Access |
| VS Code through the NuGet package | The .NET 10 SDK (for dnx), access to nuget.org or a mirror, a plain-text connection string to the Configuration Database (ConnectionStrings__NodiniteConfig), and SQL rights for the user's account |
.vscode/mcp.json (Track 3) |
| BizTalk-specific AI workflows | The BizTalk AI feature (EnableAiForBizTalk), and the Administrator Role |
AI Settings, and BizTalk and MCP Endpoint |
The MCP Endpoint track is separate from the in-product AI features. Use it whenever someone works from an external MCP client.
Track 1 - Set up the AI Assistant in the Web Client

Animated walkthrough of Steps 1 and 2: from a new installation's value (every feature off) to AI Chat on with Azure OpenAI, saved, and the AI Assistant button on the Dashboard. The sample values are Contoso's.
Step 1: Open AI Settings and turn on AI Chat
Open Administration → Settings → System Parameters, and click the AI row (or open the AI System Parameter for editing). This opens the AI Settings page. In the Features card, tick AI Chat, which shows the AI Assistant to administrators in the Web Client.

The AI Settings page. The features and the language model are stored in the AI System Parameter; the API key is encrypted and never shown.
The three features match the flags in the AI System Parameter:
| Feature | Flag | Turns on |
|---|---|---|
| AI Chat | EnableMcpChat |
The AI Assistant in the Web Client |
| C4 diagram assistance | EnableDiagramAiAssistance |
The AI Diagram Assistant on Diagram Set pages, for Administrators, and the AI Assistance tab in the C4 Designer; both open the AI Assistant; needs AI Chat |
| BizTalk AI | EnableAiForBizTalk |
The BizTalk tools in the assistant and the Web API |
Step 2: Configure the language model
In the Language model card, fill in the fields, and click Save. The same fields are in the AI Assistant's own settings (the button in its header), so an administrator can change them without leaving the chat.
| Setting | What to enter | Example |
|---|---|---|
| Provider | The AI service Nodinite uses: Ollama, OpenAI, Azure OpenAI, or OpenAI-compatible endpoint (for example GitHub Models) | Azure OpenAI |
| Model | An Ollama tag, an OpenAI model id, or the model behind an Azure deployment | gpt-5.4-mini, phi3:mini |
| Endpoint | The provider's base URL | https://contoso.openai.azure.com/, http://localhost:11434 |
| Deployment name | Azure OpenAI only: the deployment to call | gpt-5.4-mini |
| API key | The secret the provider needs. Leave it empty to keep the stored key; configured shows that one is stored | Your provider API key |
| Reasoning effort | How hard a reasoning model thinks. Models without reasoning support accept only Not sent | Not sent |
| System prompt | The instructions the assistant always follows; Reset to default restores the original | The default prompt |
| MCP server scope | OAuth environments only: the scope for the assistant's calls to the MCP Endpoint. Empty forwards the signed-in user's token | Empty |

The settings in the AI Assistant panel, with Back and Save at the top.

Scrolled down: the System prompt with Reset to default, and the MCP server scope.
Step 3: Validate the integrated AI Assistant
Click the round AI Assistant button at the bottom right of any page in the Web Client (it shows on the next page load after you save, for Administrators) and ask a simple question before you connect an external MCP client. The status line under its title shows the provider, the model, and how many tools are selected. Tools in the header chooses the tool groups; at most 128 tools can be sent per request (see Choose Your Tools).
Validation Examples
- Show me all Services of the Integration INT1337 - Order-to-Cash (without the Integration, every Service in your environment is listed)
- List integrations with gold level SLA
- Show me all Endpoints in the Finance domain
Expected Result
The AI Assistant accepts the question and returns data from the Nodinite Repository Model instead of a configuration or connection error.
Track 2 - Enable AI Assistance in Architecture Diagrams
Diagram Assistance is the set-aware guidance workspace for Architecture Diagrams and C4 Diagrams. Its Built-in Suggestions are available without AI. Turn on AI only when you also want the AI Diagram Assistant, which asks the AI Assistant with the Diagram Set as context.
Step 1: Turn on C4 diagram assistance
On the AI Settings page, tick C4 diagram assistance next to AI Chat, and click Save.
Step 2: Reuse the language model
Diagram Assistance uses the same language model as the AI Assistant. There is no separate provider setting for C4 Diagrams.
Step 3: Validate the AI Diagram Assistant
Open Architecture Diagrams, select a Diagram Set, and open Diagram Assistance. Confirm that:
- Built-in Suggestions are visible for Add from Set, Coverage, and Review Impacts
- On the Diagram Set page, Assistance and Coverage shows the AI Diagram Assistant with Ask AI What Needs Attention, What Should I Create Next?, and Which Diagrams Look Stale?. Each opens the AI Assistant with the set as context. It needs AI Chat, C4 diagram assistance, and the Administrators Role
- In the C4 Designer, the AI tab's Ask AI opens the AI Assistant with the diagram as context; tick the C4 Diagrams tools in the AI Assistant first (see Ask AI About a Diagram)
Tip
To ask the language model about a whole Diagram Set, use the AI Diagram Assistant on the Diagram Set page; to ask about one diagram, use Ask AI in the Designer.
Track 3 - Set up the MCP Endpoint in VS Code or another MCP client
Use this track whenever someone works from an external MCP client, such as VS Code, Claude Desktop, or Cline. Both ways offer the same tools; they differ in how the client reaches Nodinite, and in who is allowed to do what.
| IIS-hosted endpoint, OAuth mode | IIS-hosted endpoint, Windows mode | NuGet package (stdio) | |
|---|---|---|---|
| Works from VS Code | ✅ Yes | ❌ No: VS Code can't do Windows (Negotiate) authentication | ✅ Yes |
| Who reaches the database | The MCP Endpoint's application pool account | The MCP Endpoint's application pool account | The user's own account, or the login in the connection string |
| Who may call | Any user with a valid token for the endpoint | Only the Windows users listed in AllowedUsers |
Anyone who can start the package and has the connection string |
| What limits the tools | The OAuth scopes the user was granted | Nothing beyond AllowedUsers |
Nothing |
| BizTalk tools | See BizTalk and MCP Endpoint | ✅ For Nodinite Administrators | ❌ Not available |
Choose the IIS-hosted endpoint when users must not get database rights, when scopes must apply, or for remote users; it needs an environment in OAuth mode. Choose the NuGet package when the environment uses Windows authentication, for local or developer use by people who already have rights on the Configuration Database.
Warning
The MCP Endpoint doesn't check Nodinite Roles. In Windows mode, every user in
AllowedUserscan call every tool, write and delete tools included; the NuGet package has no authorization at all. Grant access with that in mind.
Option A: Connect to the IIS-hosted endpoint (OAuth)
Add an http entry to .vscode/mcp.json. The url must equal the endpoint's Mcp:ResourceUrl exactly: scheme, host, port, and /mcp. The port is the one entered for the MCP Server in the Portal; see MCP Endpoint in Core Services.
{
"servers": {
"nodinite": {
"type": "http",
"url": "https://nodinite.contoso.com:44005/mcp"
}
}
}
No headers, client ID, or secrets are needed. VS Code asks you to allow the sign-in, opens the browser, and then lists the tools. Enable at most 128 of them in its tool picker; see Choose Your Tools. MCP Endpoint External Access describes the Microsoft Entra ID registration, the scopes, and what you see in VS Code.
Option B: Run the NuGet package over stdio (Windows authentication)
Step 1: Check the requirements
- The .NET 10 SDK on the user's machine, which provides
dnx - Access to nuget.org, or to a mirror of it
- A SQL login for the user's Windows account on the Configuration Database: read rights, plus write rights for the Article, Snippet, Template, Document Profile, and C4 tools; the same rights the MCP Endpoint's application pool account has
Step 2: Create or edit .vscode/mcp.json
If your workspace doesn't contain .vscode/mcp.json yet, create it. If it does, merge the nodinite-mcp entry into the existing servers object instead of replacing other servers.
{
"inputs": [
{
"type": "promptString",
"id": "nodinite_config",
"description": "Connection string to the Nodinite Configuration Database",
"password": true
}
],
"servers": {
"nodinite-mcp": {
"type": "stdio",
"command": "dnx",
"args": [
"Nodinite.Core.McpServer@7.11.3",
"--yes",
"--source", "https://api.nuget.org/v3/index.json",
"--",
"--stdio"
],
"env": {
"ConnectionStrings__NodiniteConfig": "${input:nodinite_config}"
}
}
}
}
VS Code asks for the connection string the first time and keeps it out of the file, so it never ends up in your repository.
Important
Copy this sample, not the configuration on the MCP Server tab of the package's nuget.org page: that one leaves out
--stdio, so the package starts a web host instead of talking to VS Code.
Step 3: Tune the values for your environment
| Value | What to tune |
|---|---|
Nodinite.Core.McpServer@x.y.z |
The newest version on NuGet. The package has been published since Nodinite 7.5.0, and Nodinite ships monthly patches, so move to the newest version regularly |
--source |
The official feed is https://api.nuget.org/v3/index.json; change it if you use a mirror |
--stdio |
Required: without it, the package starts a web host |
| The connection string | Plain text, for example Server=SQL01;Database=Nodinite_Config;Integrated Security=true;TrustServerCertificate=true. An encrypted value (PROTECTED_…) doesn't work: the package can't decrypt it and stops at startup |
Step 4: Reload the client and validate the MCP tools
Restart or reload your MCP client so it reads the updated .vscode/mcp.json. Then ask a simple repository question, such as:
- Show me all Applications in Production
- List integrations with gold level SLA
- Show me all Endpoints in the Finance domain
BizTalk-specific addition to Track 3
The BizTalk tools also need the BizTalk AI feature on the AI Settings page (EnableAiForBizTalk), and they check that the caller is a Nodinite Administrator. The NuGet package can't identify the caller, so the BizTalk tools aren't available over stdio. See BizTalk and MCP Endpoint.
Current Delivery Model
- The AI Assistant is configured on the AI Settings page in the Nodinite Web Client, and it calls the IIS-hosted MCP Endpoint.
- Diagram Assistance adds built-in guidance to Architecture Diagrams, and the AI Diagram Assistant on Diagram Set pages when C4 diagram assistance is on.
- External MCP clients use the IIS-hosted MCP Endpoint in OAuth environments, or the
Nodinite.Core.McpServerNuGet package over stdio. The package has been on NuGet since Nodinite 7.5.0; each Nodinite version is published there separately, so check NuGet for the newest one. - BizTalk-specific AI workflows also need the BizTalk AI feature.
- The AI Assistant and Diagram Assistance were released in Nodinite 7.4.0.
Troubleshooting Checks
The AI Assistant does not appear in the Web Client
Check AI Chat on the AI Settings page first. If it's off (EnableMcpChat is false), the AI Assistant doesn't appear. It shows to members of the Administrators Role only, about 15 seconds after a change, on the next page load.
The AI Assistant opens but cannot answer questions
Recheck Provider, Model, Endpoint, Deployment name, and API key. A missing or wrong value in any of them stops the calls to the AI service. A model without reasoning support needs Reasoning effort set to Not sent.
The AI Diagram Assistant does not appear in Architecture Diagrams
Verify that C4 diagram assistance and AI Chat are on, that the language model is configured, that you are a member of the Administrators Role, and that the environment has access to Architecture Diagrams. The built-in part of Diagram Assistance still shows when AI is off.
VS Code can't connect to the IIS-hosted endpoint
In Windows mode, VS Code can't sign in to the endpoint at all: use the NuGet package (Option B), or switch the environment to OAuth. In OAuth mode, check that the url equals the endpoint's Mcp:ResourceUrl exactly; see MCP Endpoint External Access.
The NuGet package doesn't start
Verify that the .NET 10 SDK is installed, that --stdio is in the arguments, that the --source is correct, and that the connection string is plain text and points to the right Nodinite_Config database. If the package starts but the tools fail, check the SQL rights of the account in the connection string.
Repository questions work but BizTalk tools do not
Verify that BizTalk AI is on, that you are a Nodinite Administrator, and that the environment has BizTalk data. Over the NuGet package (stdio), the BizTalk tools aren't available.
The client loads but no Nodinite tools appear
Reload the client after editing .vscode/mcp.json, and check that the nodinite-mcp entry sits inside the servers object.
Next Steps
- AI Assistant
- Diagram Assistance
- MCP Endpoint
- MCP Endpoint External Access – OAuth setup for the IIS-hosted endpoint