---
title: BizTalk and MCP Endpoint – Discover, Analyze, and Generate C4 in Nodinite
description: Use the MCP Endpoint for BizTalk discovery, analysis, and architecture generation in Nodinite. Explore BizTalk Application content, inspect artifacts, review DTA activity, generate Mermaid C4 and Diagram Sets, and prepare migration assessment worklists from the AI Assistant or an external AI client. BizTalk-specific capabilities are gated by EnableAiForBizTalk.
---

# :fa-server: BizTalk and the MCP Endpoint

If your team runs **Microsoft BizTalk Server**, the :Nodinite: [MCP Endpoint][] lets the built-in [AI Assistant][] or an external AI client move from generic repository questions to BizTalk-specific discovery, runtime analysis, and architecture generation. Users can explore a [BizTalk Application][BizTalk Application], inspect artifacts such as **Receive Ports**, [Receive Locations][Receive Locations], [Send Ports][Send Ports], [Send Port Groups][Send Port Groups], [Orchestrations][Orchestrations], **Maps**, **Schemas**, [Pipelines][Pipelines], and **Assemblies**, review **DTA activity**, and generate **Mermaid C4** output or work with [Architecture Diagrams][Architecture Diagrams] and [Diagram Sets][]. These BizTalk-specific capabilities are gated by `EnableAiForBizTalk` in the [AI System Parameter][].

* ✅ Discover BizTalk environments and **BizTalk Application** structure quickly  
* ✅ Inspect bindings, artifact status, and artifact inventory without switching tools  
* ✅ Use runtime evidence such as **DTA activity** and message type usage for better answers  
* ✅ Generate **Mermaid C4** and continue into **Architecture Diagrams** and **Diagram Sets**  
* ✅ Build a practical **migration assessment** worklist from the same BizTalk context  
* ✅ Gate BizTalk-specific AI workflows separately with `EnableAiForBizTalk`  

![BizTalk AI ticked on the AI Settings page, then the AI Assistant with the BizTalk tools ticked and Documentation unticked, a question about the BizTalk application Lab.Orders, and the answer with its send ports and orchestrations, animated walkthrough (7.12)][1]  
*Animated walkthrough: the AI Assistant answers a question about one BizTalk application with the [BizTalk Tools][].*  

>[!IMPORTANT]
>The AI Assistant in the [Web Client][] uses the BizTalk tools without any client setup. An external AI client, such as VS Code or Claude Desktop, needs the normal [MCP Endpoint][] setup, and the same setup serves Repository, BizTalk, and C4 questions. BizTalk-specific tools also require `EnableAiForBizTalk`, and the key is treated as disabled when it is absent.

## Before BizTalk Tools Appear

| Requirement | Why it matters |
| --- | --- |
| **BizTalk AI** ticked (`EnableAiForBizTalk = true`) | BizTalk-specific MCP capabilities and BizTalk C4 generation are gated separately from `EnableMcpChat` and `EnableDiagramAiAssistance`. Tick **BizTalk AI** on the **AI Settings** page ([AI System Parameter][]). |
| A :Nodinite: Administrator as the caller | The BizTalk tools refuse to run for any other caller, and in OAuth mode they also need the `mcp:repository.read` scope. |
| At least one active BizTalk environment | An environment is a BizTalk [Log Agent][Log Agents]. Without one, the BizTalk tools refuse to run. `get_biz_talk_capability_status` always runs and tells you which requirement is missing. |
| Read access to the BizTalk databases | The BizTalk tools read the BizTalk management and DTA databases of each environment directly, with Windows authentication, as the MCP Endpoint's own Windows account (in [IIS][], its application pool identity). Give that account read access to both databases in every environment. :new7.12: Without it, the tools answer with the account and the database that refused the sign-in ([When the Tools Run][BizTalk Tools Sign-in]). |
| External client setup (external clients only) | VS Code, Claude Desktop, Cline, and similar tools need the normal [MCP Endpoint][] registration before they can query :Nodinite:. The AI Assistant needs none. |

## :fa-comments: Ask About a BizTalk Application in the AI Assistant

