Package Description
$ dotnet add package Telerik.DPL.MCPThe Telerik Document Processing MCP Server enables you to achieve integration with your already existing AI workflows and reach new levels of developer productivity. The MCP server provides proprietary context to AI-powered IDEs, apps and tools. You can use the MCP server for Document Processing code generation and successfully prompt more complex questions and tasks, and generate tailored code that includes the Telerik Document Processing Libraries.
To use the Telerik Document Processing MCP server, you need:
Use the documentation of your AI-powered MCP client to add the Telerik Document Processing MCP server to a specific workspace or globally. You can see installation tips and examples for some popular MCP clients below.
The generic settings of the Telerik Document Processing MCP server are:
Server name: telerik-dpl-assistant
Type: stdio (standard input/output transport)
Command: dnx (the MCP server works through an nuget package)
Supported arguments: --yes
nuget package name: Telerik.DPL.MCP
You also need to add your Telerik licence key.
%AppData%/Telerik/telerik-license.txt;~/.telerik/telerik-license.txt;OR alternatively:
TELERIK_LICENSE_PATH argument and point to your Telerik license file location.TELERIK_LICENSE argument and paste your Telerik license key. Make sure to update the license key when necessary.For .NET 8 and 9 projects, you can install the MCP server as a local tool without global installation:
dotnet tool install Telerik.DPL.MCP
For VS Code .vscode/mcp.json using local tools:
{
"servers": {
"telerik-dpl-assistant": {
"type": "stdio",
"command": "dotnet",
"args": ["tool", "run", "telerik-dpl-assistant"]
}
},
"inputs": []
}
The MCP server requires a valid Telerik account with a valid license. In order to get a valid license key check the Purchasing & Licensing documentation.
Refer to Use MCP servers in Visual Studio.
To enable the Telerik Document Processing MCP server in a specific solution, add a .mcp.json file at the root of the solution:
.mcp.json at the solution root
{
"servers": {
"telerik-dpl-assistant": {
"type": "stdio",
"command": "dnx",
"args": ["Telerik.DPL.MCP", "--yes"]
}
},
"inputs": []
}
Refer to Use MCP servers in VS Code.
To enable the Telerik Document Processing MCP server in a specific workspace, add a .vscode folder with an mcp.json file at the root of the workspace:
.vscode/mcp.json at the workspace root
{
"servers": {
"telerik-dpl-assistant": {
"type": "stdio",
"command": "dnx",
"args": ["Telerik.DPL.MCP", "--yes"]
}
},
"inputs": []
}
Refer to Model Context Protocol.
To enable the Telerik Document Processing MCP server in a specific workspace, add a .cursor folder with an mcp.json file at the root of the workspace.
.cursor/mcp.json at the workspace root
{
"mcpServers": {
"telerik-dpl-assistant": {
"type": "stdio",
"command": "dnx",
"args": ["Telerik.DPL.MCP"]
}
}
}
To use the Telerik Document Processing MCP server:
Start your prompt with #telerik-dpl-assistant to make sure the Copilot chat will call the Telerik Document Processing MCP server. For best results, specify the target framework.
Confirm that the Telerik Document Processing MCP server is used, because this doesn't happen deterministically. Look for a statement in the output, which is similar to:
Running telerik-dpl-assistant (in VS Code)Calling MCP tool telerik-dpl-assistant (in Cursor)If the Telerik Document Processing MCP server is not used even though it's installed and enabled, then try rephrasing your prompt.
Grant the Telerik Document Processing MCP server a permission to run for this session, workspace, or always.
If you want to prompt for information or code that are not related to your previous prompts, it is a good practice to start a new session in a new chat window, so that the context is not polluted by irrelevant old information.
To increase the probability of the Telerik Document Processing MCP Server being used, or to call it without the need to mention "#telerik-dpl-assistant" explicitly, add custom instructions to your AI-powered tool. Here are examples for GitHub Copilot and Cursor.