Skip to content
Documentation
Updated 10 minutes to read
Markdown

Prerequisites for the Nodinite MCP Endpoint

Section titled “Prerequisites for the Nodinite MCP Endpoint”

Prepare these items before you install Nodinite 7.4.0 or later, or update an older environment. The MCP Endpoint is consumed by AI clients, but it is hosted and operated as one of the Nodinite Core Services: when a prerequisite is missing, the installation can fail, or the endpoint stays unreachable even though the other Core Services are healthy.

Understanding What the Endpoint Depends On

Section titled “ Understanding What the Endpoint Depends On”
graph LR Portal["fa:fa-person-to-portal Nodinite Portal
port, identity, TLS, auth"] --> Package["fa:fa-file-zipper Generated package"] Package --> Site["fa:fa-plug MCP Endpoint
IIS web site"] Firewall["fa:fa-shield-halved Firewall
inbound port"] --> Site Cert["fa:fa-certificate TLS certificate"] --> Site Site --> Config["fa:fa-database Configuration Database"] Site --> LogDB["fa:fa-database Log Databases, read only"] Site -.->|"OAuth mode"| Entra["fa:fa-id-badge OpenID Connect provider"]

Diagram: The Portal values become the generated package that creates the IIS web site; the firewall, certificate, Configuration Database and Log Databases access, and, for remote clients, an OpenID Connect provider (such as Microsoft Entra ID) must be in place for the endpoint to work.

The MCP Endpoint runs as the IIS application pool identity set for the MCP Server in Servers → Core platform services; by default it shares one account with the other Core Services. AI clients call it with their own identity (OAuth 2.0 token, or Windows Authentication in the same domain), and the endpoint reads and writes the Configuration Database as the pool identity.

Right On what Why Without it
The same Windows rights as the Web API The Core Services Server (Service Identity) It runs on the same IIS baseline as the other Core Services The endpoint doesn't start
db_datareader, db_datawriter, and EXECUTE (no db_ddladmin) The Configuration Database (database access) The MCP tools read the Repository Model, Monitor Views, Log Views, and Articles, and write Articles, Snippets, Templates, C4 diagrams, and Document Profiles The tools return errors
db_datareader, and an entry in LogServiceUsers unless the identity is sysadmin Every Log Database, on every instance that hosts one The failed-event tools read the Events table of each Log Database in the time window That Log Database shows as Unavailable in the tool's answer
Read rights on BizTalkMgmtDb and BizTalkDTADb, and TCP 1433 to their SQL Server The BizTalk SQL Servers, when you use the BizTalk tools The BizTalk tools connect straight to the BizTalk databases with Windows Integrated Security The BizTalk tools return errors
Inbound on the MCP Server port The Core Services Server, from approved client networks (firewall) AI clients and the Web Client reach the endpoint Clients can't connect
A TLS certificate matching the client FQDN The Core Services Server (TLS and Authentication) Clients send Bearer tokens on every call Remote clients can't connect safely
An MCP API registration and audience in your OpenID Connect provider, such as Microsoft Entra ID OAuth mode only (Register the MCP API) Remote MCP clients sign in with OAuth Remote clients get 401 Unauthorized
The Web Client's pool account, and every other caller, in the allowed users Windows Authentication mode only (TLS and Authentication) An empty list denies everyone, and the AI Assistant calls as the Web Client's pool account The AI Assistant and other callers get no access

A stopped MCP Endpoint after an install or update can be by design: see Keep the MCP Server stopped.

When the Core Services Run as Different Accounts

Section titled “When the Core Services Run as Different Accounts”

When you give the MCP Server its own account, that account needs its own login on the SQL Server instance with the Configuration Database, a login and db_datareader on every instance with Log Databases, an entry in LogServiceUsers so it gets access on each new Log Database (grant it by hand on the existing ones), and the same Windows baseline as the Web API. The Core Services Overview compares the rights of all services.

Verified Topic
IIS and the required web server features are installed on the Core Services host
A free TCP port for the MCP Server is entered in the Portal
Firewall rules allow inbound traffic to that port from approved client networks
A TLS certificate matches the FQDN that clients use
The service identity is valid for your deployment policy
For remote MCP clients: an MCP API app registration in Microsoft Entra ID, and OAuth mode in the Portal
The service identity can reach the Configuration Database
Updates from versions before 7.4.0 include the MCP Server port

The MCP Endpoint runs on the same host and runtime as the other IIS-hosted Core Services (.NET 10, ASP.NET Core Hosting Bundle). Use the same baseline:

The generated installation package creates the IIS web site, binding, and app pool; you don't create them by hand.

From 7.4.0, the MCP Endpoint needs its own port. Enter it for the MCP Server in the Portal under Servers → Core platform services, and check the result under Review and Download → Allocated ports.

Pick a free port that your network policy allows for inbound traffic, record it in your runbook, and enter it in the Portal before you download the package.

When an environment is older than 7.4.0, add the MCP Server port in the Portal in the same change as the Core Services update, so the update doesn't leave a partly deployed environment. See Update MCP Endpoint.

The MCP Endpoint runs under the identity set for the MCP Server in Servers → Core platform services. By default, all Core Services share one account; clear Same account for all Services to use a dedicated identity. Group Managed Service Accounts are supported; see gMSA accounts and Service Account Defaults.

The MCP Server is the Core Service you are most likely to open to other networks: external MCP clients connect to it, often from developer machines. It reads the Configuration Database and the Log Databases directly, connects to the BizTalk databases for the BizTalk tools, validates OAuth tokens from your OpenID Connect provider, and is also called by the Web Client for the AI Assistant.The diagram shows each host, with the port on the arrow, drawn from the side that opens the connection.

graph LR subgraph "External MCP clients" roClient["fa:fa-laptop-code VS Code, Claude Desktop, other MCP clients"] end subgraph "Reverse proxy or WAF - optional" roProxy["fa:fa-shield-halved Proxy, same scheme, host, and port"] end subgraph "Nodinite Core Services Server" roMCP["fa:fa-plug MCP Server - IIS"] roWebClient["fa:fa-globe Web Client - IIS, AI Assistant"] end subgraph "SQL Server" roConfig["fa:fa-database Configuration Database"] roLogDB["fa:fa-database Log Databases"] end subgraph "BizTalk SQL Server - when used" roBTS["fa:fa-database BizTalkMgmtDb, BizTalkDTADb"] end subgraph "OpenID Connect provider" roEntra["fa:fa-id-badge Microsoft Entra ID, Keycloak, or other"] end subgraph "Domain Controller" roDC["fa:fa-server DNS, Kerberos, LDAP"] end roClient -->|"HTTPS, MCP Server port"| roProxy roProxy -->|"HTTPS, MCP Server port"| roMCP roWebClient -->|"MCP Server port"| roMCP roMCP -->|"TCP 1433"| roConfig roConfig -->|"Linked Server, other instance"| roLogDB roMCP -->|"TCP 1433"| roBTS roClient -->|"HTTPS 443, sign in"| roEntra roMCP -->|"HTTPS 443, signing keys"| roEntra roMCP -->|"53, 88, 389"| roDC

Diagram: external MCP clients sign in with the OpenID Connect provider and call the MCP Server on its Portal port, directly or through a proxy; the Web Client calls it for the AI Assistant. The MCP Server reads the Configuration Database, and through it the Log Databases, and connects to the BizTalk databases for the BizTalk tools.

Between the MCP clients and the MCP Server

Section titled “Between the MCP clients and the MCP Server”
Direction Source Destination Protocol Port(s) Purpose Notes
Inbound External MCP clients (or the reverse proxy) Core Services Server (MCP Server) TCP (HTTPS) MCP Server port Streamable HTTP at /mcp Set in the Portal; open only from approved client networks, in the server firewall, any cloud NSG, and the client's egress path
Outbound External MCP clients Microsoft Entra ID (login.microsoftonline.com) TCP (HTTPS) 443 Sign in and get a bearer token OAuth mode; see Register the MCP API in Microsoft Entra ID
Inbound Core Services Server (Web Client) Core Services Server (MCP Server) TCP (HTTPS) MCP Server port MCP tools for the AI Assistant Same server; no rule needed unless a host firewall restricts local traffic

If a reverse proxy, web application firewall, or TLS offloading sits in front of the endpoint, check routing and certificates before go-live. MCP clients compare the advertised resource URL with the URL they connect to, so the scheme, host, and port must match exactly; see Choose One Canonical URL and External Access Requirements.

Between the MCP Server and SQL Server, Entra ID, and the domain controller

Section titled “Between the MCP Server and SQL Server, Entra ID, and the domain controller”

The SQL Server, MSDTC, and domain controller ports are shared by all Nodinite components; their full details live in SQL Server Firewall Configuration.

Direction Source Destination Protocol Port(s) Purpose Notes
Outbound Core Services Server (MCP Server) SQL Server (Configuration Database) TCP 1433 Read the Repository Model, views, Articles, and failed Log Events; write Articles, Snippets, and Templates Default instance port; named instances and UDP 1434: Core Services to SQL Server
Outbound Core Services Server (MCP Server) BizTalk SQL Server TCP 1433 BizTalk tools read BizTalkMgmtDb and BizTalkDTADb Only when you use the BizTalk tools
Outbound Core Services Server (MCP Server) Microsoft Entra ID (login.microsoftonline.com) TCP (HTTPS) 443 Read the OpenID configuration and token signing keys OAuth mode only; through the proxy set in Step 3: Infrastructure if you use one
Outbound Core Services Server (MCP Server) Domain Controller TCP/UDP 53, 88, 389 DNS, and Kerberos and LDAP for Windows Authentication and SQL Server sign-in See Domain Controller ports
  • No fixed default port: from 7.4.0 the MCP Server needs its own port in the Portal; the 44005 in the AI examples is an example only.
  • Keep it stopped: if you select Keep the MCP Server stopped in the Portal, the site is deployed but doesn't listen; open the port when you start it.
  • Versions: Nodinite versions before 7.4.0 have no MCP Server and no MCP port; add the port and its firewall rule in the same change as the update.
  • DNS (53): the canonical host name must resolve from every client location, including through any proxy or CDN.
  • TLS: enter the TLS host name and certificate subject under Servers → Core host Configuration. Clients send Bearer tokens on every call, so use HTTPS; see How to perform hardening on your Nodinite installation.
  • Remote MCP clients (Visual Studio Code, Claude Desktop, and similar) need OAuth mode. Choose OAuth 2.0 / OIDC under Auth → Auth mode, and enter the MCP Server Audiences and Web Client MCP Server Scope under Auth → MCP Server. Any OpenID Connect provider works (Keycloak in the container runtimes); for Microsoft Entra ID, register the MCP API as described in Register the MCP API in Microsoft Entra ID. OAuth mode also needs the MCP Server's resource URL (Mcp:ResourceUrl; the service doesn't start without it) and at least one audience; with Entra ID, also the scope prefix (api://<app>/). The Web Client MCP Server Scope is optional: empty forwards the user's sign-in token.
  • Windows Authentication works only for same-domain callers that can use Negotiate; see Authentication Model. List every caller in the allowed users (Authentication:AllowedUsers): an empty list denies everyone. The AI Assistant calls as the Web Client's pool account, so that account must be in the list, and the AI Assistant's changes are audited as that account.
  • Permissions: the MCP tools don't apply Nodinite Roles. With OAuth, the scopes in the token decide what a client can call; in Windows mode, the allowed users list does. Grant access to the endpoint with that in mind.
  • Health: the endpoint answers anonymously on /IsAlive and /health; the MCP protocol is at /mcp (stateless streamable HTTP).

The MCP tools read the Repository Model, Monitor Views, Log Views, and Articles from the Configuration Database. They write Articles, Snippets, Templates, C4 diagrams, Diagram Sets, tags, Custom Metadata, node links, and Document Profiles, and soft-delete Articles, Snippets, Templates, and Document Profiles; every write is audited with the caller as the acting user. The failed-event tools read the Log Databases over the same connection: a Log Database on the same instance by its three-part name, one on another instance through a Linked Server. The connection string is shared by all Core Services and is set in the Portal under Infrastructure → SQL Server connectivity. Give the MCP Server identity db_datareader, db_datawriter, and EXECUTE on the Configuration Database, and db_datareader on every Log Database.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...