1. Open **Administration** → **Settings** → [System Parameters][System Parameters], click the **AI** row, and check that **BizTalk AI** is ticked in the **Features** card of the **AI Settings** page.
1. Open the [AI Assistant][] and click **Tools**.
1. Tick **BizTalk**. The group isn't ticked by default, and with the default groups it goes over the limit of 128 tools per request, so untick **Documentation** as well. The assistant's header then shows *127 tools selected* ([Choose Your Tools][MCP Choose Tools]). The browser remembers the selection.
1. Go back to the conversation and ask about one application. Name the environment in the question when you have more than one, for example: *How many send ports does the BizTalk application Lab.Orders have in the BizTalk Log Agent environment, and in which status? List its orchestrations with their status.*
1. Press **Enter**. The answer comes from the BizTalk tools: here, 15 send ports, all **Bound**, and each orchestration with its status, **Started** or **Unenlisted**.

The wording of an answer comes from the language model and differs between runs; the facts in it come from the tools.

## What Users Usually Want to Know

| Need | What the MCP Endpoint can answer |
| --- | --- |
| Which BizTalk applications do we have? | Environment listing, capability discovery, and [BizTalk Application][] catalog |
| What belongs to this application? | Artifact inventory for **Receive Ports**, [Receive Locations][], [Send Ports][], [Send Port Groups][], [Orchestrations][], **Maps**, **Schemas**, [Pipelines][], and **Assemblies** |
| Why is this application hard to understand? | [Application explanation][BizTalk Tools], binding explanation, and dead-port classification |
| What is active at runtime? | **DTA activity**, [Message Type][Message Types] usage, and runtime follow-up analysis |
| How should we document this architecture? | **Mermaid C4**, [Architecture Diagrams][], and [Diagram Sets][] |
| What should we modernize first? | Dependency analysis, complexity review, and **migration assessment** ([BizTalk Tools][]) |

## Available BizTalk Capabilities

| Capability | What it covers | Typical outcome |
| --- | --- | --- |
| Capability discovery | BizTalk availability and environment context | Users know which BizTalk landscape they are querying |
| Application catalog | Search and overview of each [BizTalk Application][] | Faster application-level discovery |
| Artifact inventory | **Receive Ports**, [Receive Locations][], [Send Ports][], [Send Port Groups][], [Orchestrations][], **Maps**, **Schemas**, [Pipelines][], and **Assemblies** | A readable inventory of what belongs to the selected application |
| Artifact inspection | Binding explanation, artifact details, and status | Clearer understanding of how an artifact fits the solution |
| Runtime analysis | **DTA activity** and [Message Type][Message Types] usage | Better answers based on what actually runs |
| Architecture generation | **Mermaid C4**, [Architecture Diagrams][], and [Diagram Sets][] | Faster documentation and review workflows |
| Migration assessment | Dependency review, complexity scoring, and worklist guidance | A practical modernization starting point |

The [BizTalk Tools][] reference lists every tool in the group and what it returns.

## :fa-diagram-project: How BizTalk Questions Flow Through MCP

<div class="mermaid">
graph TD
    Client["fa:fa-robot AI Assistant or<br/>external AI client"] --> MCP["fa:fa-plug MCP Endpoint"]
    MCP --> Apps["fa:fa-box-open BizTalk Application<br/>catalog and explanation"]
    MCP --> Artifacts["fa:fa-gears Artifact inventory<br/>ports, orchestrations, maps, schemas"]
    MCP --> Runtime["fa:fa-chart-line DTA activity<br/>and message type usage"]
    MCP --> Diagrams["fa:fa-layer-group Mermaid C4<br/>Architecture Diagrams and Diagram Sets"]
    MCP --> Migration["fa:fa-road Migration assessment<br/>and worklist"]
</div>

*Diagram: The [AI Assistant][] or an external client calls the [MCP Endpoint][], which moves from [BizTalk Application][] discovery to artifact inspection, runtime analysis, Mermaid C4 generation, [Architecture Diagrams][], Diagram Sets, and migration assessment without changing connection model.*

## Good First Questions

These question patterns work well when you start exploring BizTalk, in the AI Assistant or an external AI client. Name the environment when you have more than one, so the model doesn't have to pick it:

* *Show me all BizTalk Applications in Production*
* *Explain the OrderProcessing BizTalk Application*
* *List the Receive Ports, Receive Locations, and Send Ports in OrderProcessing*
* *Which send ports of OrderProcessing are stopped, and which of its ports may be dead?*
* *Which message types are active in DTA for OrderProcessing?*
* *Generate Mermaid C4 for the BizTalk Application that handles invoices*
* *Which BizTalk dependencies make migration harder for this application?*

## BizTalk and Architecture Diagrams

BizTalk work does not stop at discovery. The same MCP session can move into architecture documentation.

