-
Notifications
You must be signed in to change notification settings - Fork 79
Document MCP Configuration Features for Visual Studio and VS Code Extensions #3144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f0a0eb4
Initial plan
Copilot 569cf8f
Add MCP server and AI configuration documentation for VS and VS Code …
Copilot bcce16a
Polish AI generated content
dimodi 50b4525
continued
dimodi 6e3fb76
Update .spelling
dimodi 97fc342
Update ai/copilot-extension.md
dimodi c47d521
Update getting-started/vs-code-integration/introduction.md
dimodi 672afa4
Update getting-started/vs-integration/introduction.md
dimodi 3898874
Update getting-started/vs-code-integration/introduction.md
dimodi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
#number-of-requests | ||
A Telerik [Subscription license](https://www.telerik.com/purchase/faq/licensing-purchasing) is recommended in order to use the Telerik Blazor AI Coding Assistant without restrictions. Perpetual license holders and trial users can make a [limited number of requests per year](slug:ai-overview#number-of-requests). | ||
#end | ||
|
||
#vs-intro | ||
provides automated configuration commands for the Telerik AI-powered development tools. These commands help you quickly set up the [Telerik MCP server](slug:ai-mcp-server) and [GitHub Copilot extension](slug:ai-copilot-extension) for enhanced developer productivity with Telerik UI for Blazor components. | ||
#end | ||
|
||
#prerequisites | ||
* Check the tool-specific prerequisites for the [Telerik Blazor MCP Server](slug:ai-mcp-server#prerequisites) and the [Telerik Blazor extension for GitHub Copilot](slug:ai-copilot-extension#prerequisites). | ||
#end | ||
|
||
#verify-license-key | ||
file to verify that the `TELERIK_LICENSE_PATH` value matches your actual [Telerik license file location](slug:installation-license-key). Alternatively, replace `TELERIK_LICENSE_PATH` with `TELERIK_LICENSE` and set your license key directly. Using `TELERIK_LICENSE_PATH` is recommended. | ||
#end | ||
|
||
#command-github-app | ||
command opens the [TelerikBlazor GitHub App installation page](https://github.com/apps/telerikblazor/installations/select_target) in your default browser. Then, follow the [installation instructions for the Telerik Blazor GitHub Copilot Extension](slug:ai-copilot-extension#installation). | ||
#end | ||
|
||
#copilot-instructions | ||
command generates a `copilot-instructions.md` file in the `.github` folder under the solution. This file contains custom instructions that help GitHub Copilot provide better assistance when working with Telerik UI for Blazor components. The generated file includes the following default instructions: | ||
|
||
* Guidance to use the Telerik MCP Server whenever applicable | ||
* Guidance to prioritize the usage of Telerik UI components | ||
* Guidance to use best coding practices related to Telerik UI for Blazor | ||
#end | ||
|
||
#see-also | ||
* [Telerik AI Tooling Overview](slug:ai-overview) | ||
* [Telerik Blazor MCP Server](slug:ai-mcp-server) | ||
* [Telerik Blazor GitHub Copilot Extension](slug:ai-copilot-extension) | ||
#end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
title: AI Tools Configuration | ||
page_title: AI Tools Configuration in VS Code | ||
description: Learn how to configure Telerik AI-powered tools like the MCP server and GitHub Copilot extension for Telerik UI for Blazor development in Visual Studio Code (VS Code). | ||
slug: getting-started-vs-code-integration-ai-configuration | ||
position: 4 | ||
--- | ||
|
||
# AI Tools Configuration in VS Code | ||
|
||
The Telerik UI for Blazor Extension for VS Code @[template](/_contentTemplates/common/ai-coding-assistant.md#vs-intro) | ||
|
||
## Prerequisites | ||
|
||
To set up the Telerik UI for Blazor AI tools automatically: | ||
|
||
* [Install the Telerik UI for Blazor extension for VS Code](slug:getting-started-vs-code-integration-overview). | ||
@[template](/_contentTemplates/common/ai-coding-assistant.md#prerequisites) | ||
|
||
To access the automated commands: | ||
|
||
1. Open the [Command Palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette) at the center top of the VS Code interface. | ||
1. Select **Show and Run Commands**. | ||
1. Search for the following Telerik commands: | ||
* [Configure MCP Server](#configure-mcp-server) | ||
* [Install Telerik Blazor Copilot Extension](#install-telerik-blazor-copilot-extension) | ||
* [Add GitHub Copilot Custom Instructions](#add-github-copilot-custom-instructions) | ||
|
||
## Configure MCP Server | ||
|
||
The **Telerik UI for Blazor: Configure MCP Server** command provides two configuration scopes to set up the [Telerik Blazor MCP Server](slug:ai-mcp-server#vs-code): | ||
|
||
* **Workspace**—Creates an `mcp.json` file in a `.vscode` folder in your current workspace. This configuration applies only to the current workspace. | ||
* **Global**—Creates an `mcp.json` file in your operating system user folder (for example, `C:\Users\___\AppData\Roaming\Code\User\.mcp.json` on Windows or `/Users/___/Library/Application Support/Code/User/mcp.json` on macOS). This configuration applies to all VS Code workspaces. | ||
|
||
> Make sure to open the generated `mcp.json` @[template](/_contentTemplates/common/ai-coding-assistant.md#verify-license-key) | ||
|
||
Finally, check for any [usage notes about the Telerik Blazor MCP Server](slug:ai-mcp-server#vs-code). | ||
|
||
## Add GitHub Copilot Custom Instructions | ||
|
||
The **Telerik UI for Blazor: Add GitHub Copilot Custom Instructions** @[template](/_contentTemplates/common/ai-coding-assistant.md#copilot-instructions) | ||
|
||
## Install Telerik Blazor Copilot Extension | ||
|
||
The **Telerik UI for Blazor: Install Telerik Blazor Copilot Extension** @[template](/_contentTemplates/common/ai-coding-assistant.md#command-github-app) | ||
|
||
## See Also | ||
|
||
@[template](/_contentTemplates/common/ai-coding-assistant.md#see-also) | ||
* [VS Code Integration Overview](slug:getting-started-vs-code-integration-overview) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
title: AI Tools Configuration | ||
page_title: AI Tools Configuration in Visual Studio | ||
description: Learn how to configure Telerik AI-powered tools like the MCP server and GitHub Copilot extension for Telerik UI for Blazor development in Visual Studio. | ||
slug: getting-started-vs-integration-ai-configuration | ||
position: 8 | ||
--- | ||
|
||
# AI Tools Configuration in Visual Studio | ||
|
||
The Telerik UI for Blazor Extension for Visual Studio @[template](/_contentTemplates/common/ai-coding-assistant.md#vs-intro) | ||
|
||
## Prerequisites | ||
|
||
To set up the Telerik UI for Blazor AI tools automatically: | ||
|
||
* [Install the Telerik UI for Blazor extension for Visual Studio](slug:getting-started-vs-integration-overview). | ||
@[template](/_contentTemplates/common/ai-coding-assistant.md#prerequisites) | ||
|
||
To access the automated commands, open **Extensions** > **Telerik** > **Telerik UI for Blazor** in the Visual Studio menu. | ||
|
||
## Configure Telerik MCP Server | ||
|
||
The Telerik UI for Blazor extension provides two menu options to [set up the Telerik Blazor MCP server](slug:ai-mcp-server#visual-studio): | ||
|
||
* **Configure MCP Server for Solution**—this command creates an `.mcp.json` file in the solution folder. The configuration applies only to the projects in that application. | ||
* **Configure MCP Server Globally**—this command creates an `.mcp.json` file in your operating system user folder (`%USERPROFILE%`, for example, `C:\Users\___\.mcp.json`). This configuration applies to all Visual Studio solutions and projects. | ||
|
||
> Make sure to open the generated `.mcp.json` @[template](/_contentTemplates/common/ai-coding-assistant.md#verify-license-key) | ||
|
||
Finally, check for any [usage notes about the Telerik Blazor MCP Server](slug:ai-mcp-server#visual-studio). | ||
|
||
## Add/Update Copilot Instructions | ||
|
||
The **Add/Update Copilot Instructions** @[template](/_contentTemplates/common/ai-coding-assistant.md#copilot-instructions) | ||
|
||
## Install Telerik Blazor Copilot Extension | ||
|
||
The **Install Telerik Blazor Copilot Extension** @[template](/_contentTemplates/common/ai-coding-assistant.md#command-github-app) | ||
|
||
## See Also | ||
|
||
@[template](/_contentTemplates/common/ai-coding-assistant.md#see-also) | ||
* [Visual Studio Integration Overview](slug:getting-started-vs-integration-overview) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.