---
title: MCP Endpoint Troubleshooting – Core Services Diagnostics
description: "Troubleshoot the Nodinite MCP Endpoint hosted in IIS as part of Core Services: site startup, port and firewall, OAuth tokens and canonical URL, the AI Assistant, and external MCP clients, with links to the detailed AI documentation."
---

# Troubleshooting MCP Endpoint

Use this guide when the IIS-hosted [MCP Endpoint][MCP Endpoint Overview] doesn't start, clients can't connect, or the tools return no data. Work from the server outwards: the problem is usually in the first layer that fails.

## <i class="fal fa-stethoscope" aria-hidden="true"></i> Diagnostic Approach

<div class="mermaid">
graph LR
    A["fa:fa-globe 1. IIS site starts"] --> B["fa:fa-network-wired 2. Port reachable"]
    B --> C["fa:fa-key 3. Token accepted"]
    C --> D["fa:fa-toolbox 4. Tools load"]
    D --> E["fa:fa-comments 5. Answers make sense"]
</div>

*Diagram: Check each layer in order: IIS hosting, network path, authentication, MCP tools, and finally the client or AI provider configuration.*  

1. IIS site and app pool health
2. Port binding and network reachability
3. Authentication: OAuth audiences, scopes, and the canonical URL
4. Tool discovery and feature flags
5. Client and AI provider configuration

## <i class="fal fa-circle-question" aria-hidden="true"></i> Common Issues

### The MCP Endpoint site does not start in IIS

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>An MCP Endpoint whose application pool is stopped right after an install or update is not necessarily broken. When <strong>Keep the MCP Server stopped</strong> is selected in the Portal, the installer deploys the site and files but leaves the application pool stopped, also after an <a href="https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-authentication-settings/">IIS</a> reset or a server restart. See <a href="https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#keep-the-mcp-server-stopped">Keep the MCP Server Stopped</a>.</p></div>
</aside>

If the option is cleared, check the app pool identity, the binding, and the Windows Application event log. An HTTP `500.30` error means the ASP.NET Core app failed at startup, often because of invalid configuration. Confirm that no other site owns the port, and compare the port with the **MCP Server** value in [Servers → Core platform services][Portal Core Platform Services]. If the values in the Portal are wrong, correct them there and run the package again instead of editing IIS by hand.

### The endpoint port is unreachable

Confirm the inbound firewall rules and routing for the MCP Server port, and test from the same network segment as your MCP clients. In cloud and proxy setups, check that the port is forwarded; see [External Access Requirements][MCP External Requirements].

### Sign-in works, but calls return 401 or the client loops

The token audience or the advertised resource URL doesn't match. Check the **MCP Server Audiences** in [Auth → MCP Server][Portal Auth MCP Server] and the canonical URL in [Choose One Canonical URL][MCP Canonical URL]. The full symptom table is in [MCP Endpoint External Access – Troubleshooting][MCP External Troubleshooting].

### The AI Assistant opens but shows no tools

Read the status line under the [AI Assistant][]'s title:

* **MCP server unreachable — tools unavailable**, and **Tools** shows *0 of 0 selected*: the MCP Endpoint isn't running or can't be reached. Start its site or application pool in [IIS][] (or clear [Keep the MCP Server stopped][Portal Keep Stopped] and run the package again), and check the port. You don't need to reload the page: the assistant tries again every 15 seconds and shows **Ready** once the endpoint answers.
* **The MCP server rejected this Web Client's token**: the endpoint answered, but refused the [Web Client][Web Client CS]. In Windows mode, add the Web Client's application pool account to `Authentication:AllowedUsers`, see [Windows Authentication Environments][MCP Windows Auth]. In OAuth installations, the Web Client app registration needs admin consent for the MCP scopes; an `AADSTS65001` error points to missing consent, see [Connect the Web Client AI Assistant][MCP Web Client Step].

![The AI Assistant with the MCP Endpoint stopped, then started again and answering a Repository question, animated walkthrough (7.12)][1]  
*Animated walkthrough: the AI Assistant without the MCP Endpoint, and the same assistant a moment after the endpoint is started again.*  

1. The MCP Endpoint is stopped (its site or application pool in IIS).
2. Open the AI Assistant. The status line says *MCP server unreachable — tools unavailable*.
3. Click **Tools**: *0 of 0 selected*, there are no tools to choose from.
4. Start the MCP Endpoint again. A moment later the status line shows **Ready** by itself.
5. Ask a Repository question, for example *Which Systems does the Integration INT1337 - Order-to-Cash use?*, and press Enter.
6. The answer lists the [Systems][], read from the [Repository Model][] through the MCP tools.

When the AI Assistant button isn't there at all, `EnableMcpChat` is off in the [AI System Parameter][]; with it on, the assistant also needs an AI provider, see [AI Assistant][].

### Repository questions work, but BizTalk tools are missing

The MCP Endpoint always lists the 34 BizTalk tools. In the AI Assistant, the **BizTalk** group is opt-in:

1. Open **Tools** in the AI Assistant and tick **BizTalk**.
2. On top of the 108 tools selected by default, that makes 142, and the counter turns red: *the provider accepts at most 128*.
3. Untick another group, for example **Documentation** (15 tools), to get back under the limit.

