![]() |
VOOZH | about |
Syncfusion AI Assistant
27 Apr 20267 minutes to read
The SyncfusionDocumentSDKAssistant is a specialized Model Context Protocol (MCP) server that provides intelligent assistance for developers using Syncfusion’s DocumentSDK libraries. This tool seamlessly integrates with compatible MCP clients to enhance your development workflow when building .NET applications with Syncfusion® Document Processing libraries, such as PDF, Word, Excel, and PowerPoint.
Before using SyncfusionDocumentSDKAssistant, ensure you have:
Syncfusion® offers unlimited access to this MCP server. There are no restrictions on:
This ensures users can fully leverage Syncfusion® components to enhance their development experience without limitations.
Before you can invoke the SyncfusionDocumentSDKAssistant MCP server, you need to configure your MCP client with these core settings. The Generic MCP Server Settings shown below are identical across all clients:
@syncfusion/documentsdk-assistant
Login to your Syncfusion account and generate an API Key from the API Key page. Replace YOUR_API_KEY_FILE_PATH or YOUR_API_KEY in the configuration files with your generated key.
There are two options:
Using an API Key File (Recommended)
Store your API key in a separate file and reference its path in the Syncfusion_API_Key_Path environment parameter. This approach is more secure as you don’t expose the key directly in configuration files.
Supported file formats: .txt or .key file
"env": {
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH" // "D:\\syncfusion-key.txt" (or) "D:\\syncfusion-key.key"
}Direct API Key
Paste your Syncfusion_API_Key directly in the configuration file’s environment parameter.
"env": {
"Syncfusion_API_Key": "YOUR_API_KEY"
}SyncfusionDocumentSDKAssistant can be configured in various MCP clients. Below are setup instructions for popular environments:
Custom Servers tab.documentsdk-mcp, choose Server Type as npm package, and set the NPM Package name to @syncfusion/documentsdk-assistant.Syncfusion_API_Key and value as your Syncfusion API key, then click Install Server.For additional details, see the Code Studio documentation.
.vscode/mcp.json file in your workspace folder. {
"servers": {
"syncfusion-documentsdk-assistant": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@syncfusion/documentsdk-assistant@latest"
],
"env": {
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
// or
"Syncfusion_API_Key": "YOUR_API_KEY"
}
}
}
}After updating the configuration in mcp.json, you’ll notice a “Start” option at the top of the config. This allows you to easily start the SyncfusionDocumentSDKAssistant server directly from the settings interface without additional commands.
Confirm that SyncfusionDocumentSDKAssistant is being used (this does not happen automatically). Look for a statement in the output, which is similar to:
SyncfusionDocumentSDKAssistant is running... (in VS Code)For more details, refer to the official Visual Studio documentation.
To configure an MCP server for a specific workspace, you can create a .cursor/mcp.json file in your workspace folder.
{
"mcpServers": {
"syncfusion-documentsdk-assistant": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@syncfusion/documentsdk-assistant@latest"
],
"env": {
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
// or
"Syncfusion_API_Key": "YOUR_API_KEY"
}
}
}
}For more details, refer to the Cursor documentation.
As JSON and add the following config: {
"mcpServers": {
"syncfusion-documentsdk-assistant": {
"command": "npx",
"args": [
"-y",
"@syncfusion/documentsdk-assistant@latest"
],
"env": {
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
// or
"Syncfusion_API_Key": "YOUR_API_KEY"
}
}
}
}For further assistance, see the JetBrains documentation.
For more detailed information about configuring MCP servers in various clients, refer to the official documentations, e.g., Windsurf
To activate the SyncfusionDocumentSDKAssistant MCP server:
In VS Code, you can also use #SyncfusionDocumentSDKAssistant to explicitly invoke the MCP server.
Syncfusion® MCP Servers provide full access to all AI interaction modes — Ask/Chat, Edit, and Agent — across supported MCP clients.
Be specific: Mention both platform and component (e.g., “How to digitally sign a PDF document using Syncfusion PDF library in .NET Core app?”).Provide context: Include details about your use case for more targeted solutions.Use descriptive queries: Avoid vague questions that lack necessary context.Start fresh for new topics: Begin a new chat session when switching components or topicsHere are some effective ways to use SyncfusionDocumentSDKAssistant:
If you encounter issues:
Product support is available through the following mediums.