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: ej2-asp-core-mvc/EJ2_ASP.NETCORE/ai-coding-assistant/mcp-server.md
+34-8Lines changed: 34 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,13 +55,31 @@ Before you can invoke the `SyncfusionAspNetCoreAssistant` MCP server, you need t
55
55
-**Arguments**: -y
56
56
-**Server name**: syncfusionAspNetCoreAssistant
57
57
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
59
59
60
-
```json
61
-
"env": {
62
-
"Syncfusion_API_Key": "YOUR_API_KEY"
63
-
}
64
-
```
60
+
There are two options:
61
+
62
+
***Using an API Key File (Recommended)**
63
+
64
+
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.
0 commit comments