Skip to content

Commit 5293841

Browse files
author
bhuvaneshdhakshinmaoorthy
committed
999429: Modified the latest changes to spreadsheet
1 parent 1f067ba commit 5293841

2 files changed

Lines changed: 65 additions & 15 deletions

File tree

Document-Processing/ai-coding-assistant/MCP Server/documentsdk.md

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,30 @@ Before you can invoke the ```SyncfusionDocumentSDKAssistant``` MCP server, you n
5555
* **Arguments**: -y
5656
* **Server name**: syncfusionDocumentSDKAssistant
5757

58-
You need to add your [Syncfusion API key](https://syncfusion.com/account/api-key) as an env parameter in the configuration file:
58+
#### API Key Configuration
5959

60+
Login to your [Syncfusion account](http://syncfusion.com/account/) and generate an API Key from the [API Key page](https://www.syncfusion.com/account/api-key). Replace `YOUR_API_KEY_FILE_PATH` or `YOUR_API_KEY` in the configuration files with your generated key.
61+
62+
There are two options:
63+
64+
* **Using an API Key File (Recommended)**
65+
66+
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.
67+
68+
**Supported file formats:** `.txt` or `.key` file
69+
70+
~~~json
71+
"env": {
72+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH" // "D:\\syncfusion-key.txt" (or) "D:\\syncfusion-key.key"
73+
}
6074
~~~
61-
"env": {
62-
"Syncfusion_API_Key": "YOUR_API_KEY"
75+
* **Direct API Key**
76+
77+
Paste your `Syncfusion_API_Key` directly in the configuration file's environment parameter.
78+
79+
~~~json
80+
"env": {
81+
"Syncfusion_API_Key": "YOUR_API_KEY"
6382
}
6483
~~~
6584

@@ -89,14 +108,16 @@ For additional details, see the Code Studio [documentation](https://help.syncfus
89108
"@syncfusion/documentsdk-assistant@latest"
90109
],
91110
"env": {
111+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
112+
// or
92113
"Syncfusion_API_Key": "YOUR_API_KEY"
93114
}
94115
}
95116
}
96117
}
97118
~~~
98119

99-
* 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 <a href ="https://www.npmjs.com/package/@syncfusion/documentsdk-assistant">SyncfusionDocumentSDKAssistant</a> server directly from the settings interface without additional commands.
120+
* 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 <a href ="https://www.npmjs.com/package/@syncfusion/documentsdk-assistant">SyncfusionDocumentSDKAssistant</a> server directly from the settings interface without additional commands.
100121

101122
* Confirm that <a href ="https://www.npmjs.com/package/@syncfusion/documentsdk-assistant">SyncfusionDocumentSDKAssistant</a> is being used (this does not happen automatically). Look for a statement in the output, which is similar to:
102123

@@ -118,6 +139,8 @@ To configure an MCP server for a specific workspace, you can create a .cursor/mc
118139
"@syncfusion/documentsdk-assistant@latest"
119140
],
120141
"env": {
142+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
143+
// or
121144
"Syncfusion_API_Key": "YOUR_API_KEY"
122145
}
123146
}
@@ -142,6 +165,8 @@ For more details, refer to the <a href = "https://docs.cursor.com/en/context/mcp
142165
"@syncfusion/documentsdk-assistant@latest"
143166
],
144167
"env": {
168+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
169+
// or
145170
"Syncfusion_API_Key": "YOUR_API_KEY"
146171
}
147172
}

Document-Processing/ai-coding-assistant/MCP Server/spreadsheeteditorsdk.md

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,36 @@ Before you can invoke the ```SyncfusionSpreadsheetEditorSDKAssistant``` MCP serv
5555
- **Arguments**: -y
5656
- **Server name**: syncfusionSpreadsheetEditorSDKAssistant
5757

