igniteui-cli 15.5.1 → 15.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/templates/blazor/igb/projects/ai-config/files/skills/AGENTS.md +6 -3
- package/templates/blazor/igb/projects/ai-config/files/skills/README.md +30 -45
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/SKILL.md +48 -96
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/charts.md +61 -238
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/data-display.md +60 -193
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/feedback.md +36 -92
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/form-controls.md +66 -224
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/layout-manager.md +39 -88
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/layout.md +75 -152
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/setup.md +40 -149
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/SKILL.md +58 -243
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/component-mapping.md +89 -280
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-generate-from-image-design/references/gotchas.md +143 -431
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/SKILL.md +91 -157
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/data-operations.md +50 -228
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/editing.md +61 -222
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/features.md +67 -360
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/grid-migration.md +55 -236
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/paging-remote.md +53 -202
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/sizing.md +31 -232
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/state.md +27 -119
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/structure.md +88 -363
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/types.md +87 -415
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-lite-testing/SKILL.md +8 -4
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-lite-testing/references/interop-contracts.md +42 -6
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/SKILL.md +83 -211
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/references/common-patterns.md +93 -184
- package/templates/react/igr-ts/avatar/default/files/src/app/__path__/__filePrefix__.tsx +3 -3
- package/templates/react/igr-ts/avatar/default/files/src/app/__path__/style.module.css +9 -0
- package/templates/react/igr-ts/button/default/files/src/app/__path__/__filePrefix__.tsx +1 -1
- package/templates/react/igr-ts/button/default/files/src/app/__path__/style.module.css +3 -0
- package/templates/react/igr-ts/icon/default/files/src/app/__path__/__filePrefix__.tsx +2 -2
- package/templates/react/igr-ts/icon/default/files/src/app/__path__/style.module.css +3 -0
- package/templates/react/igr-ts/icon-button/default/files/src/app/__path__/__filePrefix__.tsx +1 -1
- package/templates/react/igr-ts/icon-button/default/files/src/app/__path__/style.module.css +3 -0
- package/templates/react/igr-ts/pivot-grid/basic/files/src/app/__path__/__filePrefix__.tsx +3 -4
- package/templates/react/igr-ts/projects/_base/files/package.json +1 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/README.md +30 -83
- package/templates/react/igr-ts/projects/ai-config/files/skills/grid-lite-to-igr-grid-migration/SKILL.md +98 -191
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/SKILL.md +38 -147
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/COMPONENTS.md +65 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/DATAVIZ.md +90 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/MCP.md +43 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/TROUBLESHOOTING.md +17 -145
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/USAGE.md +85 -0
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/SKILL.md +83 -135
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/reference/CSS-THEMING.md +51 -218
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/SKILL.md +58 -187
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/reference/gotchas.md +55 -154
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-optimize-bundle-size/SKILL.md +48 -401
- package/templates/webcomponents/igc-ts/avatar/default/files/src/app/__path__/__filePrefix__.ts +7 -2
- package/templates/webcomponents/igc-ts/button/default/files/src/app/__path__/__filePrefix__.ts +8 -3
- package/templates/webcomponents/igc-ts/card/default/files/src/app/__path__/__filePrefix__.ts +3 -1
- package/templates/webcomponents/igc-ts/constants.d.ts +5 -5
- package/templates/webcomponents/igc-ts/constants.js +5 -5
- package/templates/webcomponents/igc-ts/date-time-input/default/files/src/app/__path__/__filePrefix__.ts +8 -2
- package/templates/webcomponents/igc-ts/icon/default/files/src/app/__path__/__filePrefix__.ts +7 -3
- package/templates/webcomponents/igc-ts/icon-button/default/files/src/app/__path__/__filePrefix__.ts +8 -2
- package/templates/webcomponents/igc-ts/projects/_base/files/package.json +1 -1
- package/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json +6 -6
- package/templates/webcomponents/igc-ts/projects/ai-config/files/skills/README.md +1 -0
- package/templates/webcomponents/igc-ts/projects/side-nav-auth/files/src/app/authentication/login-bar/login-bar.ts +1 -1
- package/templates/webcomponents/igc-ts/tabs/default/files/src/app/__path__/__filePrefix__.ts +21 -15
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-components/references/mcp-setup.md +0 -78
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-grids/references/mcp-setup.md +0 -78
- package/templates/blazor/igb/projects/ai-config/files/skills/igniteui-blazor-theming/references/mcp-setup.md +0 -81
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/CHARTS-GRIDS.md +0 -398
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/COMPONENT-CATALOGUE.md +0 -161
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/EVENT-HANDLING.md +0 -72
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/INSTALLATION.md +0 -139
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/JSX-PATTERNS.md +0 -187
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/MCP-SERVER.md +0 -77
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-components/reference/REFS-FORMS.md +0 -232
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/reference/MCP-SERVER.md +0 -67
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-customize-theme/reference/TROUBLESHOOTING.md +0 -35
- package/templates/react/igr-ts/projects/ai-config/files/skills/igniteui-react-generate-from-image-design/reference/component-mapping.md +0 -132
- /package/templates/webcomponents/igc-ts/tabs/default/files/src/app/__path__/{__filePrefix__.test → __filePrefix__.test.ts} +0 -0
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"@vaadin/router": "^2.0.0",
|
|
16
16
|
"@igniteui/material-icons-extended": "^3.0.2",
|
|
17
17
|
"igniteui-dockmanager": "^2.1.1",
|
|
18
|
-
"igniteui-webcomponents": "~7.
|
|
19
|
-
"igniteui-webcomponents-charts": "~7.
|
|
20
|
-
"igniteui-webcomponents-core": "~7.
|
|
21
|
-
"igniteui-webcomponents-gauges": "~7.
|
|
18
|
+
"igniteui-webcomponents": "~7.3.0",
|
|
19
|
+
"igniteui-webcomponents-charts": "~7.1.0",
|
|
20
|
+
"igniteui-webcomponents-core": "~7.1.0",
|
|
21
|
+
"igniteui-webcomponents-gauges": "~7.1.0",
|
|
22
22
|
"igniteui-webcomponents-grids": "~7.2.1",
|
|
23
|
-
"igniteui-webcomponents-inputs": "~7.
|
|
24
|
-
"igniteui-webcomponents-layouts": "~7.
|
|
23
|
+
"igniteui-webcomponents-inputs": "~7.1.0",
|
|
24
|
+
"igniteui-webcomponents-layouts": "~7.1.0",
|
|
25
25
|
"lit": "^3.3.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -15,6 +15,7 @@ Skills are structured instructions that help AI agents understand and execute co
|
|
|
15
15
|
| [igniteui-wc-customize-component-theme](./igniteui-wc-customize-component-theme/SKILL.md) | Customize styling using CSS custom properties, parts, and theming system | Applying custom brand colors/styles |
|
|
16
16
|
| [igniteui-wc-generate-from-image-design](./igniteui-wc-generate-from-image-design/SKILL.md) | Implement a view from a screenshot or mockup using Ignite UI Web Components | Converting a design image into UI |
|
|
17
17
|
| [igniteui-wc-optimize-bundle-size](./igniteui-wc-optimize-bundle-size/SKILL.md) | Reduce bundle size by importing only needed components and lazy loading | Optimizing production performance |
|
|
18
|
+
| [igniteui-wc-migrate-grid-lite-to-premium](./igniteui-wc-migrate-grid-lite-to-premium/SKILL.md) | Migrate from Grid Lite to the premium Data Grid | Adopting enterprise grid features |
|
|
18
19
|
|
|
19
20
|
## How to Use
|
|
20
21
|
|
|
@@ -32,6 +32,7 @@ export class LoginBarElement extends LitElement {
|
|
|
32
32
|
|
|
33
33
|
.profile-avatar {
|
|
34
34
|
cursor: pointer;
|
|
35
|
+
--ig-size: var(--ig-size-small);
|
|
35
36
|
color: #0075d2;
|
|
36
37
|
--ig-avatar-background: #fff;
|
|
37
38
|
--ig-avatar-color: #0075d2;
|
|
@@ -105,7 +106,6 @@ export class LoginBarElement extends LitElement {
|
|
|
105
106
|
slot="target"
|
|
106
107
|
class="profile-avatar"
|
|
107
108
|
shape="circle"
|
|
108
|
-
size="small"
|
|
109
109
|
src=${this.currentUser.picture ?? ''}
|
|
110
110
|
tabindex="0"
|
|
111
111
|
aria-label="Open profile menu"
|
package/templates/webcomponents/igc-ts/tabs/default/files/src/app/__path__/__filePrefix__.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { html, LitElement } from 'lit';
|
|
1
|
+
import { css, html, LitElement } from 'lit';
|
|
2
2
|
import { customElement } from 'lit/decorators.js';
|
|
3
3
|
import {
|
|
4
4
|
defineComponents,
|
|
5
|
+
IgcIconComponent,
|
|
5
6
|
IgcTabsComponent,
|
|
6
7
|
registerIconFromText
|
|
7
8
|
} from 'igniteui-webcomponents';
|
|
8
9
|
|
|
9
|
-
defineComponents(IgcTabsComponent);
|
|
10
|
+
defineComponents(IgcTabsComponent, IgcIconComponent);
|
|
10
11
|
|
|
11
12
|
const libraryIcon =
|
|
12
13
|
'<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M12 4v14"/><path d="M19 7.674v-.657a4 4 0 0 0-2.901-3.846l-2.824-.807A1 1 0 0 0 12 3.326V7l5.725 1.636A1 1 0 0 0 19 7.674Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M12 18a3 3 0 1 1-6 0c0-1.657 1.343-2 3-2s3 .343 3 2Z"/></g></svg>';
|
|
@@ -22,19 +23,18 @@ registerIconFromText('info', infoIcon, 'material');
|
|
|
22
23
|
|
|
23
24
|
@customElement('app-tabs')
|
|
24
25
|
export default class Tabs extends LitElement {
|
|
26
|
+
static styles = css`
|
|
27
|
+
igc-icon {
|
|
28
|
+
--ig-size: var(--ig-size-medium);
|
|
29
|
+
}
|
|
30
|
+
`;
|
|
31
|
+
|
|
25
32
|
render() {
|
|
26
33
|
return html`
|
|
27
34
|
<igc-tabs alignment="start" >
|
|
28
|
-
<igc-tab
|
|
29
|
-
<igc-icon name="library" collection='material'
|
|
30
|
-
|
|
31
|
-
<igc-tab panel="second">
|
|
32
|
-
<igc-icon name="favorite" collection='material' size='large'></igc-icon> Favourites
|
|
33
|
-
</igc-tab>
|
|
34
|
-
<igc-tab panel="third" disabled>
|
|
35
|
-
<igc-icon name="info" collection='material' size='large'></igc-icon> Info
|
|
36
|
-
</igc-tab>
|
|
37
|
-
<igc-tab-panel id="first">
|
|
35
|
+
<igc-tab>
|
|
36
|
+
<igc-icon slot="prefix" name="library" collection='material'></igc-icon>
|
|
37
|
+
<span slot="label">Albums</span>
|
|
38
38
|
<br /><br /><b>
|
|
39
39
|
Sgt. Peppers Lonely Hearts Club Band <br /><br />
|
|
40
40
|
The Dark Side of the Moon <br /><br />
|
|
@@ -42,14 +42,20 @@ export default class Tabs extends LitElement {
|
|
|
42
42
|
Led Zeppelin IV <br /><br />
|
|
43
43
|
It Takes a Nation of Millions to Hold Us Back <br /><br />
|
|
44
44
|
Thriller <br /><br /></b>
|
|
45
|
-
</igc-tab
|
|
46
|
-
<igc-tab
|
|
45
|
+
</igc-tab>
|
|
46
|
+
<igc-tab>
|
|
47
|
+
<igc-icon slot="prefix" name="favorite" collection='material'></igc-icon>
|
|
48
|
+
<span slot="label">Favourites</span>
|
|
47
49
|
<br /><br /><b>
|
|
48
50
|
The Dark Side of the Moon <br /><br />
|
|
49
51
|
Led Zeppelin IV <br /><br />
|
|
50
52
|
It Takes a Nation of Millions to Hold Us Back <br /><br />
|
|
51
53
|
Thriller <br /><br /></b>
|
|
52
|
-
</igc-tab
|
|
54
|
+
</igc-tab>
|
|
55
|
+
<igc-tab disabled>
|
|
56
|
+
<igc-icon slot="prefix" name="info" collection='material'></igc-icon>
|
|
57
|
+
<span slot="label">Info</span>
|
|
58
|
+
</igc-tab>
|
|
53
59
|
</igc-tabs>
|
|
54
60
|
`;
|
|
55
61
|
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
# Setting Up the Ignite UI CLI MCP Server
|
|
2
|
-
|
|
3
|
-
> **Part of the [`igniteui-blazor-components`](../SKILL.md) skill hub.**
|
|
4
|
-
|
|
5
|
-
## Contents
|
|
6
|
-
|
|
7
|
-
- [VS Code](#vs-code)
|
|
8
|
-
- [Cursor](#cursor)
|
|
9
|
-
- [Claude Desktop](#claude-desktop)
|
|
10
|
-
- [WebStorm / JetBrains IDEs](#webstorm--jetbrains-ides)
|
|
11
|
-
- [Verifying the Setup](#verifying-the-setup)
|
|
12
|
-
|
|
13
|
-
The Ignite UI CLI MCP server enables AI assistants to discover Ignite UI components, access Blazor documentation, and support related Ignite UI workflows. It must be configured in your editor before these tools become available.
|
|
14
|
-
|
|
15
|
-
## VS Code
|
|
16
|
-
|
|
17
|
-
Create or edit `.vscode/mcp.json` in your project:
|
|
18
|
-
|
|
19
|
-
```json
|
|
20
|
-
{
|
|
21
|
-
"servers": {
|
|
22
|
-
"igniteui-cli": {
|
|
23
|
-
"command": "npx",
|
|
24
|
-
"args": ["-y", "igniteui-cli", "mcp"]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
This works whether `igniteui-cli` is installed locally in `node_modules` or needs to be pulled from the npm registry; `npx -y` handles both cases.
|
|
31
|
-
|
|
32
|
-
## Cursor
|
|
33
|
-
|
|
34
|
-
Create or edit `.cursor/mcp.json`:
|
|
35
|
-
|
|
36
|
-
```json
|
|
37
|
-
{
|
|
38
|
-
"mcpServers": {
|
|
39
|
-
"igniteui-cli": {
|
|
40
|
-
"command": "npx",
|
|
41
|
-
"args": ["-y", "igniteui-cli", "mcp"]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Claude Desktop
|
|
48
|
-
|
|
49
|
-
Edit the Claude Desktop config file:
|
|
50
|
-
|
|
51
|
-
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
52
|
-
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
53
|
-
|
|
54
|
-
```json
|
|
55
|
-
{
|
|
56
|
-
"mcpServers": {
|
|
57
|
-
"igniteui-cli": {
|
|
58
|
-
"command": "npx",
|
|
59
|
-
"args": ["-y", "igniteui-cli", "mcp"]
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## WebStorm / JetBrains IDEs
|
|
66
|
-
|
|
67
|
-
1. Go to **Settings -> Tools -> AI Assistant -> MCP Servers**
|
|
68
|
-
2. Click **+ Add MCP Server**
|
|
69
|
-
3. Set Command to `npx` and Arguments to `igniteui-cli mcp`
|
|
70
|
-
4. Click OK and restart the AI Assistant
|
|
71
|
-
|
|
72
|
-
## Verifying the Setup
|
|
73
|
-
|
|
74
|
-
After configuring the MCP server, ask your AI assistant:
|
|
75
|
-
|
|
76
|
-
> "List all available Ignite UI for Blazor components"
|
|
77
|
-
|
|
78
|
-
If the MCP server is running, the `list_components(framework: "blazor")` tool will return available Blazor component documentation entries.
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
# Setting Up the Ignite UI CLI MCP Server
|
|
2
|
-
|
|
3
|
-
> **Part of the [`igniteui-blazor-grids`](../SKILL.md) skill hub.**
|
|
4
|
-
|
|
5
|
-
## Contents
|
|
6
|
-
|
|
7
|
-
- [VS Code](#vs-code)
|
|
8
|
-
- [Cursor](#cursor)
|
|
9
|
-
- [Claude Desktop](#claude-desktop)
|
|
10
|
-
- [WebStorm / JetBrains IDEs](#webstorm--jetbrains-ides)
|
|
11
|
-
- [Verifying the Setup](#verifying-the-setup)
|
|
12
|
-
|
|
13
|
-
The Ignite UI CLI MCP server enables AI assistants to discover Ignite UI grid documentation, validate Blazor doc slugs, and avoid borrowing Angular, React, or Web Components APIs. It must be configured in your editor before these tools become available.
|
|
14
|
-
|
|
15
|
-
## VS Code
|
|
16
|
-
|
|
17
|
-
Create or edit `.vscode/mcp.json` in your project:
|
|
18
|
-
|
|
19
|
-
```json
|
|
20
|
-
{
|
|
21
|
-
"servers": {
|
|
22
|
-
"igniteui-cli": {
|
|
23
|
-
"command": "npx",
|
|
24
|
-
"args": ["-y", "igniteui-cli", "mcp"]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
This works whether `igniteui-cli` is installed locally in `node_modules` or needs to be pulled from the npm registry; `npx -y` handles both cases.
|
|
31
|
-
|
|
32
|
-
## Cursor
|
|
33
|
-
|
|
34
|
-
Create or edit `.cursor/mcp.json`:
|
|
35
|
-
|
|
36
|
-
```json
|
|
37
|
-
{
|
|
38
|
-
"mcpServers": {
|
|
39
|
-
"igniteui-cli": {
|
|
40
|
-
"command": "npx",
|
|
41
|
-
"args": ["-y", "igniteui-cli", "mcp"]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Claude Desktop
|
|
48
|
-
|
|
49
|
-
Edit the Claude Desktop config file:
|
|
50
|
-
|
|
51
|
-
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
52
|
-
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
53
|
-
|
|
54
|
-
```json
|
|
55
|
-
{
|
|
56
|
-
"mcpServers": {
|
|
57
|
-
"igniteui-cli": {
|
|
58
|
-
"command": "npx",
|
|
59
|
-
"args": ["-y", "igniteui-cli", "mcp"]
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## WebStorm / JetBrains IDEs
|
|
66
|
-
|
|
67
|
-
1. Go to **Settings -> Tools -> AI Assistant -> MCP Servers**
|
|
68
|
-
2. Click **+ Add MCP Server**
|
|
69
|
-
3. Set Command to `npx` and Arguments to `igniteui-cli mcp`
|
|
70
|
-
4. Click OK and restart the AI Assistant
|
|
71
|
-
|
|
72
|
-
## Verifying the Setup
|
|
73
|
-
|
|
74
|
-
After configuring the MCP server, ask your AI assistant:
|
|
75
|
-
|
|
76
|
-
> "List all available Ignite UI for Blazor grid docs"
|
|
77
|
-
|
|
78
|
-
If the MCP server is running, `list_components(framework: "blazor", filter: "grid")` or `search_docs(framework: "blazor", query: "grid")` will return available Blazor grid documentation entries.
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# Setting Up the Theming MCP Server
|
|
2
|
-
|
|
3
|
-
> **Part of the [`igniteui-blazor-theming`](../SKILL.md) skill hub.**
|
|
4
|
-
|
|
5
|
-
## Contents
|
|
6
|
-
|
|
7
|
-
- [VS Code](#vs-code)
|
|
8
|
-
- [Cursor](#cursor)
|
|
9
|
-
- [Claude Desktop](#claude-desktop)
|
|
10
|
-
- [WebStorm / JetBrains IDEs](#webstorm--jetbrains-ides)
|
|
11
|
-
- [Verifying the Setup](#verifying-the-setup)
|
|
12
|
-
|
|
13
|
-
The Ignite UI Theming MCP server enables AI assistants to generate Blazor-ready CSS custom properties, palettes, component themes, and global layout tokens. It must be configured in your editor before the theming tools become available.
|
|
14
|
-
|
|
15
|
-
## VS Code
|
|
16
|
-
|
|
17
|
-
Create or edit `.vscode/mcp.json` in your project:
|
|
18
|
-
|
|
19
|
-
```json
|
|
20
|
-
{
|
|
21
|
-
"servers": {
|
|
22
|
-
"igniteui-theming": {
|
|
23
|
-
"command": "npx",
|
|
24
|
-
"args": ["-y", "igniteui-theming", "igniteui-theming-mcp"]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
This works whether `igniteui-theming` is installed locally in `node_modules` or needs to be pulled from the npm registry; `npx -y` handles both cases.
|
|
31
|
-
|
|
32
|
-
## Cursor
|
|
33
|
-
|
|
34
|
-
Create or edit `.cursor/mcp.json`:
|
|
35
|
-
|
|
36
|
-
```json
|
|
37
|
-
{
|
|
38
|
-
"mcpServers": {
|
|
39
|
-
"igniteui-theming": {
|
|
40
|
-
"command": "npx",
|
|
41
|
-
"args": ["-y", "igniteui-theming", "igniteui-theming-mcp"]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Claude Desktop
|
|
48
|
-
|
|
49
|
-
Edit the Claude Desktop config file:
|
|
50
|
-
|
|
51
|
-
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
52
|
-
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
53
|
-
|
|
54
|
-
```json
|
|
55
|
-
{
|
|
56
|
-
"mcpServers": {
|
|
57
|
-
"igniteui-theming": {
|
|
58
|
-
"command": "npx",
|
|
59
|
-
"args": ["-y", "igniteui-theming", "igniteui-theming-mcp"]
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## WebStorm / JetBrains IDEs
|
|
66
|
-
|
|
67
|
-
1. Go to **Settings -> Tools -> AI Assistant -> MCP Servers**
|
|
68
|
-
2. Click **+ Add MCP Server**
|
|
69
|
-
3. Set Command to `npx` and Arguments to `igniteui-theming igniteui-theming-mcp`
|
|
70
|
-
4. Click OK and restart the AI Assistant
|
|
71
|
-
|
|
72
|
-
## Verifying the Setup
|
|
73
|
-
|
|
74
|
-
After configuring the MCP server, ask your AI assistant:
|
|
75
|
-
|
|
76
|
-
> "Read the Ignite UI theming resource for the Blazor platform"
|
|
77
|
-
|
|
78
|
-
If the MCP server is running, the assistant can call
|
|
79
|
-
`read_resource` and return the Blazor theming
|
|
80
|
-
guidance. For Blazor-specific theming, pass
|
|
81
|
-
`platform: "blazor"` to theming tools that accept a platform parameter.
|