Skip to content

Commit e5bdbb6

Browse files
authored
Remove preemptive dotnet 10 check; add as failure diagnostic in configure-canvas-mcp
1 parent 7558611 commit e5bdbb6

1 file changed

Lines changed: 13 additions & 18 deletions

File tree

  • plugins/canvas-apps/skills/configure-canvas-mcp

plugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: configure-canvas-mcp
33
version: 2.1.0
4-
description: Configure the Canvas Authoring MCP server for the current coauthoring session. USE WHEN "configure MCP", "set up MCP server", "MCP not working", "connect Canvas Apps MCP", "canvas-authoring not available", "MCP not configured", "set up canvas apps". DO NOT USE WHEN prerequisites are missing — direct the user to install .NET 10 SDK first.
4+
description: Configure the Canvas Authoring MCP server for the current coauthoring session. USE WHEN "configure MCP", "set up MCP server", "MCP not working", "connect Canvas Apps MCP", "canvas-authoring not available", "MCP not configured", "set up canvas apps".
55
author: Microsoft Corporation
66
user-invocable: true
77
allowed-tools: Bash, AskUserQuestion, mcp__canvas-authoring__connect
@@ -13,20 +13,6 @@ This skill configures the Canvas Authoring MCP server for the user's current Pow
1313

1414
## Instructions
1515

16-
### 0. Check prerequisites
17-
18-
Verify that .NET 10 SDK or higher is installed:
19-
20-
```bash
21-
dotnet --list-sdks
22-
```
23-
24-
If a version 10.x.y or higher is not listed, tell the user:
25-
26-
> ⚠️ .NET 10 SDK is required to run the Canvas Authoring MCP server. It looks like you don't have it installed. Please install it first to use this skill. https://dotnet.microsoft.com/download/dotnet/10.0
27-
28-
Then wait for the user to install it before continuing. If they say it's installed, run the command again to confirm. If it's still not found, repeat the message until they have it installed.
29-
3016
### 1. Ask for the studio URL
3117

3218
Ask the user:
@@ -89,12 +75,21 @@ mcp__canvas-authoring__connect(
8975
- `login_hint`: Pass the user's UPN or email **only if** they have indicated they want to connect as a specific/different user (e.g. "log in as alice@contoso.com"). These values cannot be derived from the maker portal URL — never guess. Omit otherwise to use the first signed-in user.
9076
- `auth_flow`: Pass `"browser"` or `"broker"` **only if** the user has explicitly stated a preferred auth flow (e.g. "use browser sign-in"). Omit otherwise to use the default.
9177

92-
If the call fails, report the error to the user and suggest checking that:
78+
If the call fails, run the following command to check if the MCP server failed to start due to a missing .NET 10 SDK:
79+
80+
```bash
81+
dotnet --list-sdks
82+
```
83+
84+
If a version 10.x.y or higher is **not** listed, tell the user:
85+
86+
> ⚠️ .NET 10 SDK is required to run the Canvas Authoring MCP server. It looks like you don't have it installed. Please install it from https://dotnet.microsoft.com/download/dotnet/10.0 and then try again.
87+
88+
Otherwise, report the original error and suggest checking that:
9389

9490
1. The studio URL is correct and the browser tab is still open
9591
2. Coauthoring is enabled in the app settings
96-
3. .NET 10 SDK is correctly installed
97-
4. If sign-in failed, the user may need to specify `auth_flow` (`broker` vs. `browser`) or a `login_hint` (UPN/email) to authenticate as the correct account
92+
3. If sign-in failed, the user may need to specify `auth_flow` (`broker` vs. `browser`) or a `login_hint` (UPN/email) to authenticate as the correct account
9893

9994
### 4. Confirm
10095

0 commit comments

Comments
 (0)