You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/ai-coding-assistant/MCP-Server/pdfviewersdk.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,10 +86,19 @@ There are two options:
86
86
87
87
### Syncfusion<sup>®</sup> Code Studio
88
88
89
-
* In [Code Studio](https://www.syncfusion.com/code-studio/), open MCP Marketplace and navigate to the ```Custom Servers``` tab.
90
-
* Enter the Server Name as ```pdfviewersdk-mcp```, choose Server Type as npm package, and set the NPM Package name to ```@syncfusion/pdfviewersdk-assistant```.
91
-
* Add an environment variable as ```Syncfusion_API_Key``` and value as your [Syncfusion API key](https://syncfusion.com/account/api-key), then click **Install Server**.
89
+
* In [Code Studio](https://www.syncfusion.com/code-studio/), open MCP Marketplace
90
+

91
+
* Go to the ```Custom Servers``` tab and click **Add MCP Servers**
92
+

93
+
* In the dialog that appears, select **Accept and Continue** to launch the runtime window for configuring the PDF Viewer SDK MCP.
94
+

95
+
* Choose the NPM package installation mode. Enter the command **@syncfusion/pdfviewersdk-assistant** in the runtime window and press **Enter**
* When prompted, click allow in the opened options and select **Direct API key**. Enter the API key generated from the [Syncfusion API key](https://www.syncfusion.com/account/api-key), then press **Enter**.
98
+

99
+
* Provide server name such as ```syncfusion-pdfviewersdk-assistant```, then press **Enter**. The PDF Viewer SDK MCP server will get installed.
92
100
* 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](https://help.syncfusion.com/code-studio/reference/configure-properties/mcp/customservers).
94
103
95
104
For additional details, see the Code Studio [documentation](https://help.syncfusion.com/code-studio/reference/configure-properties/mcp/customservers).
@@ -119,7 +128,7 @@ For additional details, see the Code Studio [documentation](https://help.syncfus
119
128
```
120
129
121
130
* 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 <ahref ="https://www.npmjs.com/package/@syncfusion/pdfviewersdk-assistant">SyncfusionPDFViewerSDKAssistant</a> server directly from the settings interface without additional commands.
122
-
131
+

123
132
* Confirm that [SyncfusionPDFViewerSDKAssistant](https://www.npmjs.com/package/@syncfusion/pdfviewersdk-assistant) is being used (this does not happen automatically). Look for a statement in the output, which is similar to:
124
133
*```SyncfusionPDFViewerSDKAssistant is running...``` (in VS Code)
125
134
@@ -216,7 +225,7 @@ Here are some effective ways to use [SyncfusionPDFViewerSDKAssistant](https://ww
216
225
* "Show me a code snippet to load a PDF from Google Drive into Syncfusion PDF Viewer using React"
217
226
* "How do I toggle the annotation toolbar using Angular PDF Viewer"
218
227
* "Explain how to open the thumbnail panel programmatically in Syncfusion PDF Viewer using Vue."
219
-
* "Provide code to restrict zoom levels between 150% and 300% in Javascript PDF Viewer."
228
+
* "Provide code to restrict zoom levels between 150% and 300% in JavaScript PDF Viewer."
0 commit comments