You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mcs-orchestration: drop redundant UC#4 MCP connection step (#467) (#476)
* mcs-orchestration: drop redundant UC#4 MCP connection step (#467)
Connections are created inline when adding each MCP server tool, so the
separate 'Create the MCP server connections' classic-agent step is
unnecessary. Remove that section, reframe the 'Add the MCP server tools'
step to create the connection inline (Create new connection -> Create ->
Add), drop the obsolete 'Review capabilities / Confirm' step, and update
the troubleshooting tips that referenced the removed workaround.
Closes#467
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Reword UC#4 troubleshooting tip: recreate the connection (#467)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Adriana Trujillo (She/Her) <admin@M365x11786005.onmicrosoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: _labs/mcs-orchestration.md
+3-34Lines changed: 3 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -809,43 +809,13 @@ In Use Case #3 you added the internal `company_policies_sample.pdf` from the **H
809
809
> [!NOTE]
810
810
> Two policy sources is deliberate. The customer-facing **Contoso Customer Care Policies** is what the agent quotes to a customer; the internal `company_policies_sample.pdf` is handling/escalation guidance the agent uses to decide but does **not** read back to a customer. The instructions and Skill you add below draw that line explicitly.
811
811
812
-
#### Create the MCP server connections
813
-
814
-
This Use Case uses two prebuilt **custom MCP connectors** — **Order Management MCP** and **Warehouse MCP** — that simulate an e-commerce backend ([Enhanced Task Completion sample](https://microsoft.github.io/enhanced-task-completion/)). Before a new-type agent can use them, each needs a **connection**.
815
-
816
-
> [!IMPORTANT]
817
-
> **Temporary workaround (preview limitation).** At the time of writing, the **new-type agent's** inline *Add tool → connection* step cannot create a brand-new connection for these custom MCP connectors yet. Until that's supported, create the connections **once** by adding the servers to a throwaway **classic** agent, which *can* create them. After that, the new-type agent will find and reuse the connections. This whole section is expected to disappear as the preview matures.
818
-
819
-
1. Go to the **Agents** page. Select the **chevron** to the right of **New Agent**, then choose **New classic agent**.
820
-
821
-
1. Name it `Enable New MCP Servers` and select **Create**. (This agent exists only to mint the connections — you won't publish or use it otherwise.)
822
-
823
-
1. On the agent's **Overview**, select **Add tool**. In the tool picker, filter to **Model Context Protocol (MCP)**, type `Order Management` in the search box, and press **Enter** to run the search.
824
-
825
-
> [!TIP]
826
-
> Filtering to **Model Context Protocol** before searching makes the custom MCP servers much easier to find among the hundreds of connectors.
827
-
828
-
1. Select **Order Management MCP Server**. On the detail panel, open the **Connection** dropdown (it reads **Not connected**) and choose **Create new connection**, then **Create** in the dialog that appears (these connectors need no credentials). When the connection shows as connected, select **Add and configure** — the server's actions (`search_orders`, `get_order`, `get_shipment`, `request_return`, `get_return_status`) will load.
829
-
830
-

831
-
832
-
1. Repeat the **Add tool** step for **Warehouse MCP Server** (`check_stock`, `get_fulfillment_status`, `find_alternatives`, `get_restock_date`), creating its connection the same way.
833
-
834
-
Both connections now exist in the environment and are reusable. Leave the classic agent as-is.
835
-
836
-

837
-
838
812
#### Add the MCP server tools to the Sales Account Assistant
839
813
840
-
Now that the connections exist, attach the two servers to the **new-type** agent.
814
+
Attach the two servers to the **new-type** agent, creating each connection inline as you add it.
841
815
842
816
1. Return to the **Sales Account Assistant** (Build tab). In the right rail, select **Add tool** (the **+** on the Tools section).
843
817
844
-
1. Filter to **Model Context Protocol (MCP)**, search **Order Management**, and select **Order Management MCP Server**. This time the **Connection** step resolves to the connection you created — select **Next**.
845
-
846
-
1. On **Review capabilities**, the server's actions now load (no "Couldn't load MCP tools" error). Select **Confirm** to attach it.
847
-
848
-

818
+
1. Filter to **Model Context Protocol (MCP)**, search **Order Management**, and select **Order Management MCP Server**. On the connection step, choose **Create new connection → Create**, then **Add**.
849
819
850
820
1. Repeat for **Warehouse MCP Server**. Your **Tools** list should now show four tools: **Get current weather**, **Microsoft Dataverse MCP Server**, **Order Management MCP Server**, and **Warehouse MCP Server**.
851
821
@@ -1033,8 +1003,7 @@ You extended a new-type agent with a **Skill**, two **custom MCP servers**, a se
1033
1003
1034
1004
**Lessons learned & troubleshooting tips:**
1035
1005
1036
-
* If the new-type agent's **Add tool → connection** step won't create a connection for a custom MCP server, use the **classic-agent workaround** above to mint the connection first (a temporary preview limitation).
1037
-
* If a server shows **"Couldn't load MCP tools"** on Review capabilities, the connection isn't in place yet — create it via the classic agent, then re-add the tool.
1006
+
* If a custom MCP server's tools don't load right after you add it, the connection may not have completed — remove the tool, then re-add it and recreate the connection (**Create new connection → Create → Add**).
1038
1007
* If a custom MCP server is hard to find, **filter the tool picker to Model Context Protocol** and press **Enter** to run the search.
1039
1008
* If the agent carries a previous customer into a new question, select **New chat** to reset — context persists across a conversation.
Copy file name to clipboardExpand all lines: labs/mcs-orchestration/README.md
+3-34Lines changed: 3 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -792,43 +792,13 @@ In Use Case #3 you added the internal `company_policies_sample.pdf` from the **H
792
792
> [!NOTE]
793
793
> Two policy sources is deliberate. The customer-facing **Contoso Customer Care Policies** is what the agent quotes to a customer; the internal `company_policies_sample.pdf` is handling/escalation guidance the agent uses to decide but does **not** read back to a customer. The instructions and Skill you add below draw that line explicitly.
794
794
795
-
#### Create the MCP server connections
796
-
797
-
This Use Case uses two prebuilt **custom MCP connectors** — **Order Management MCP** and **Warehouse MCP** — that simulate an e-commerce backend ([Enhanced Task Completion sample](https://microsoft.github.io/enhanced-task-completion/)). Before a new-type agent can use them, each needs a **connection**.
798
-
799
-
> [!IMPORTANT]
800
-
> **Temporary workaround (preview limitation).** At the time of writing, the **new-type agent's** inline *Add tool → connection* step cannot create a brand-new connection for these custom MCP connectors yet. Until that's supported, create the connections **once** by adding the servers to a throwaway **classic** agent, which *can* create them. After that, the new-type agent will find and reuse the connections. This whole section is expected to disappear as the preview matures.
801
-
802
-
1. Go to the **Agents** page. Select the **chevron** to the right of **New Agent**, then choose **New classic agent**.
803
-
804
-
1. Name it `Enable New MCP Servers` and select **Create**. (This agent exists only to mint the connections — you won't publish or use it otherwise.)
805
-
806
-
1. On the agent's **Overview**, select **Add tool**. In the tool picker, filter to **Model Context Protocol (MCP)**, type `Order Management` in the search box, and press **Enter** to run the search.
807
-
808
-
> [!TIP]
809
-
> Filtering to **Model Context Protocol** before searching makes the custom MCP servers much easier to find among the hundreds of connectors.
810
-
811
-
1. Select **Order Management MCP Server**. On the detail panel, open the **Connection** dropdown (it reads **Not connected**) and choose **Create new connection**, then **Create** in the dialog that appears (these connectors need no credentials). When the connection shows as connected, select **Add and configure** — the server's actions (`search_orders`, `get_order`, `get_shipment`, `request_return`, `get_return_status`) will load.
812
-
813
-

814
-
815
-
1. Repeat the **Add tool** step for **Warehouse MCP Server** (`check_stock`, `get_fulfillment_status`, `find_alternatives`, `get_restock_date`), creating its connection the same way.
816
-
817
-
Both connections now exist in the environment and are reusable. Leave the classic agent as-is.
818
-
819
-

820
-
821
795
#### Add the MCP server tools to the Sales Account Assistant
822
796
823
-
Now that the connections exist, attach the two servers to the **new-type** agent.
797
+
Attach the two servers to the **new-type** agent, creating each connection inline as you add it.
824
798
825
799
1. Return to the **Sales Account Assistant** (Build tab). In the right rail, select **Add tool** (the **+** on the Tools section).
826
800
827
-
1. Filter to **Model Context Protocol (MCP)**, search **Order Management**, and select **Order Management MCP Server**. This time the **Connection** step resolves to the connection you created — select **Next**.
828
-
829
-
1. On **Review capabilities**, the server's actions now load (no "Couldn't load MCP tools" error). Select **Confirm** to attach it.
830
-
831
-

801
+
1. Filter to **Model Context Protocol (MCP)**, search **Order Management**, and select **Order Management MCP Server**. On the connection step, choose **Create new connection → Create**, then **Add**.
832
802
833
803
1. Repeat for **Warehouse MCP Server**. Your **Tools** list should now show four tools: **Get current weather**, **Microsoft Dataverse MCP Server**, **Order Management MCP Server**, and **Warehouse MCP Server**.
834
804
@@ -1016,8 +986,7 @@ You extended a new-type agent with a **Skill**, two **custom MCP servers**, a se
1016
986
1017
987
**Lessons learned & troubleshooting tips:**
1018
988
1019
-
* If the new-type agent's **Add tool → connection** step won't create a connection for a custom MCP server, use the **classic-agent workaround** above to mint the connection first (a temporary preview limitation).
1020
-
* If a server shows **"Couldn't load MCP tools"** on Review capabilities, the connection isn't in place yet — create it via the classic agent, then re-add the tool.
989
+
* If a custom MCP server's tools don't load right after you add it, the connection may not have completed — remove the tool, then re-add it and recreate the connection (**Create new connection → Create → Add**).
1021
990
* If a custom MCP server is hard to find, **filter the tool picker to Model Context Protocol** and press **Enter** to run the search.
1022
991
* If the agent carries a previous customer into a new question, select **New chat** to reset — context persists across a conversation.
0 commit comments