Skip to content

Commit 550c2b8

Browse files
Merge branch 'hotfix/hotfix-v31.2.2' of https://github.com/syncfusion-content/maui-docs into hotfix/hotfix-v31.2.2
2 parents 32d9f2b + fb60b1e commit 550c2b8

20 files changed

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

0 commit comments

Comments
 (0)