Skip to content

Commit 7ff8258

Browse files
adileiadileiclaude
authored
Use Mermaid diagram and fix Copilot Studio instructions
Co-authored-by: adilei <adileibowiz@microsoft.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 85314a4 commit 7ff8258

File tree

1 file changed

+22
-27
lines changed
  • extensibility/mcp/dynamic-mcp-routing-typescript

1 file changed

+22
-27
lines changed

extensibility/mcp/dynamic-mcp-routing-typescript/README.md

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,24 @@ A Power Platform connector that routes MCP Streamable HTTP traffic to one of sev
1111

1212
## Architecture
1313

14-
```
15-
┌─────────────────────┐
16-
│ Copilot Studio │
17-
│ (MCP client) │
18-
└──────────┬───────────┘
19-
20-
┌────────────┴────────────┐
21-
│ Power Platform Connector│
22-
│ x-ms-agentic-protocol │
23-
│ mcp-streamable-1.0 │
24-
└────────────┬────────────┘
25-
26-
┌─────────────────┼─────────────────┐
27-
│ script.csx rewrites URL based on │
28-
│ selected instance from dropdown │
29-
└─────────────────┬─────────────────┘
30-
31-
┌──────────────────────┼──────────────────────┐
32-
▼ ▼ ▼
33-
/instances/contoso/mcp /instances/fabrikam/mcp /instances/northwind/mcp
34-
│ │ │
35-
└──────────────────────┴──────────────────────┘
36-
MCP Server
37-
(single process, path-based routing)
14+
```mermaid
15+
flowchart TD
16+
CS["Copilot Studio<br/>(MCP client)"]
17+
CONN["Power Platform Connector<br/>x-ms-agentic-protocol: mcp-streamable-1.0"]
18+
SCRIPT["script.csx<br/>Rewrites URL based on<br/>selected instance"]
19+
CAT["Catalog Server<br/>GET /instances"]
20+
MCP["MCP Server<br/>(single process, path-based routing)"]
21+
C["/instances/contoso/mcp"]
22+
F["/instances/fabrikam/mcp"]
23+
N["/instances/northwind/mcp"]
24+
25+
CS -->|"MCP protocol"| CONN
26+
CONN -->|"ListInstances"| CAT
27+
CONN -->|"InvokeMCP"| SCRIPT
28+
SCRIPT -->|"rewritten URL"| MCP
29+
MCP --> C
30+
MCP --> F
31+
MCP --> N
3832
```
3933

4034
**Three components:**
@@ -183,9 +177,10 @@ Or use the one-step deploy script that handles login, servers, tunnel, and conne
183177
### 5. Configure Copilot Studio
184178

185179
1. Open your agent in [Copilot Studio](https://copilotstudio.microsoft.com/)
186-
2. Go to **Actions** > **Add an action** > search for "Dynamic MCP Connector"
187-
3. Select an instance from the dropdown
188-
4. The agent now has access to the MCP tools for that instance
180+
2. Go to **Tools** > **Add tool** > filter by **Model Context Protocol**
181+
3. Search for "Dynamic MCP Connector" and add it
182+
4. Select an instance from the dropdown
183+
5. The agent now has access to the MCP tools for that instance
189184

190185
## Example Queries
191186

0 commit comments

Comments
 (0)