@fundamental-ngx/mcp 0.65.1-rc.9 → 0.65.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/README.md +19 -15
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,16 +7,14 @@ MCP (Model Context Protocol) server that exposes the entire Fundamental NGX comp
|
|
|
7
7
|
AI coding assistants (Claude Code, Cursor, VS Code Copilot, Windsurf, etc.) can connect to this MCP server and get structured access to:
|
|
8
8
|
|
|
9
9
|
- **1000+ components** across 8 libraries (core, platform, btp, cx, cdk, ui5-webcomponents, ui5-webcomponents-fiori, ui5-webcomponents-ai)
|
|
10
|
-
- **
|
|
10
|
+
- **Full API metadata** — inputs, outputs, slots, methods, enum values, CSS properties, and keyboard interactions
|
|
11
11
|
- **Component comparison** — side-by-side comparison of alternative components
|
|
12
12
|
- **Usage guides** — decision trees and composition patterns for complex components (dialog, table, card, etc.)
|
|
13
13
|
- **Selector classification** — whether a component is an element, attribute directive, or both, with correct template usage
|
|
14
|
-
- **
|
|
14
|
+
- **Companion skills** — installable Claude Code skills for project setup, form generation, table scaffolding, and page layout (`/setup-project`, `/build-form`, `/build-table`, `/build-page-layout`, and more)
|
|
15
15
|
|
|
16
16
|
This eliminates hallucinated APIs and outdated documentation — the assistant works from the actual component metadata.
|
|
17
17
|
|
|
18
|
-
For SAP design-token discovery, use [`@fundamental-styles/mcp`](https://www.npmjs.com/package/@fundamental-styles/mcp).
|
|
19
|
-
|
|
20
18
|
## Quick Start
|
|
21
19
|
|
|
22
20
|
### With Claude Code
|
|
@@ -27,14 +25,12 @@ For SAP design-token discovery, use [`@fundamental-styles/mcp`](https://www.npmj
|
|
|
27
25
|
# Install latest version
|
|
28
26
|
claude mcp add fundamental-ngx -- npx -y @fundamental-ngx/mcp
|
|
29
27
|
|
|
30
|
-
# Or install a specific version
|
|
31
|
-
claude mcp add fundamental-ngx -- npx -y @fundamental-ngx/mcp@
|
|
28
|
+
# Or install a specific version
|
|
29
|
+
claude mcp add fundamental-ngx -- npx -y @fundamental-ngx/mcp@0.62.4
|
|
32
30
|
```
|
|
33
31
|
|
|
34
32
|
This command automatically adds the MCP server to your `.claude/mcp.json` configuration.
|
|
35
33
|
|
|
36
|
-
- **Companion Agent Skills** are available separately from the Fundamental NGX repository via `npx skills add SAP/fundamental-ngx`; they are not bundled in this MCP npm package.
|
|
37
|
-
|
|
38
34
|
**Option 2: Manual configuration**
|
|
39
35
|
|
|
40
36
|
```json
|
|
@@ -94,7 +90,7 @@ npx @modelcontextprotocol/inspector npx -y @fundamental-ngx/mcp
|
|
|
94
90
|
|
|
95
91
|
This opens a browser UI where you can:
|
|
96
92
|
|
|
97
|
-
- Browse all
|
|
93
|
+
- Browse all 10 available tools
|
|
98
94
|
- Send test requests with custom parameters
|
|
99
95
|
- View formatted JSON responses
|
|
100
96
|
- Debug tool behavior without an AI client
|
|
@@ -110,8 +106,7 @@ The server communicates over **stdio** using the MCP JSON-RPC protocol.
|
|
|
110
106
|
| `get_component_api` | Full API details for a specific component | `{ "name": "fd-button" }` or `{ "name": "ui5-table" }` |
|
|
111
107
|
| `get_component_examples` | Usage examples from the docs app | `{ "name": "fd-dialog" }` |
|
|
112
108
|
| `compare_components` | Side-by-side comparison of two components | `{ "component_a": "fd-button", "component_b": "ui5-button" }` |
|
|
113
|
-
| `get_usage_guide` |
|
|
114
|
-
| `get_setup_guide` | Project setup guidance for core and UI5 packages | `{ "packages": "core+ui5" }` |
|
|
109
|
+
| `get_usage_guide` | Decision tree and composition patterns for a component | `{ "component": "dialog" }` |
|
|
115
110
|
|
|
116
111
|
## Example Queries
|
|
117
112
|
|
|
@@ -128,14 +123,23 @@ The server communicates over **stdio** using the MCP JSON-RPC protocol.
|
|
|
128
123
|
"Show me HTML examples for fd-dialog"
|
|
129
124
|
→ get_component_examples with name "fd-dialog"
|
|
130
125
|
|
|
126
|
+
"I need to build a filterable data table with pagination"
|
|
127
|
+
→ recommend_components with description "filterable data table with pagination"
|
|
128
|
+
|
|
129
|
+
"What broke between 0.60.0 and 0.62.0?"
|
|
130
|
+
→ get_migration_guide with from_version "0.60.0", to_version "0.62.0"
|
|
131
|
+
|
|
132
|
+
"What SAP design tokens are available for background colors?"
|
|
133
|
+
→ get_design_tokens with query "background color", category "color"
|
|
134
|
+
|
|
135
|
+
"How do I handle keyboard navigation in fd-menu?"
|
|
136
|
+
→ get_accessibility_guide with name "fd-menu"
|
|
137
|
+
|
|
131
138
|
"What is the difference between fd-table and fdp-table?"
|
|
132
139
|
→ compare_components with component_a "fd-table", component_b "fdp-table"
|
|
133
140
|
|
|
134
141
|
"Which dialog API should I use?"
|
|
135
|
-
→ get_usage_guide with
|
|
136
|
-
|
|
137
|
-
"How do I configure a core project with UI5 wrappers?"
|
|
138
|
-
→ get_setup_guide with packages "core+ui5"
|
|
142
|
+
→ get_usage_guide with component "dialog"
|
|
139
143
|
```
|
|
140
144
|
|
|
141
145
|
## Contributing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/mcp",
|
|
3
|
-
"version": "0.65.1
|
|
3
|
+
"version": "0.65.1",
|
|
4
4
|
"mcpName": "io.github.sap/fundamental-ngx-mcp",
|
|
5
|
-
"description": "MCP server exposing Fundamental NGX component metadata for AI coding assistants.
|
|
5
|
+
"description": "MCP server exposing Fundamental NGX component metadata for AI coding assistants. Includes companion Claude Code skills for project setup, forms, tables, page layouts, and more",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|