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: ai/mcp-server.md
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,10 @@ Use the documentation of your AI-powered MCP client to add the Telerik MCP serve
29
29
* Type: `stdio` (standard input/output transport)
30
30
* Command: `npx`
31
31
* Arguments: `-y`
32
-
* Server name: `telerik_blazor_assistant` (depends on your preferences)
32
+
* Server name: `telerikBlazorAssistant` (depends on your preferences)
33
+
34
+
> * Do not use hyphens (`-`) or underscores (`_`) in the MCP server name in the MCP `.json` file, due to potential compatibility issues with some MCP clients such as Visual Studio or Windsurf.
35
+
> * Some MCP clients expect the MCP servers to be listed under a `servers` JSON key, while others expect `mcpServers`.
33
36
34
37
You also need to add your [Telerik licence key](slug:installation-license-key) as an `env` parameter in the `mcp.json` file. There are two options:
35
38
@@ -40,9 +43,7 @@ You also need to add your [Telerik licence key](slug:installation-license-key) a
40
43
41
44
For detailed instructions, refer to [Use MCP servers in Visual Studio](https://learn.microsoft.com/en-us/visualstudio/ide/mcp-servers).
42
45
43
-
> Visual Studio 17.14 seems to impose the following requirements:
44
-
> * Do not use hyphens (`-`) in the MCP server name in `.mcp.json`. For example, `"telerik_blazor_assistant"` and `"telerikblazorassistant"` work, but `"telerik-blazor-assistant"` does not.
45
-
> * The Copilot Chat window must be open and active when you open a solution.
46
+
> Visual Studio 17.14 seems to require the Copilot Chat window to be open and active when you open a solution. Otherwise the Telerik MCP server is not used.
46
47
47
48
To enable the Telerik MCP Server in a specific Blazor app, add a `.mcp.json` file to the solution folder.
48
49
@@ -51,7 +52,7 @@ To enable the Telerik MCP Server in a specific Blazor app, add a `.mcp.json` fil
51
52
````JSON.skip-repl
52
53
{
53
54
"servers": {
54
-
"telerik_blazor_assistant": {
55
+
"telerikBlazorAssistant": {
55
56
"type": "stdio",
56
57
"command": "npx",
57
58
"args": ["-y", "@progress/telerik-blazor-mcp"],
@@ -78,7 +79,7 @@ To enable the Telerik MCP Server in a specific workspace or Blazor app, add a `.
78
79
````JSON.skip-repl
79
80
{
80
81
"servers": {
81
-
"telerik_blazor_assistant": {
82
+
"telerikBlazorAssistant": {
82
83
"type": "stdio",
83
84
"command": "npx",
84
85
"args": ["-y", "@progress/telerik-blazor-mcp"],
@@ -100,7 +101,7 @@ To [add the Telerik MCP Server globally for VS Code, edit the VS Code `settings.
100
101
"chat.mcp.discovery.enabled": true,
101
102
"mcp": {
102
103
"servers": {
103
-
"telerik_blazor_assistant": {
104
+
"telerikBlazorAssistant": {
104
105
"type": "stdio",
105
106
"command": "npx",
106
107
"args": ["-y", "@progress/telerik-blazor-mcp"],
@@ -124,7 +125,7 @@ To [enable the Telerik MCP Server in a specific workspace](https://code.visualst
0 commit comments