Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions ai-coding-assistant/mcp-server-as-a-nuget.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ Additional requirements:

Install the MCP server as a local tool in your solution root (or another chosen path):

```powershell
````powershell
dotnet tool install -g Telerik.Reporting.MCP
```
````

If updating:

```powershell
````powershell
dotnet tool update -g Telerik.Reporting.MCP
```
````

These commands install/update the Telerik Reporting MCP [dotnet tool](https://learn.microsoft.com/en-us/dotnet/core/tools/global-tools) globally. Global tools are installed in the following directories by default when you specify the **-g** or **--global** option:

Expand All @@ -68,7 +68,7 @@ No manual install step is needed. The `dnx` command will download and execute th

Add a `.mcp.json` file to your solution root (or to `%USERPROFILE%` for global usage):

```json
````json
{
"servers": {
"telerik-reporting-assistant": {
Expand All @@ -81,21 +81,21 @@ Add a `.mcp.json` file to your solution root (or to `%USERPROFILE%` for global u
}
}
}
```
````

If you prefer embedding the license string directly:

```json
````json
"env": {
"TELERIK_LICENSE": "YOUR_LICENSE_KEY"
}
```
````

### .NET 10 Configuration (`.mcp.json`)

Use these settings when configuring the server in your MCP client:

```json
````json
{
"servers": {
"telerik-reporting-assistant": {
Expand All @@ -111,7 +111,7 @@ Use these settings when configuring the server in your MCP client:
}
}
}
```
````


You may substitute `TELERIK_LICENSE` instead of `TELERIK_LICENSE_PATH` (*see [License Configuration](#license-configuration) section below for details and recommendations*). The `inputs` array is optional and not required for the current functionality.
Expand Down Expand Up @@ -142,23 +142,23 @@ Add your [Telerik license key]({%slug license-key%}) using one of these options

__Option 1: License File Path (Recommended)__

```json
````json
"env": {
"TELERIK_LICENSE_PATH": "THE_PATH_TO_YOUR_LICENSE_FILE"
}
```
````

The `THE_PATH_TO_YOUR_LICENSE_FILE` should point to the `telerik-license.txt` file, usually in the AppData folder. Often it will look like:

`"TELERIK_LICENSE_PATH": "%appdata%/Telerik/telerik-license.txt"`

__Option 2: Direct License Key__

```json
````json
"env": {
"TELERIK_LICENSE": "YOUR_LICENSE_KEY_HERE"
}
```
````

> Option 1 is recommended unless you're sharing settings across different systems. Remember to [update your license key]({%slug license-key%}#updating-your-license-key) when necessary.

Expand Down