Skip to content

Commit b3fbaac

Browse files
Merge branch 'development' of https://github.com/syncfusion-content/document-processing-docs into Revamp_PPT
2 parents 90a2f44 + c8d1990 commit b3fbaac

127 files changed

Lines changed: 7346 additions & 582 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Document-Processing-toc.html

Lines changed: 280 additions & 237 deletions
Large diffs are not rendered by default.

Document-Processing/Excel/Excel-Library/NET/Cells-Manipulation/Sorting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A range of cells in Excel worksheet can be sorted based on data in one or more c
1414
* Font Color
1515
* Cell Color
1616

17-
N> Currently XlsIO dont support sorting based on cell icon, parsing and serialization of its sorting details.
17+
N> Currently XlsIO don't support sorting based on cell icon, parsing and serialization of its sorting details.
1818

1919
## Cell Values
2020

Document-Processing/Excel/Excel-Library/NET/Working-with-Excel-Tables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ A complete working example to apply custom table style in C# is present on [this
507507

508508
The following screenshot represents generated Excel file with custom table styles in XlsIO.
509509

510-
![custom table style](Working-with-Excel-Tables_images/Working-with-Tables_img1.jpg)
510+
![custom table style](Working-with-pivot-tables_images/Working-with-Tables_img1.jpg)
511511

512512
N> The [TableStyles](https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.ITableStyles.html) API only retrieves custom table styles.
513513

@@ -662,7 +662,7 @@ End Using
662662

663663
A complete working example to insert total row in C# is present on [this GitHub page](https://github.com/SyncfusionExamples/XlsIO-Examples/tree/master/Create%20and%20Edit%20Table/Add%20Total%20Row/.NET/Add%20Total%20Row).
664664

665-
## Create a table from external connectionÂ
665+
## Create a table from external connection
666666

667667
External connection support allows you to work with the most recent data right in the workbook. After the data is imported, only refresh operations are performed to retrieve the updated data.
668668

Document-Processing/Excel/Excel-Library/NET/Working-with-Pictures.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ documentation: UG
88
# Working with Pictures
99

