- 5 minutes to read

Troubleshooting MCP Endpoint

Use this guide when the IIS-hosted MCP Endpoint 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.

Diagnostic Approach

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"]

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

Common Issues

The MCP Endpoint site does not start in IIS

Note

An MCP Endpoint whose application pool is stopped right after an install or update is not necessarily broken. When Keep the MCP Server stopped is selected in the Portal, the installer deploys the site and files but leaves the application pool stopped, also after an IIS reset or a server restart. See Keep the MCP Server Stopped.

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. 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.

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 and the canonical URL in Choose One Canonical URL. The full symptom table is in MCP Endpoint External Access – 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 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. In Windows mode, add the Web Client's application pool account to Authentication:AllowedUsers, see Windows Authentication Environments. 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.

The AI Assistant with the MCP Endpoint stopped, then started again and answering a Repository question, animated walkthrough (7.12)
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)
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)
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:

I need to remove the MCP Endpoint

See Uninstall MCP Endpoint.

Next Steps