SyncfusionDocumentSDKAssistant MCP Server
25 Nov 20256 minutes to read
Overview
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.
Key Benefits
- Intelligent code generation for Syncfusion® DocumentSDK components.
- Detailed component documentation and usage examples.
- Troubleshooting assistance for common integration challenges.
Prerequisites
Before using SyncfusionDocumentSDKAssistant, ensure you have:
- Required node version >= 18
- A compatible MCP client (VS Code with GitHub Copilot, Syncfusion® CodeStudio, etc.)
- An active Syncfusion® license (any of the following):
- An active API KEY
Unlimited Access
Syncfusion® offers unlimited access to this MCP server. There are no restrictions on:
- Number of requests
- Components usage
- Query types
- Usage duration
This ensures users can fully leverage Syncfusion® components to enhance their development experience without limitations.
Installation and setup
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:
Generic MCP Server Settings
-
npm package name:
@syncfusion/documentsdk-assistant - Type: stdio (standard input/output transport)
- Command: npx
- Arguments: -y
- Server name: syncfusionDocumentSDKAssistant
You need to add your Syncfusion API key as an env parameter in the configuration file:
"env": {
"Syncfusion_API_Key": "YOUR_API_KEY"
}
SyncfusionDocumentSDKAssistant can be configured in various MCP clients. Below are setup instructions for popular environments:
Syncfusion® Code Studio
- In Code Studio, open MCP Marketplace and navigate to the
Custom Serverstab. - Enter the Server Name as
documentsdk-mcp, choose Server Type as npm package, and set the NPM Package name to@syncfusion/documentsdk-assistant. - Add an environment variable as
Syncfusion_API_Keyand value as your Syncfusion API key, then click Install Server. - Once installed, the server will appear in the User Installed Server list and will be added to the config.yaml file.
- The server is now ready for use in Code Studio. For more details, refer to the Code Studio documentation.
For additional details, see the Code Studio documentation.
VS Code (GitHub Copilot MCP)
- To configure an MCP server for a specific workspace, you can create a
.vscode/mcp.jsonfile in your workspace folder.
{
"servers": {
"syncfusion-documentsdk-assistant": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@syncfusion/documentsdk-assistant@latest"
],
"env": {
"Syncfusion_API_Key": "YOUR_API_KEY"
}
}
}
}-
After updating the configuration in settings.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.
Cursor
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": "YOUR_API_KEY"
}
}
}
}For more details, refer to the Cursor documentation.
JetBrains IDEs
- Go to Settings -> Tools -> AI Assistant -> Model Context Protocol (MCP).
- Click + Add to add a new MCP server configuration.
- In the New MCP Server dialog, switch the dropdown as
As JSONand add the following config:
{
"mcpServers": {
"syncfusion-documentsdk-assistant": {
"command": "npx",
"args": [
"-y",
"@syncfusion/documentsdk-assistant@latest"
],
"env": {
"Syncfusion_API_Key": "YOUR_API_KEY"
}
}
}
}- Click OK and Apply.
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
Usage
To activate the SyncfusionDocumentSDKAssistant MCP server:
- Start your prompt with one of the following:
- ‘SyncfusionDocumentSDKAssistant’
- ‘/syncfusion-document-assistant’
- ‘/syncfusion-documentsdk’
- ‘@syncfusion-documentsdk’
- ‘@ask_syncfusion_documentsdk’
In VS Code, you can also use #SyncfusionDocumentSDKAssistant to explicitly invoke the MCP server.
- Grant the SyncfusionDocumentSDKAssistant MCP server a permission to run for this session, workspace, or always.
- For best results, start a new chat for each new topic to maintain clean context.
Mode availability
Syncfusion® MCP Servers provide full access to all AI interaction modes — Ask/Chat, Edit, and Agent — across supported MCP clients.
Best Practices for Effective Usage
-
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 topics
Example Queries
Here are some effective ways to use SyncfusionDocumentSDKAssistant:
- “Create an Excel file with formulas, charts, and conditional formatting using Syncfusion in WPF.”
- “How to perform a mail merge in a Word document using Syncfusion Word library?”
- “Extract text and images from an existing PDF using Syncfusion.”
- “How do I convert a Word document to PDF using Syncfusion in Blazor app?”
- “Using Syncfusion, how can I combine multiple PowerPoint presentations into one in a WinUI application?”
Troubleshooting
If you encounter issues:
- Verify your API key is correctly configured.
- Ensure the MCP server is enabled in your client’s tools selection.
- Check that you’re using a compatible MCP client version.
- Try restarting your development environment.
Support
Product support is available through the following mediums.
- Support ticket - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
- Community forum
- Request feature or report bug
- Live chat