![Ticking the opt-in BizTalk group in the AI Assistant's Tools panel goes over 128 tools, and unticking Documentation brings it back under the limit, animated walkthrough (7.12)][2]  
*Animated walkthrough, part 1 of 2: making room for the BizTalk tools in the AI Assistant's **Tools** panel.*  

A listed BizTalk tool answers only when all three of these are true:

1. **BizTalk AI** (`EnableAiForBizTalk`) is ticked on the **AI Settings** page of the [AI System Parameter][]. The MCP Endpoint reads it on every call, so no restart is needed.
2. At least one [BizTalk Log Agent][] environment is active.
3. The caller is in the **Administrators** Role.

Otherwise the tool refuses with the reason, and `get_biz_talk_capability_status` says which of the three is missing.

![The BizTalk AI capability reported as not available, BizTalk AI ticked and saved on the AI Settings page, and the same question answered as available, animated walkthrough (7.12)][3]  
*Animated walkthrough, part 2 of 2: with **BizTalk AI** off, the assistant reports the capability as not available; after ticking **BizTalk AI** on the **AI Settings** page and saving, the same question in a new conversation reports it as available.*  

See [BizTalk and MCP Endpoint][] for what the BizTalk tools do.

### The update completed, but MCP requests fail

If you updated from a version before 7.4.0, check that the **MCP Server** port was entered in the Portal before the package was downloaded, and that the firewall rule exists. See [Update MCP Endpoint][].

### The client loads but gives no usable answers

When the technical checks pass, continue with the client checks in the AI documentation:

* [Troubleshooting checks in Set up AI Assistant and MCP Endpoint][AI Troubleshooting]
* [Troubleshooting checks in MCP Endpoint][MCP Endpoint AI Troubleshooting]
* [MCP Tool Reference][] for tool names, scopes, and paging limits

### I need to remove the MCP Endpoint

See [Uninstall MCP Endpoint][].

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

* <i class="fal fa-network-wired" aria-hidden="true"></i> [MCP Endpoint External Access][]  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [MCP Endpoint Prerequisites][]  

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

* <i class="fal fa-plug" aria-hidden="true"></i> [MCP Endpoint Overview][]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install MCP Endpoint][]  
* <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Update MCP Endpoint][]  
* <i class="fal fa-trash-can" aria-hidden="true"></i> [Uninstall MCP Endpoint][]  
* <i class="fal fa-box-full" aria-hidden="true"></i> [Core Services][]  
* <i class="fal fa-list-check" aria-hidden="true"></i> [Set up AI Assistant and MCP Endpoint][]  
* <i class="fal fa-plug" aria-hidden="true"></i> [MCP Endpoint for external AI tools][MCP Endpoint AI]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/AI/MCP_AssistantNoTools.gif
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/AI/MCP_BizTalkToolsOptIn.gif
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/AI/MCP_BizTalkToolsSwitch.gif

[AI Assistant]:https://docs.nodinite.com/ai/ai-assistant/
[AI System Parameter]:https://docs.nodinite.com/administration/settings/system-parameters/ai/
[AI Troubleshooting]:https://docs.nodinite.com/ai/getting-started/#fa-circle-question-troubleshooting-checks
[BizTalk and MCP Endpoint]:https://docs.nodinite.com/ai/biztalk-and-mcp-endpoint/
[BizTalk Log Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-logging/overview/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-authentication-settings/
[Install MCP Endpoint]:https://docs.nodinite.com/core-services/mcp-endpoint/getting-started/install/
[MCP Canonical URL]:https://docs.nodinite.com/ai/mcp-endpoint-external-access/#fa-link-step-1---choose-one-canonical-url
[MCP Endpoint AI]:https://docs.nodinite.com/ai/mcp-endpoint/
[MCP Endpoint AI Troubleshooting]:https://docs.nodinite.com/ai/mcp-endpoint/#fa-circle-question-troubleshooting-checks
[MCP Endpoint External Access]:https://docs.nodinite.com/ai/mcp-endpoint-external-access/
[MCP Endpoint Overview]:https://docs.nodinite.com/core-services/mcp-endpoint/overview/
[MCP Endpoint Prerequisites]:https://docs.nodinite.com/core-services/mcp-endpoint/getting-started/prerequisites/
[MCP External Requirements]:https://docs.nodinite.com/ai/mcp-endpoint-external-access/#external-access-requirements
[MCP External Troubleshooting]:https://docs.nodinite.com/ai/mcp-endpoint-external-access/#fa-triangle-exclamation-troubleshooting
[MCP Tool Reference]:https://docs.nodinite.com/ai/mcp-tool-reference/
[MCP Web Client Step]:https://docs.nodinite.com/ai/mcp-endpoint-external-access/#fa-globe-step-4---connect-the-web-client-ai-assistant-optional
[MCP Windows Auth]:https://docs.nodinite.com/ai/mcp-endpoint-external-access/#windows-authentication
[Portal Auth MCP Server]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/#mcp-server
[Portal Core Platform Services]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Portal Keep Stopped]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#keep-the-mcp-server-stopped
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Set up AI Assistant and MCP Endpoint]:https://docs.nodinite.com/ai/getting-started/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/
[Uninstall MCP Endpoint]:https://docs.nodinite.com/core-services/mcp-endpoint/troubleshooting/uninstall/
[Update MCP Endpoint]:https://docs.nodinite.com/core-services/mcp-endpoint/updating/
[Web Client CS]:https://docs.nodinite.com/core-services/web-client/overview/