1010
XlsIO supports inserting pictures into a worksheet. Refer to the following code snippet.
11+
{% tabs %}
1112
{% highlight c# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/XlsIO-Examples/master/Pictures%20in%20Excel/Add%20Picture/.NET/Add%20Picture/Add%20Picture/Program.cs,180" %}
1213
using (ExcelEngine excelEngine = new ExcelEngine())
1314
{
@@ -478,10 +479,10 @@ Using excelEngine As ExcelEngine = New ExcelEngine()
478479
Dim workbook As IWorkbook = application.Workbooks.Create(1)
479480
Dim worksheet As IWorksheet = workbook.Worksheets(0)
480481

481-
'Add image from the specified url at the specified location in the worksheet
482+
'Add image from the specified url at the specified location in the worksheet
482483
worksheet.Pictures.AddPictureAsLink(1, 1, 5, 7, "https://cdn.syncfusion.com/content/images/company-logos/Syncfusion_Logo_Image.png")
483484

484-
'Save workbook
485+
'Save workbook
485486
workbook.SaveAs("ExternalImage.xlsx")
486487
End Using
487488
{% endhighlight %}
@@ -530,7 +531,7 @@ using (ExcelEngine excelEngine = new ExcelEngine())
530531
FileStream svgStream = new FileStream("Sample.svg", FileMode.Open);
531532
FileStream pngStream = new FileStream("Sample.png", FileMode.Open);
532533

533-
//Add svg image with given svg and png streams
534+
//Add svg image with given svg and png streams
534535
worksheet.Pictures.AddPicture(1, 1, svgStream, pngStream);
535536

536537
//Save workbook
@@ -548,10 +549,10 @@ Using excelEngine As ExcelEngine = New ExcelEngine()
548549
Dim svgStream As New FileStream("Sample.svg", FileMode.Open)
549550
Dim pngStream As New FileStream("Sample.png", FileMode.Open)
550551

551-
'Add svg image with given svg and png streams
552+
'Add svg image with given svg and png streams
552553
worksheet.Pictures.AddPicture(1, 1, svgStream, pngStream)
553554

554-
'Save workbook
555+
'Save workbook
555556
workbook.SaveAs("Svg.xlsx")
556557
End Using
557558
{% endhighlight %}
@@ -618,7 +619,7 @@ Using excelEngine As ExcelEngine = New ExcelEngine()
618619

619620
shape.PlaceInCell = True
620621

621-
'Save workbook
622+
'Save workbook
622623
workbook.SaveAs("PlaceInCellPicture.xlsx")
623624
End Using
624625
{% endhighlight %}

Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/cell-range.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The following features have some limitations in Merge:
8585

8686
The **Data Validation** is used to prevent users from entering invalid data. You can use the [`allowDataValidation`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowDataValidation) property to enable or disable data validation.
8787

88-
N> * The default value for `allowDataValidation` property is `true`.
88+
N> The default value for `allowDataValidation` property is `true`.
8989

9090
### Apply Validation
9191

Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/clipboard.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Cut can be done in one of the following ways.
2424

2525
* Using Cut button in the Ribbon’s HOME tab to perform cut operation.
2626
* Using Cut option in the Context Menu.
27-
* Using `Ctrl + X` | `Command + X` keyboard shortcut.
27+
* Using `Ctrl + X` or `Command + X` keyboard shortcut.
2828
* Using the `cut` method.
2929

3030
## Copy
@@ -37,7 +37,7 @@ Copy can be done in one of the following ways.
3737

3838
* Using Copy button in the Ribbon’s HOME tab to perform copy operation.
3939
* Using Copy option in the Context Menu.
40-
* Using `Ctrl + C` | `Command + C` keyboard shortcut.
40+
* Using `Ctrl + C` or `Command + C` keyboard shortcut.
4141
* Using the `copy` method.
4242

4343
## Paste
@@ -55,7 +55,7 @@ Paste can be done in one of the following ways.
5555

5656
* Using Paste button in the Ribbon’s HOME tab to perform paste operation.
5757
* Using Paste option in the Context Menu.
58-
* Using `Ctrl + V` | `Command + V` keyboard shortcut.
58+
* Using `Ctrl + V` or `Command + V` keyboard shortcut.
5959
* Using the `paste` method.
6060

6161
N> If you use the Keyboard shortcut key for cut (`Ctrl + X`) | copy (`Ctrl + C`) from other sources, you should use `Ctrl + V` shortcut while pasting into the spreadsheet.

Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/link.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ documentation: ug
1212

1313
Hyperlinks allow users to navigate to web pages, cell references within the current worksheet, or cells in other worksheets. Use the [`allowHyperlink`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Spreadsheet.Spreadsheet.html#Syncfusion_EJ2_Spreadsheet_Spreadsheet_AllowHyperlink) property to enable or disable hyperlink functionality in the Spreadsheet.
1414

15-
N> * The default value of the `allowHyperlink` property is `true`.
15+
N> The default value of the `allowHyperlink` property is `true`.
1616

1717
## Insert Link
1818

Lines changed: 273 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,273 @@
1+
---
2+
layout: post
3+
title: ASP.NET Core Spreadsheet MCP Server Setup | Syncfusion®
4+
description: Install and configure the Syncfusion® ASP.NET Core Spreadsheet MCP Server to access documentation, API guidance, code examples, and troubleshooting support.
5+
control: Spreadsheet
6+
platform: document-processing
7+
documentation: ug
8+
keywords: ASP.NET Core Agentic UI Builder, MCP Server, search docs, Spreadsheet SDK, Server Packages
9+
---
10+
11+
# ASP.NET Core Spreadsheet MCP Server
12+
13+
The Syncfusion® ASP.NET Core MCP Server accelerates Spreadsheet application development by providing relevant documentation, API references, feature guidance, code examples, and troubleshooting information directly within an AI-powered IDE. The server uses the [Model Context Protocol](https://modelcontextprotocol.io/docs/2026-07-28/getting-started/intro) to connect an AI assistant with Syncfusion ASP.NET Core documentation.
14+
15+
Use the `search_docs` tool to obtain contextual guidance, code examples, and documentation for ASP.NET Core Spreadsheet applications.
16+
17+
> The previously available Agentic UI Builder (`#sf_aspnetcore_ui_builder`) has been upgraded to an Agent skill-based experience and is no longer part of the MCP Server. To learn more about the new Agentic UI Builder, see the [documentation](https://ej2.syncfusion.com/aspnetcore/documentation/mcp). The AI Coding Assistant (`#sf_aspnetcore_assistant`) has been renamed to `search_docs` (`#search_docs`) to ensure that the tool name follows MCP naming conventions.
18+
19+
## Key benefits
20+
21+
- **Spreadsheet-specific guidance**: Access relevant documentation for data binding, formulas, open and save operations, charts, conditional formatting, sorting, filtering, hyperlinks, scrolling, and other Spreadsheet features.
22+
- **API assistance**: Find ASP.NET Core Spreadsheet properties, methods, and events with contextual usage guidance.
23+
- **Troubleshooting support**: Search for guidance related to rendering, data loading, import and export, and performance issues.
24+
- **IDE integration**: Use Syncfusion documentation from compatible MCP clients such as Visual Studio Code, Syncfusion Code Studio, Cursor, and JetBrains.
25+
- **Privacy-focused operation**: The MCP Server processes requests based on the submitted query without storing prompts or application content.
26+
27+
## Prerequisites
28+
29+
Before configuring the ASP.NET Core MCP Server, ensure that you have:
30+
31+
- **.NET 10 SDK** (for automatic configuration) **or** .NET 8 / .NET 9 SDK (for manual configuration).
32+
- A **compatible MCP client**, such as Visual Studio Code, Syncfusion Code Studio, Cursor, or JetBrains.
33+
- An active [Syncfusion API key](https://www.syncfusion.com/account/api-key).
34+
- An **ASP.NET Core application** (existing or new); see [Quick Start](https://ej2.syncfusion.com/aspnetcore/documentation/getting-started/razor-pages)
35+
- An active Syncfusion<sup style="font-size:70%">&reg;</sup> license, such as one of the following:
36+
- [Commercial License](https://www.syncfusion.com/sales/unlimitedlicense)
37+
- [Free Community License](https://www.syncfusion.com/products/communitylicense)
38+
- [Free Trial](https://www.syncfusion.com/account/manage-trials/start-trials)
39+
40+
## Obtain a Syncfusion API key
41+
42+
Generate the Syncfusion® API key from the [API Key page](https://www.syncfusion.com/account/api-key) and store it in a .txt or .key file. The saved file will be referenced in the MCP configuration:
43+
44+
```json
45+
"env": {
46+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH"
47+
}
48+
```
49+
50+
Alternatively, provide the API key directly:
51+
52+
```json
53+
"env": {
54+
"Syncfusion_API_Key": "YOUR_SYNCFUSION_API_KEY"
55+
}
56+
```
57+
58+
> Using `Syncfusion_API_Key_Path` is recommended because it helps keep the API key out of source control. Do not commit an API key or key file to a repository.
59+
60+
## Configure the ASP.NET Core MCP Server
61+
62+
Create the MCP configuration file in the root folder of the ASP.NET Core Spreadsheet application. Use the configuration that corresponds to your MCP client and installed .NET SDK version.
63+
64+
### .NET 10 SDK
65+
66+
If you have the .NET 10 SDK installed, you can directly add the following configuration to the `mcp.json` file.
67+
68+
{% tabs %}
69+
{% highlight bash tabtitle="VS Code" %}
70+
71+
// Create a `.vscode/mcp.json` file in your workspace:
72+
73+
{
74+
"servers": {
75+
"sf-aspnetcore-mcp": {
76+
"type": "stdio",
77+
"command": "dnx",
78+
"args": ["Syncfusion.AspNetCore.MCP", "--yes"],
79+
"env": {
80+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH"
81+
// or
82+
// "Syncfusion_API_Key": "YOUR_API_KEY"
83+
}
84+
}
85+
}
86+
}
87+
88+
{% endhighlight %}
89+
{% highlight bash tabtitle="Code Studio" %}
90+
91+
// Create a `.codestudio/mcp.json` file in your workspace:
92+
93+
{
94+
"servers": {
95+
"sf-aspnetcore-mcp": {
96+
"type": "stdio",
97+
"command": "dnx",
98+
"args": ["Syncfusion.AspNetCore.MCP", "--yes"],
99+
"env": {
100+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH"
101+
// or
102+
// "Syncfusion_API_Key": "YOUR_API_KEY"
103+
}
104+
}
105+
}
106+
}
107+
108+
// After creating the file, click Start in the inline action to install the server.
109+
110+
{% endhighlight %}
111+
{% highlight bash tabtitle="Cursor" %}
112+
113+
// Create a `.cursor/mcp.json` file in your workspace:
114+
115+
{
116+
"mcpServers": {
117+
"sf-aspnetcore-mcp": {
118+
"command": "dnx",
119+
"args": ["Syncfusion.AspNetCore.MCP", "--yes"],
120+
"env": {
121+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH"
122+
// or
123+
// "Syncfusion_API_Key": "YOUR_API_KEY"
124+
}
125+
}
126+
}
127+
}
128+
129+
{% endhighlight %}
130+
{% highlight bash tabtitle="JetBrains" %}
131+
132+
// Open AI Assistant chat, type /, and select Add Command.
133+
// Click ➕ Add on the MCP settings page.
134+
// Choose STDIO and select JSON configuration:
135+
136+
{
137+
"mcpServers": {
138+
"sf-aspnetcore-mcp": {
139+
"command": "dnx",
140+
"args": [
141+
"Syncfusion.AspNetCore.MCP", "--yes"
142+
],
143+
"env": {
144+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH"
145+
// or
146+
// "Syncfusion_API_Key": "YOUR_API_KEY"
147+
}
148+
}
149+
}
150+
}
151+
152+
// Click OK, then click Apply. The server starts and shows Connected status.
153+
154+
{% endhighlight %}
155+
{% endtabs %}
156+
157+
### .NET 8 or .NET 9 SDK (manual)
158+
159+
If you are using only .NET 8 or .NET 9, install the Syncfusion ASP.NET Core MCP Server as a local tool from your workspace directory:
160+
161+
```bash
162+
dotnet tool install Syncfusion.AspNetCore.MCP --add-source "https://nexus.syncfusioninternal.com/repository/nuget-hosted/"
163+
```
164+
165+
This installs the Syncfusion ASP.NET Core MCP Server locally within your workspace. Then add the following configuration to the `mcp.json` file:
166+
167+
```json
168+
{
169+
"servers": {
170+
"sf-aspnetcore-mcp": {
171+
"type": "stdio",
172+
"command": "dotnet",
173+
"args": [
174+
"tool",
175+
"run",
176+
"syncfusion-aspnetcore-mcp"
177+
],
178+
"env": {
179+
"Syncfusion_API_Key_Path": "YOUR_API_KEY_FILE_PATH"
180+
// or
181+
// "Syncfusion_API_Key": "YOUR_API_KEY"
182+
}
183+
}
184+
}
185+
}
186+
```
187+
188+
**Verifying Installation** Check your editor's MCP Server list for `sf-aspnetcore-mcp` with a **Connected** status to confirm a successful installation.
189+
190+
## Common use cases
191+
192+
The examples below demonstrate common ASP.NET Core Spreadsheet scenarios and how the MCP tools can provide relevant guidance, code examples, API references, and troubleshooting assistance. Tools can be invoked directly for specific tasks, or an AI assistant can automatically choose the most appropriate tool based on the request.
193+
194+
**Get Started**
195+
196+
Use `search_docs` to get contextual guidance, code snippets, and configuration examples for ASP.NET Core Spreadsheet applications.
197+
198+
{% promptcards %}
199+
{% promptcard Spreadsheet Setup %}
200+
#search_docs How do I configure the ASP.NET Core Spreadsheet component?
201+
{% endpromptcard %}
202+
{% endpromptcards %}
203+
204+
{% promptcards %}
205+
{% promptcard JSON Data Binding %}
206+
#search_docs How can I bind JSON data to an ASP.NET Core Spreadsheet?
207+
{% endpromptcard %}
208+
{% endpromptcards %}
209+
210+
**Implement Features**
211+
212+
Get step-by-step help for adding specific features to Spreadsheet applications that are already in the project.
213+
214+
{% promptcards %}
215+
{% promptcard Open and Save Excel Files %}
216+
#search_docs How do I open and save Excel files programmatically in an ASP.NET Core Spreadsheet?
217+
{% endpromptcard %}
218+
{% endpromptcards %}
219+
220+
{% promptcards %}
221+
{% promptcard Spreadsheet Charts %}
222+
#search_docs How do I create a chart from Spreadsheet data in ASP.NET Core?
223+
{% endpromptcard %}
224+
{% endpromptcards %}
225+
226+
**Troubleshooting**
227+
228+
Describe the problem in plain language, and let `search_docs` help resolve it.
229+
230+
{% promptcards %}
231+
{% promptcard Performance Issues %}
232+
#search_docs Why is my ASP.NET Core Spreadsheet slow when opening large datasets?
233+
{% endpromptcard %}
234+
{% endpromptcards %}
235+
236+
## Best practices
237+
238+
To get the most out of the Syncfusion<sup>®</sup> Spreadsheet MCP Server:
239+
240+
- **Be Specific** - Include the platform and Spreadsheet feature in your queries (for example, _"Can you show me how to render a Spreadsheet with default data in an ASP.NET Core application?"_).
241+
- **Provide Context** - Include applicable versions, expected outcomes, and any requirements or limitations that may affect the request.
242+
- **Use Descriptive Queries** - Avoid overly brief or ambiguous requests. Providing sufficient detail helps improve the accuracy and relevance of the response.
243+
- **Stay Consistent** - Keep file organization, naming conventions, and coding standards consistent throughout your project.
244+
- **Start Fresh for New Topics** - Begin a new chat when switching to a different task to maintain clean context.
245+
- **Use Advanced AI Models** - For the best results, use advanced AI models such as the latest-generation **Claude**, **GPT**, or **Gemini** models.
246+
- **For Troubleshooting** - Use AI suggestions for common issues; consult the [official documentation](https://help.syncfusion.com/document-processing/excel/spreadsheet/asp-net-core/getting-started-core) or [support](https://support.syncfusion.com/support/tickets/create) for complex problems.
247+
- **Minimize Active Tools** - Limit the number of active MCP tools in your IDE to prevent tool-selection ambiguity and improve response accuracy.
248+
249+
> Always review AI-generated code before using it in production.
250+
251+
## Troubleshooting
252+
253+
The table below lists frequently encountered issues and suggested resolutions to help diagnose and address common setup or usage challenges.
254+
255+
| Issue | Solution |
256+
| --- | --- |
257+
| Server failed to start | Verify the .NET SDK version and JSON syntax in the config file, then restart your IDE. |
258+
| Invalid API key | Verify your key is active at the [Syncfusion Account Page](https://syncfusion.com/account/api-key). |
259+
| Incorrect API key config | Verify the file location and content for a file path. For an inline key, check that the key is correctly updated. |
260+
| Wrong config file location | VS Code: `.vscode/mcp.json`<br/>Code Studio: `.codestudio/mcp.json`<br/>Cursor: `.cursor/mcp.json` in the workspace root. |
261+
| Manual install (.NET 8/9) | Ensure `dotnet tool install` succeeded and that `mcp.json` references the local tool via `dotnet tool run syncfusion-aspnetcore-mcp`. |
262+
| Check IDE logs | VS Code / Code Studio: Output panel → "MCP"<br/>Cursor: Developer Console for MCP errors. |
263+
264+
## Privacy and security
265+
266+
The Syncfusion MCP Server acts as a knowledge bridge between the selected AI model and Syncfusion documentation.
267+
268+
- The tools process requests according to the user's query without storing any content or prompts.
269+
- User prompts are not stored or used for other purposes.
270+
- Prompts are not used to train Syncfusion models.
271+
- The assistant provides context; the final output is produced by the selected AI model.
272+
273+
The MCP Server acts purely as a knowledge bridge, connecting your AI model with Syncfusion-specific expertise while respecting your privacy and maintaining security.

0 commit comments

Comments
 (0)