| Output | Best use |
| --- | --- |
| **Mermaid C4** | Quick review, sharing, and text-based documentation |
| [Architecture Diagrams][] | Curated visual documentation inside :Nodinite: |
| [Diagram Sets][] | Connected views across context, container, component, and related diagram work |
| **Migration assessment** | Planning workshops, modernization backlog, and dependency review |

This is especially useful for teams that want to start with a BizTalk question, confirm the current runtime picture, and then move directly into a documentation or modernization conversation.

## What Developers and Architects Get from Runtime Analysis

Runtime analysis adds evidence to the conversation instead of leaving the answer at static configuration only.

* **DTA activity** helps show what is active now or has been active recently.
* **Message type usage** helps teams understand which contracts matter most in practice.
* **Binding explanation** reduces the time spent interpreting how a BizTalk artifact participates in the flow.
* **Dead-port classification** helps separate active architecture from stale or disconnected design.

This makes the BizTalk MCP experience useful for support teams, integration developers, architects, and migration leads.

## Expectations and Guardrails

Before relying on BizTalk answers from the AI Assistant or an external AI client, keep these expectations in mind:

* An external MCP client still needs the normal [MCP Endpoint][] setup; the AI Assistant doesn't.
* `EnableAiForBizTalk` must be enabled before BizTalk-specific tools become available.
* Results depend on the BizTalk landscape the connected environment can access, and on the MCP Endpoint account's read access to its databases; a missing read right is named in the answer ([When the Tools Run][BizTalk Tools Sign-in]).
* An artifact's status reports tracking and presence from the matching :Nodinite: [Endpoints][]; its runtime state is always unknown, so ask the DTA tools for activity ([Check the Status of One Artifact][BizTalk Artifact Status]).
* Every BizTalk tool only reads; nothing is created or changed in BizTalk.
* Review generated **Mermaid C4** or **Architecture Diagrams** before you publish them as formal documentation.
* Use the runtime analysis to guide investigation and design review, not as a substitute for change control.

## :fa-hand-point-right: Next Steps

* :fa-plug: [MCP Endpoint][]  
* :fa-server: [BizTalk Tools][]  
* :fa-layer-group: [Architecture Diagrams][]  
* :fa-box-open: [BizTalk Application][]  

## :fa-link-horizontal: Related Topics

* :fa-list-check: [Set up AI Assistant and MCP Endpoint][]  
* :fa-globe: [AI Overview][]  
* :fa-robot: [AI Assistant][]  
* :fa-sliders: [AI System Parameter][]  
* :fa-stethoscope: [BizTalk Monitoring][]  
* :fa-box-full: [MCP Endpoint in Core Services][MCP Endpoint Hosting]  

[1]:{ndm}/Documentation%20Pictures/IM/AI/MCP_BizTalk_AskApplication.gif

[AI Assistant]:{ndr}/AI/AI%20Assistant.md
[AI Overview]:{ndr}/AI/Overview.md
[AI System Parameter]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/AI.md
[Architecture Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Overview.md
[BizTalk Application]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Application/Overview.md
[BizTalk Artifact Status]:{ndr}/AI/MCP%20Tool%20Reference/BizTalk%20Tools.md#artifact-status
[BizTalk Monitoring]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Overview.md
[BizTalk Tools]:{ndr}/AI/MCP%20Tool%20Reference/BizTalk%20Tools.md
[BizTalk Tools Sign-in]:{ndr}/AI/MCP%20Tool%20Reference/BizTalk%20Tools.md#when-the-tools-run
[Diagram Sets]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Diagram%20Set%20Fundamentals.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[IIS]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Overview.md
[Log Agents]:{ndr}/Administration/1.%20Log%20Management/3.%20Log%20Agents/Features/What%20is%20a%20Log%20Agent.md
[MCP Choose Tools]:{ndr}/AI/MCP%20Endpoint.md#choose-tools
[MCP Endpoint]:{ndr}/AI/MCP%20Endpoint.md
[MCP Endpoint Hosting]:{ndr}/Core%20Services/MCP%20Endpoint/Overview.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Orchestrations]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Orchestrations/Overview.md
[Pipelines]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Pipelines/Overview.md
[Receive Locations]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Receive%20Locations/Overview.md
[Send Port Groups]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Send%20Port%20Groups/Overview.md
[Send Ports]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Send%20Ports/Overview.md
[Set up AI Assistant and MCP Endpoint]:{ndr}/AI/Getting%20Started.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Web Client]:{ndr}/Getting%20Started/Overview.md