58-
You need to add your [Syncfusion API key](https://syncfusion.com/account/api-key) as an env parameter in the configuration file:
58+
#### API Key Configuration
5959

60-
```json
61-
"env": {
62-
"Syncfusion_API_Key": "YOUR_API_KEY"
63-
}
64-
```
60+
Login to your [Syncfusion account](http://syncfusion.com/account/) and generate an API Key from the [API Key page](https://www.syncfusion.com/account/api-key). Replace `YOUR_API_KEY_FILE_PATH` or `YOUR_API_KEY` in the configuration files with your generated key.
61+
62+
There are two options:
63+
64+
* **Using an API Key File (Recommended)**
65+
66+
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.
67+
68+
**Supported file formats:** `.txt` or `.key` file
69+
70+
~~~json
71+
"env": {
72+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH" // "D:\\syncfusion-key.txt" (or) "D:\\syncfusion-key.key"
73+
}
74+
~~~
75+
* **Direct API Key**
76+
77+
Paste your `Syncfusion_API_Key` directly in the configuration file's environment parameter.
78+
79+
~~~json
80+
"env": {
81+
"Syncfusion_API_Key": "YOUR_API_KEY"
82+
}
83+
~~~
6584

6685
[SyncfusionSpreadsheetEditorSDKAssistant](https://www.npmjs.com/package/@syncfusion/spreadsheeteditorsdk-assistant) can be configured in various MCP clients. Below are setup instructions for popular environment:
6786

68-
### Syncfusion<sup style="font-size:70%">&reg;</sup> Code Studio
87+
### Syncfusion<sup>&reg;</sup> Code Studio
6988

7089
* In [Code Studio](https://www.syncfusion.com/code-studio/), open MCP Marketplace and navigate to the ```Custom Servers``` tab.
7190
* Enter the Server Name as ```spreadsheeteditorsdk-mcp```, choose Server Type as npm package, and set the NPM Package name to ```@syncfusion/spreadsheeteditorsdk-assistant```.
@@ -90,14 +109,16 @@ For additional details, see the Code Studio [documentation](https://help.syncfus
90109
"@syncfusion/spreadsheeteditorsdk-assistant@latest"
91110
],
92111
"env": {
93-
"Syncfusion_API_Key": "YOUR_API_KEY"
112+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
113+
// or
114+
"Syncfusion_API_Key": "YOUR_API_KEY"
94115
}
95116
}
96117
}
97118
}
98119
```
99120

100-
* 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 [SyncfusionSpreadsheetEditorSDKAssistant](https://www.npmjs.com/package/@syncfusion/spreadsheeteditorsdk-assistant) server directly from the settings interface without additional commands.
121+
* After updating the configuration in mcp.json, youll notice a Start option at the top of the config. This allows you to easily start the <a href ="https://www.npmjs.com/package/@syncfusion/spreadsheeteditorsdk-assistant">SyncfusionSpreadsheetEditorSDKAssistant</a> server directly from the settings interface without additional commands.
101122

102123
* Confirm that [SyncfusionSpreadsheetEditorSDKAssistant](https://www.npmjs.com/package/@syncfusion/spreadsheeteditorsdk-assistant) is being used (this does not happen automatically). Look for a statement in the output, which is similar to:
103124
* ```SyncfusionSpreadsheetEditorSDKAssistant is running...``` (in VS Code)
@@ -119,7 +140,9 @@ To configure an MCP server for a specific workspace, you can create a .cursor/mc
119140
"@syncfusion/spreadsheeteditorsdk-assistant@latest"
120141
],
121142
"env": {
122-
"Syncfusion_API_Key": "YOUR_API_KEY"
143+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
144+
// or
145+
"Syncfusion_API_Key": "YOUR_API_KEY"
123146
}
124147
}
125148
}
@@ -143,7 +166,9 @@ For more details, refer to the <a href = "https://docs.cursor.com/en/context/mcp
143166
"@syncfusion/spreadsheeteditorsdk-assistant@latest"
144167
],
145168
"env": {
146-
"Syncfusion_API_Key": "YOUR_API_KEY"
169+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
170+
// or
171+
"Syncfusion_API_Key": "YOUR_API_KEY"
147172
}
148173
}
149174
}

0 commit comments

Comments
 (0)