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
Copy file name to clipboardExpand all lines: blazor/ai-coding-assistants/mcp-server.md
+32-5Lines changed: 32 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ The [SyncfusionBlazorAssistant](https://www.npmjs.com/package/@syncfusion/blazor
24
24
Before using [SyncfusionBlazorAssistant](https://www.npmjs.com/package/@syncfusion/blazor-assistant), ensure you have:
25
25
26
26
* Required [node](https://nodejs.org/en/) version >= 18
27
-
* A [compatible MCP client](https://modelcontextprotocol.io/clients) (VS Code with GitHub Copilot, [Syncfusion<supstyle="font-size:70%">®</sup> CodeStudio](https://www.syncfusion.com/code-studio/), etc.)
27
+
* A [compatible MCP client](https://modelcontextprotocol.io/clients) (Visual Studio Code with GitHub Copilot, [Syncfusion<supstyle="font-size:70%">®</sup> CodeStudio](https://www.syncfusion.com/code-studio/), etc.)
28
28
* An active Syncfusion<supstyle="font-size:70%">®</sup> license (any of the following):
-[Free Community License](https://www.syncfusion.com/products/communitylicense)
@@ -73,7 +73,7 @@ You need to add your [Syncfusion API key](https://syncfusion.com/account/api-key
73
73
74
74
For additional details, see the Code Studio [documentation](https://help.syncfusion.com/code-studio/reference/configure-properties/mcp/marketplace).
75
75
76
-
### VS Code (GitHub Copilot MCP)
76
+
### Visual Studio Code (GitHub Copilot MCP)
77
77
78
78
1. To configure an MCP server for a specific workspace, you can create a `.vscode/mcp.json` file in your workspace folder.
79
79
@@ -98,7 +98,34 @@ For additional details, see the Code Studio [documentation](https://help.syncfus
98
98
2. After updating the configuration in settings.json, you'll notice a "Start" option at the top of the config. This allows you to easily start the [SyncfusionBlazorAssistant](https://www.npmjs.com/package/@syncfusion/blazor-assistant) server directly from the settings interface without additional commands.
99
99
100
100
3. Confirm that [SyncfusionBlazorAssistant](https://www.npmjs.com/package/@syncfusion/blazor-assistant) is being used (this does not happen automatically). Look for a statement in the output, which is similar to:
101
-
*`SyncfusionBlazorAssistant is running...` (in VS Code)
101
+
*`SyncfusionBlazorAssistant is running...` (in Visual Studio Code)
102
+
103
+
### Visual Studio (GitHub Copilot MCP)
104
+
105
+
* To configure an MCP server for a specific workspace, you can create a `.vs/mcp.json` file in your workspace folder.
106
+
107
+
```json
108
+
{
109
+
"servers": {
110
+
"syncfusion-blazor-assistant": {
111
+
"type": "stdio",
112
+
"command": "npx",
113
+
"args": [
114
+
"-y",
115
+
"@syncfusion/blazor-assistant@latest"
116
+
],
117
+
"env": {
118
+
"Syncfusion_API_Key": "YOUR_API_KEY"
119
+
}
120
+
}
121
+
}
122
+
}
123
+
```
124
+
125
+
* After updating the mcp.json configuration, open the GitHub Copilot Chat window. Click the Ask arrow, then select Agent.
126
+
* Select the [SyncfusionBlazorAssistant](https://www.npmjs.com/package/@syncfusion/blazor-assistant) from the tools section.
127
+
* For more details, refer to the official [Visual Studio documentation](https://learn.microsoft.com/en-us/visualstudio/ide/mcp-servers?view=vs-2022).
128
+
102
129
103
130
### Cursor
104
131
@@ -148,7 +175,7 @@ To configure an MCP server for a specific workspace, you can create a .cursor/mc
148
175
4. Click OK and Apply.
149
176
150
177
> For more detailed information about configuring MCP servers in various clients, refer to the official documentations.
0 commit comments