Skip to content

Commit 21f3e93

Browse files
committed
docs(AI): Revamp VS Code MCP information
1 parent 5a4d177 commit 21f3e93

File tree

1 file changed

+9
-23
lines changed

1 file changed

+9
-23
lines changed

ai/mcp-server.md

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ You also need to add your [Telerik licence key](slug:installation-license-key) a
4444

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

47-
> 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.
47+
> Older Visual Studio versions seem to require the Copilot Chat window to be open and active when you open a solution. Otherwise the Telerik MCP server is not used.
4848
4949
To enable the Telerik MCP Server in a specific Blazor app, add a `.mcp.json` file to the solution folder.
5050

51-
> caption .mcp.json
51+
>caption .mcp.json
5252
5353
````JSON.skip-repl
5454
{
@@ -73,9 +73,9 @@ To enable global automatic discovery of the Telerik MCP Server in Visual Studio,
7373

7474
For detailed instructions, refer to [Use MCP servers in VS Code](https://code.visualstudio.com/docs/copilot/chat/mcp-servers).
7575

76-
To enable the Telerik MCP Server in a specific workspace or Blazor app, add a `.vscode` folder with an `mcp.json` file at the root of the workspace:
76+
To enable the Telerik MCP Server in a specific [workspace](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server-to-your-workspace), Blazor app, or [globally](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server-to-your-user-configuration), add a `.vscode` folder with an `mcp.json` file at the root of the workspace, app, or your user folder, respectively.
7777

78-
>caption .vscode/mcp.json at the workspace root
78+
>caption .vscode/mcp.json
7979
8080
````JSON.skip-repl
8181
{
@@ -92,34 +92,22 @@ To enable the Telerik MCP Server in a specific workspace or Blazor app, add a `.
9292
}
9393
````
9494

95-
To [add the Telerik MCP Server globally for VS Code, edit the VS Code `settings.json` file](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server-to-your-user-settings):
95+
To use the Telerik MCP server in all workspaces and apps, make sure that [`chat.mcp.discovery.enabled`](vscode://settings/chat.mcp.discovery.enabled) is enabled in [`settings.json`](https://code.visualstudio.com/docs/configure/settings#_settings-json-file).
9696

9797
>caption VS Code settings.json
9898
9999
````JSON.skip-repl
100100
{
101-
// ...
102-
"chat.mcp.discovery.enabled": true,
103-
"mcp": {
104-
"servers": {
105-
"telerikBlazorAssistant": {
106-
"type": "stdio",
107-
"command": "npx",
108-
"args": ["-y", "@progress/telerik-blazor-mcp@latest"],
109-
"env": {
110-
"TELERIK_LICENSE_PATH": "C:\\Users\\___\\AppData\\Roaming\\Telerik\\telerik-license.txt"
111-
}
112-
}
113-
}
114-
}
101+
// ...
102+
"chat.mcp.discovery.enabled": true,
115103
}
116104
````
117105

118106
### Cursor
119107

120-
For detailed instructions, refer to [Model Context Protocol](https://docs.cursor.com/context/model-context-protocol).
108+
For detailed instructions, refer to [Model Context Protocol](https://docs.cursor.com/context/mcp).
121109

122-
To [enable the Telerik MCP Server in a specific workspace](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server-to-your-workspace) or Blazor app, add a `.cursor` folder with an `mcp.json` file at the root of the workspace.
110+
To [enable the Telerik MCP Server in a specific workspace, Blazor app, or globally](https://docs.cursor.com/context/mcp#using-mcp-json), add a `.cursor` folder with an `mcp.json` file at the root of the workspace, app, or your user folder, respectively.
123111

124112
>caption .cursor/mcp.json
125113
@@ -138,8 +126,6 @@ To [enable the Telerik MCP Server in a specific workspace](https://code.visualst
138126
}
139127
````
140128

141-
To [add the Telerik MCP Server globally for Cursor](https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_add-an-mcp-server-to-your-user-settings), add a `.cursor` folder with the above `mcp.json` file in your user folder.
142-
143129
## Usage
144130

145131
To use the Telerik MCP Server:

0 commit comments

Comments
 (0)