Skip to content

Commit 03bb618

Browse files
988638: Updated the docs for usage of MCP Server
1 parent e9e37b4 commit 03bb618

File tree

13 files changed

+270
-4
lines changed

13 files changed

+270
-4
lines changed
Lines changed: 239 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,239 @@
1+
---
2+
layout: post
3+
title: SyncfusionAspNetMvcAssistant MCP Server | Syncfusion
4+
description: Learn how to configure and use SyncfusionAspNetMvcAssistant MCP server for code generation, documentation, and troubleshooting in ASP.NET MVC apps.
5+
control: Getting started with SyncfusionAspNetMvcAssistant MCP Server
6+
platform: ej2-asp-core-mvc
7+
publishingplatform: ##Platform_Name##
8+
documentation: ug
9+
---
10+
11+
# SyncfusionAspNetMvcAssistant MCP Server
12+
13+
## Overview
14+
15+
The [SyncfusionAspNetMvcAssistant](https://www.npmjs.com/package/@syncfusion/aspnetmvc-assistant) is a specialized [Model Context Protocol (MCP)](https://modelcontextprotocol.io/docs/getting-started/intro) server that provides intelligent assistance for developers using Syncfusion's ASP.NET MVC controls. This tool seamlessly integrates with compatible [MCP clients](https://modelcontextprotocol.io/clients) to enhance your development workflow when building ASP.NET MVC applications with Syncfusion<sup style="font-size:70%">&reg;</sup> controls.
16+
17+
### Key Benefits
18+
19+
* Intelligent code generation for Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC controls.
20+
* Detailed documentation and usage examples.
21+
* Troubleshooting assistance for common integration challenges.
22+
23+
## Prerequisites
24+
25+
Before using [SyncfusionAspNetMvcAssistant](https://www.npmjs.com/package/@syncfusion/aspnetmvc-assistant), ensure you have:
26+
27+
* Required [node](https://nodejs.org/en/) version >= 18
28+
* A [compatible MCP client](https://modelcontextprotocol.io/clients) (Visual Studio Code with GitHub Copilot, [Syncfusion<sup style="font-size:70%">&reg;</sup> CodeStudio](https://www.syncfusion.com/code-studio/), etc.)
29+
* An active Syncfusion<sup style="font-size:70%">&reg;</sup> license (any of the following):
30+
- [Commercial License](https://www.syncfusion.com/sales/unlimitedlicense)
31+
- [Free Community License](https://www.syncfusion.com/products/communitylicense)
32+
- [Free Trial](https://www.syncfusion.com/account/manage-trials/start-trials)
33+
* An active [API KEY](https://syncfusion.com/account/api-key)
34+
35+
## Unlimited Access
36+
37+
Syncfusion<sup style="font-size:70%">&reg;</sup> offers unlimited access to this MCP server. There are no restrictions on:
38+
39+
* Number of requests
40+
* Controls usage
41+
* Query caps
42+
* Usage duration
43+
44+
This ensures users can fully leverage Syncfusion<sup style="font-size:70%">&reg;</sup> controls to enhance their development experience without limitations.
45+
46+
## Installation and setup
47+
48+
Before you can invoke the `SyncfusionAspNetMvcAssistant` MCP server, you need to configure your MCP client with these settings. The **Generic MCP Server Settings** shown below are identical across all clients:
49+
50+
### Generic MCP Server Settings
51+
52+
- **npm package name**: `@syncfusion/aspnetmvc-assistant`
53+
- **Type**: stdio (standard input/output transport)
54+
- **Command**: npx
55+
- **Arguments**: -y
56+
- **Server name**: SyncfusionAspNetMvcAssistant
57+
58+
You need to add your [Syncfusion API key](https://syncfusion.com/account/api-key) as an env parameter in the configuration file:
59+
60+
```json
61+
"env": {
62+
"Syncfusion_API_Key": "YOUR_API_KEY"
63+
}
64+
```
65+
66+
Below are setup instructions for popular MCP clients:
67+
68+
### Syncfusion<sup style="font-size:70%">&reg;</sup> Code Studio
69+
70+
* In [Code Studio](https://www.syncfusion.com/code-studio/), open MCP Marketplace and navigate to the `Custom Servers` tab.
71+
* Enter the Server Name as `aspnetmvc-mcp`, choose Server Type as npm package, and set the NPM Package name to `@syncfusion/aspnetmvc-assistant`.
72+
* 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**.
73+
* Once installed, the server will appear in the User Installed Server list, and will be added to the **config.yaml** file.
74+
* 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#npm-server).
75+
76+
### Visual Studio Code (GitHub Copilot MCP)
77+
78+
* To configure an MCP server for a specific workspace, you can create a `.vscode/mcp.json` file in your workspace folder.
79+
80+
```json
81+
{
82+
"servers": {
83+
"syncfusion-aspnetmvc-assistant": {
84+
"type": "stdio",
85+
"command": "npx",
86+
"args": [
87+
"-y",
88+
"@syncfusion/aspnetmvc-assistant@latest"
89+
],
90+
"env": {
91+
"Syncfusion_API_Key": "YOUR_API_KEY"
92+
}
93+
}
94+
}
95+
}
96+
```
97+
98+
* 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 [SyncfusionAspNetMvcAssistant](https://www.npmjs.com/package/@syncfusion/aspnetmvc-assistant) server directly from the settings interface without additional commands.
99+
100+
* Confirm the server is active by checking for a message like: `SyncfusionAspNetMvcAssistant is running...` in the output.
101+
102+
* For additional guidance, refer to the [Visual Studio Code documentation](https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_add-an-mcp-server).
103+
104+
### Visual Studio (GitHub Copilot MCP)
105+
106+
* To configure an MCP server for a specific workspace, you can create a `.vs/mcp.json` file in your workspace folder.
107+
108+
```json
109+
{
110+
"servers": {
111+
"syncfusion-aspnetmvc-assistant": {
112+
"type": "stdio",
113+
"command": "npx",
114+
"args": [
115+
"-y",
116+
"@syncfusion/aspnetmvc-assistant@latest"
117+
],
118+
"env": {
119+
"Syncfusion_API_Key": "YOUR_API_KEY"
120+
}
121+
}
122+
}
123+
}
124+
```
125+
126+
* After updating the mcp.json configuration, open the GitHub Copilot Chat window. Click the Ask arrow, then select Agent.
127+
* Select the [SyncfusionAspNetMvcAssistant](https://www.npmjs.com/package/@syncfusion/aspnetmvc-assistant) from the tools section.
128+
* For more details, refer to the official [Visual Studio documentation](https://learn.microsoft.com/en-us/visualstudio/ide/mcp-servers?view=vs-2022).
129+
130+
### Cursor
131+
132+
To configure an MCP server for a specific workspace, you can create a `.cursor/mcp.json` file in your workspace folder.
133+
134+
```json
135+
{
136+
"mcpServers": {
137+
"syncfusion-aspnetmvc-assistant": {
138+
"type": "stdio",
139+
"command": "npx",
140+
"args": [
141+
"-y",
142+
"@syncfusion/aspnetmvc-assistant@latest"
143+
],
144+
"env": {
145+
"Syncfusion_API_Key": "YOUR_API_KEY"
146+
}
147+
}
148+
}
149+
}
150+
```
151+
152+
For more details, refer to the [Cursor documentation](https://cursor.com/docs/context/mcp#using-mcp-json).
153+
154+
### JetBrains IDEs
155+
156+
* Go to Settings -> Tools -> AI Assistant -> Model Context Protocol (MCP).
157+
* Click + Add to add a new MCP server configuration.
158+
* In the New MCP Server dialog, switch the dropdown as `As JSON` and add the following config:
159+
160+
```json
161+
{
162+
"mcpServers": {
163+
"syncfusion-aspnetmvc-assistant": {
164+
"command": "npx.cmd",
165+
"args": [
166+
"-y",
167+
"@syncfusion/aspnetmvc-assistant@latest"
168+
],
169+
"env": {
170+
"Syncfusion_API_Key": "YOUR_API_KEY"
171+
}
172+
}
173+
}
174+
}
175+
```
176+
177+
* Click OK and Apply.
178+
179+
For further assistance, see the [JetBrains documentation](https://www.jetbrains.com/help/ai-assistant/mcp.html#connect-to-an-mcp-server).
180+
181+
> For more detailed information about configuring MCP servers in various clients, refer to the official documentations, e.g., [Windsurf](https://docs.windsurf.com/windsurf/cascade/mcp#mcp-config-json)
182+
183+
## Usage
184+
185+
To activate the SyncfusionAspNetMvcAssistant MCP server:
186+
187+
1. Start your prompt with one of the following:
188+
* 'SyncfusionAspNetMvcAssistant'
189+
* '/syncfusion-aspnetmvc-assistant'
190+
* '/syncfusion-aspnetmvc'
191+
* '@syncfusion-aspnetmvc'
192+
* '@ask_syncfusion_aspnetmvc'
193+
* 'ej2-aspnetmvc'
194+
195+
In Visual Studio Code, you can also use #SyncfusionAspNetMvcAssistant to explicitly invoke the MCP server.
196+
197+
2. Grant permission for the server to run (for the session, workspace, or always).
198+
3. For best results, start a new chat for each new topic to maintain clean context.
199+
200+
### Mode availability
201+
202+
Syncfusion<sup style="font-size:70%">&reg;</sup> MCP Servers provide full access to all AI interaction modes — Ask/Chat, Edit, and Agent — across supported MCP clients.
203+
204+
### Best Practices for Effective Usage
205+
206+
1. `Be specific`: Mention both platform and control (e.g., "How do I create a Syncfusion ASP.NET MVC Grid with paging and filtering?").
207+
2. `Provide context`: Include details about your use case for more targeted solutions.
208+
3. `Use descriptive queries`: Avoid vague questions that lack necessary context.
209+
4. `Start fresh for new topics`: Begin a new chat session when switching controls or topics.
210+
211+
### Example Queries
212+
213+
Here are some effective ways to use [SyncfusionAspNetMvcAssistant](https://www.npmjs.com/package/@syncfusion/aspnetmvc-assistant):
214+
215+
* "Create a Syncfusion ASP.NET MVC Grid control with paging, sorting and filtering"
216+
* "How do I implement data binding with Syncfusion ASP.NET MVC scheduler?"
217+
* "Show me how to create a dashboard with multiple Syncfusion controls"
218+
219+
## Troubleshooting
220+
221+
If you encounter issues:
222+
223+
* Verify your API key is correctly configured.
224+
* Ensure the MCP server is enabled in your client's tools selection.
225+
* Check that you're using a compatible MCP client version.
226+
* Try restarting your development environment.
227+
228+
## Support
229+
230+
Product support is available through the following mediums.
231+
232+
* [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
233+
* [Community forum](https://www.syncfusion.com/forums/aspnetmvc-js2)
234+
* [Request feature or report bug](https://www.syncfusion.com/feedback/aspnet-mvc)
235+
* Live chat
236+
237+
## See also
238+
239+
* [Syncfusion ASP.NET MVC Documentation](https://ej2.syncfusion.com/aspnetmvc/documentation/getting-started/aspnet-mvc-htmlhelper)

ej2-asp-core-mvc/EJ2_ASP.MVC/ai-coding-assistant/overview.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,7 @@ The Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant is desi
6868

6969
* Add the [SyncfusionAspNetMvc MCP Server](./mcp-server.md) to an MCP-enabled client
7070
* [Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC Documentation](https://ej2.syncfusion.com/aspnetmvc/documentation/getting-started/aspnet-mvc-htmlhelper)
71+
<<<<<<< HEAD
7172

73+
=======
74+
>>>>>>> 6d3e37426 (988638: Updated the docs for usage of MCP Server)

ej2-asp-core-mvc/EJ2_ASP.MVC/introduction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ documentation: ug
1414

1515
The Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC UI (Essential<sup style="font-size:70%">&reg;</sup> JS 2) is a modern enterprise UI toolkit that has been built from the ground up to be lightweight, responsive, modular and touch friendly. It also available in other frameworks such as JavaScript and Angular, React.
1616

17+
**Ready to streamline your Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC development?** Discover the full potential of Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC controls with Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like Visual Studio, Visual Studio Code, Cursor, Syncfusion<sup style="font-size:70%">&reg;</sup> CodeStudio and more. [Explore Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant](https://ej2.syncfusion.com/aspnetmvc/documentation/ai-coding-assistant/overview)
18+
1719
## How to best read this user guide
1820

1921
* The best way to get started would be to read the "Getting Started" section of the documentation for the component that you would like to start using first. The "Getting Started" guide gives just enough information that you need to know before starting to write code. This is the only section that we recommend reading end-to-end before starting to write code, all other information can be referred as needed.

ej2-asp-core-mvc/EJ2_ASP.NETCORE/ai-coding-assistant/overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ To use the AI Coding Assistant, you need:
3434
Syncfusion<sup style="font-size:70%">&reg;</sup> offers unlimited access to the AI Coding Assistant, with no limitations on:
3535

3636
* Number of requests
37-
* Components usage
37+
* Controls usage
3838
* Query types
3939
* Usage duration
4040

41-
This ensures users can fully leverage Syncfusion<sup style="font-size:70%">&reg;</sup> components to enhance their development experience without limitations.
41+
This ensures users can fully leverage Syncfusion<sup style="font-size:70%">&reg;</sup> controls to enhance their development experience without limitations.
4242

4343
## Best Practices
4444

4545
* Initial Setup: Use the tools to quickly add and configure Syncfusion<sup style="font-size:70%">&reg;</sup> controls in your ASP.NET Core application.
46-
* Feature Tuning: Enable or disable component features through prompt-based configuration for tailored functionality.
46+
* Feature Tuning: Enable or disable control features through prompt-based configuration for tailored functionality.
4747
* Data Binding: Generate sample data for testing and prototyping. Avoid using sensitive or production data to ensure security.
48-
* Step-by-step explanations: Use annotated code to understand component behavior. Note that the level of detail may vary depending on the tool, mode, and AI model used. Refer to the [Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core Documentation](https://ej2.syncfusion.com/aspnetcore/documentation/getting-started/razor-pages) for in-depth information.
48+
* Step-by-step explanations: Use annotated code to understand control behavior. Note that the level of detail may vary depending on the tool, mode, and AI model used. Refer to the [Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET Core Documentation](https://ej2.syncfusion.com/aspnetcore/documentation/getting-started/razor-pages) for in-depth information.
4949
* Troubleshooting: Resolve common issues with AI-generated suggestions. For complex problems, refer to [documentation](https://ej2.syncfusion.com/aspnetcore/documentation/getting-started/razor-pages) or [support](https://support.syncfusion.com/support/tickets/create).
5050

5151
> Always check AI-generated content and code for accuracy before using it.

ej2-asp-core-mvc/chart/EJ2_ASP.MVC/getting-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ documentation: ug
1313

1414
This section briefly explains about how to include [ASP.NET MVC Chart](https://www.syncfusion.com/aspnet-mvc-ui-controls/charts) control in your ASP.NET MVC application using Visual Studio.
1515

16+
**Ready to streamline your Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC development?** Discover the full potential of Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC controls with Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like Visual Studio, Visual Studio Code, Cursor, Syncfusion<sup style="font-size:70%">&reg;</sup> CodeStudio and more. [Explore Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant](https://ej2.syncfusion.com/aspnetmvc/documentation/ai-coding-assistant/overview)
17+
1618
## Prerequisites
1719

1820
[System requirements for ASP.NET MVC controls](https://ej2.syncfusion.com/aspnetmvc/documentation/system-requirements)

ej2-asp-core-mvc/diagram/EJ2_ASP.MVC/getting-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ documentation: ug
1313

1414
This section briefly explains about how to include [ASP.NET MVC Diagram](https://www.syncfusion.com/aspnet-mvc-ui-controls/diagram) control in your ASP.NET MVC application using Visual Studio.
1515

16+
**Ready to streamline your Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC development?** Discover the full potential of Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC controls with Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like Visual Studio, Visual Studio Code, Cursor, Syncfusion<sup style="font-size:70%">&reg;</sup> CodeStudio and more. [Explore Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant](https://ej2.syncfusion.com/aspnetmvc/documentation/ai-coding-assistant/overview)
17+
1618
## Prerequisites
1719

1820
[System requirements for ASP.NET MVC controls](https://ej2.syncfusion.com/aspnetmvc/documentation/system-requirements)

ej2-asp-core-mvc/gantt/EJ2_ASP.MVC/getting-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ documentation: ug
1313

1414
This section briefly explains about how to include [ASP.NET MVC Gantt](https://www.syncfusion.com/aspnet-mvc-ui-controls/gantt-chart) control in your ASP.NET MVC application using Visual Studio.
1515

16+
**Ready to streamline your Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC development?** Discover the full potential of Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC controls with Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like Visual Studio, Visual Studio Code, Cursor, Syncfusion<sup style="font-size:70%">&reg;</sup> CodeStudio and more. [Explore Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant](https://ej2.syncfusion.com/aspnetmvc/documentation/ai-coding-assistant/overview)
17+
1618
## Prerequisites
1719

1820
[System requirements for ASP.NET MVC controls](https://ej2.syncfusion.com/aspnetmvc/documentation/system-requirements)

ej2-asp-core-mvc/grid/EJ2_ASP.MVC/getting-started-mvc.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ documentation: ug
1313

1414
This section briefly explains about how to include [ASP.NET MVC Grid](https://www.syncfusion.com/aspnet-mvc-ui-controls/grid) control in your ASP.NET MVC application using Visual Studio.
1515

16+
**Ready to streamline your Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC development?** Discover the full potential of Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC controls with Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like Visual Studio, Visual Studio Code, Cursor, Syncfusion<sup style="font-size:70%">&reg;</sup> CodeStudio and more. [Explore Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant](https://ej2.syncfusion.com/aspnetmvc/documentation/ai-coding-assistant/overview)
17+
1618
## Prerequisites
1719

1820
[System requirements for ASP.NET MVC controls](https://ej2.syncfusion.com/aspnetmvc/documentation/system-requirements)

ej2-asp-core-mvc/kanban/EJ2_ASP.MVC/getting-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ documentation: ug
1313

1414
This section briefly explains about how to include [ASP.NET MVC Kanban](https://www.syncfusion.com/aspnet-mvc-ui-controls/kanban-board) control in your ASP.NET MVC application using Visual Studio.
1515

16+
**Ready to streamline your Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC development?** Discover the full potential of Syncfusion<sup style="font-size:70%">&reg;</sup> ASP.NET MVC controls with Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant. Effortlessly integrate, configure, and enhance your projects with intelligent, context-aware code suggestions, streamlined setups, and real-time insights—all seamlessly integrated into your preferred AI-powered IDEs like Visual Studio, Visual Studio Code, Cursor, Syncfusion<sup style="font-size:70%">&reg;</sup> CodeStudio and more. [Explore Syncfusion<sup style="font-size:70%">&reg;</sup> AI Coding Assistant](https://ej2.syncfusion.com/aspnetmvc/documentation/ai-coding-assistant/overview)
17+
1618
## Prerequisites
1719

1820
[System requirements for ASP.NET MVC controls](https://ej2.syncfusion.com/aspnetmvc/documentation/system-requirements)

0 commit comments

Comments
 (0)