Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@syncfusion/aspnetcore-assistant

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/aspnetcore-assistant - npm Package Compare versions

Comparing version
0.1.0
to
1.0.0
license

Sorry, the diff of this file is not supported yet

+1
-1

@@ -11,3 +11,3 @@ #!/usr/bin/env node

name: "SyncfusionAspNetCoreAssistant",
version: "0.1.0"
version: "1.0.0"
});

@@ -14,0 +14,0 @@ for (const tool of toolRegistry.getAll()) {

import axios from 'axios';
const apiKey = process.env.Syncfusion_API_Key || "";
import { readFileSync } from 'node:fs';
let apiKey;
if (process.env.Syncfusion_API_Key_Path) {
apiKey = readFileSync(process.env.Syncfusion_API_Key_Path, 'utf8');
}
else {
apiKey = process.env.Syncfusion_API_Key || "";
}
export async function callSyncfusionHelpbotAPI(query, platform, controls) {

@@ -4,0 +11,0 @@ try {

{
"name": "@syncfusion/aspnetcore-assistant",
"version": "0.1.0",
"version": "1.0.0",
"description": "MCP server that provides efficient access to Syncfusion documentation, implementation guidelines, and code generation for ASP.NET CORE",
"type": "module",
"license": "SEE LICENSE IN license",
"bin": {

@@ -23,10 +24,5 @@ "aspnetcore-assistant": "./dist/index.js"

"dependencies": {
"@modelcontextprotocol/sdk": "1.13.2",
"axios": "1.12.1"
},
"scripts": {
"build": "tsc",
"start": "tsc",
"inspector": "npx @modelcontextprotocol/inspector dist/index.js"
"@modelcontextprotocol/sdk": "1.23.0",
"axios": "1.13.2"
}
}

@@ -48,10 +48,30 @@ # SyncfusionAspNetCoreAssistant MCP Server

You need to add your [Syncfusion API key](https://syncfusion.com/account/api-key) as an env parameter in the configuration file:
#### API Key Configuration
```json
"env": {
"Syncfusion_API_Key": "YOUR_API_KEY"
}
```
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.
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
```json
"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.
```json
"env": {
"Syncfusion_API_Key": "YOUR_API_KEY"
}
```
Below are setup instructions for popular MCP clients:

@@ -82,2 +102,4 @@

"env": {
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
// or
"Syncfusion_API_Key": "YOUR_API_KEY"

@@ -109,2 +131,4 @@ }

"env": {
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
// or
"Syncfusion_API_Key": "YOUR_API_KEY"

@@ -117,3 +141,3 @@ }

* 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 SyncfusionAspNetCoreAssistant server directly from the settings interface without additional commands.
* 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 SyncfusionAspNetCoreAssistant server directly from the settings interface without additional commands.

@@ -139,2 +163,4 @@ * Confirm the server is active by checking for a message like: `SyncfusionAspNetCoreAssistant is running...` in the output.

"env": {
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
// or
"Syncfusion_API_Key": "YOUR_API_KEY"

@@ -165,2 +191,4 @@ }

"env": {
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH",
// or
"Syncfusion_API_Key": "YOUR_API_KEY"

@@ -167,0 +195,0 @@ }