Skip to content

Commit 4df790b

Browse files
authored
docs(AI): Improve MCP settings information (#3034)
1 parent 39fbe5c commit 4df790b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

ai/mcp-server.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ Use the documentation of your AI-powered MCP client to add the Telerik MCP serve
2929
* Type: `stdio` (standard input/output transport)
3030
* Command: `npx`
3131
* 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`.
3336
3437
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:
3538

@@ -40,9 +43,7 @@ You also need to add your [Telerik licence key](slug:installation-license-key) a
4043

4144
For detailed instructions, refer to [Use MCP servers in Visual Studio](https://learn.microsoft.com/en-us/visualstudio/ide/mcp-servers).
4245

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.
4647
4748
To enable the Telerik MCP Server in a specific Blazor app, add a `.mcp.json` file to the solution folder.
4849

@@ -51,7 +52,7 @@ To enable the Telerik MCP Server in a specific Blazor app, add a `.mcp.json` fil
5152
````JSON.skip-repl
5253
{
5354
"servers": {
54-
"telerik_blazor_assistant": {
55+
"telerikBlazorAssistant": {
5556
"type": "stdio",
5657
"command": "npx",
5758
"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 `.
7879
````JSON.skip-repl
7980
{
8081
"servers": {
81-
"telerik_blazor_assistant": {
82+
"telerikBlazorAssistant": {
8283
"type": "stdio",
8384
"command": "npx",
8485
"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.
100101
"chat.mcp.discovery.enabled": true,
101102
"mcp": {
102103
"servers": {
103-
"telerik_blazor_assistant": {
104+
"telerikBlazorAssistant": {
104105
"type": "stdio",
105106
"command": "npx",
106107
"args": ["-y", "@progress/telerik-blazor-mcp"],
@@ -124,7 +125,7 @@ To [enable the Telerik MCP Server in a specific workspace](https://code.visualst
124125
````JSON.skip-repl
125126
{
126127
"mcpServers": {
127-
"telerik_blazor_assistant": {
128+
"telerikBlazorAssistant": {
128129
"type": "stdio",
129130
"command": "npx",
130131
"args": ["-y", "@progress/telerik-blazor-mcp"],

0 commit comments

Comments
 (0)