@sap-ux/fiori-mcp-server 0.6.56 → 0.6.58

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.
Files changed (3) hide show
  1. package/README.md +96 -11
  2. package/dist/index.js +442 -442
  3. package/package.json +8 -8
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Changelog](https://img.shields.io/badge/changelog-8A2BE2)](https://github.com/SAP/open-ux-tools/blob/main/packages/fiori-mcp-server/CHANGELOG.md) [![Github repo](https://img.shields.io/badge/github-repo-blue)](https://github.com/SAP/open-ux-tools/tree/main/packages/fiori-mcp-server)
1
+ [![Changelog](https://img.shields.io/badge/changelog-8A2BE2)](https://github.com/SAP/open-ux-tools/blob/main/packages/fiori-mcp-server/CHANGELOG.md) [![Github repo](https://img.shields.io/badge/github-repo-blue)](https://github.com/SAP/open-ux-tools/tree/main/packages/fiori-mcp-server)
2
2
 
3
3
  # [`@sap-ux/fiori-mcp-server`](https://github.com/SAP/open-ux-tools/tree/main/packages/fiori-mcp-server)
4
4
 
@@ -16,11 +16,35 @@ The server helps AI models create or modify SAP Fiori applications based on prom
16
16
 
17
17
  For the best experience we recommend using this server alongside [@cap-js/mcp-server](https://www.npmjs.com/package/@cap-js/mcp-server) and [@ui5/mcp-server](https://www.npmjs.com/package/@ui5/mcp-server).
18
18
 
19
- ## [Usage](#usage)
19
+ ## [Setup](#setup)
20
20
 
21
- ### Method 1: npx
21
+ The server uses `stdio` transport and is launched via `npx` — no global installation required. Pick the section for your MCP client below.
22
+
23
+ ### Claude Code
24
+
25
+ **Option A — CLI (recommended):**
26
+ ```bash
27
+ claude mcp add fiori-mcp -- npx --yes @sap-ux/fiori-mcp-server@latest fiori-mcp
28
+ ```
29
+
30
+ **Option B — drop a `.mcp.json` file in your project root:**
31
+ ```json
32
+ {
33
+ "mcpServers": {
34
+ "fiori-mcp": {
35
+ "type": "stdio",
36
+ "timeout": 600,
37
+ "command": "npx",
38
+ "args": ["--yes", "@sap-ux/fiori-mcp-server@latest", "fiori-mcp"]
39
+ }
40
+ }
41
+ }
42
+ ```
43
+
44
+ ### Cline
45
+
46
+ Open the Cline extension settings and add the server under **MCP Servers**:
22
47
 
23
- Configure your MCP client to start the server with command `fiori-mcp`. Here is a sample configuration for Cline:
24
48
  ```json
25
49
  {
26
50
  "mcpServers": {
@@ -28,18 +52,76 @@ Configure your MCP client to start the server with command `fiori-mcp`. Here is
28
52
  "type": "stdio",
29
53
  "timeout": 600,
30
54
  "command": "npx",
31
- "args": ["--yes","@sap-ux/fiori-mcp-server@latest", "fiori-mcp"]
55
+ "args": ["--yes", "@sap-ux/fiori-mcp-server@latest", "fiori-mcp"]
32
56
  }
33
57
  }
34
58
  }
35
59
  ```
36
- ### Method 2: npm
37
60
 
38
- First, install the required package globally using `npm`:
61
+ ### Cursor
62
+
63
+ Edit (or create) the MCP config file for your scope:
64
+
65
+ - **Global:** `~/.cursor/mcp.json`
66
+ - **Project:** `.cursor/mcp.json` in your project root
67
+
68
+ ```json
69
+ {
70
+ "mcpServers": {
71
+ "fiori-mcp": {
72
+ "type": "stdio",
73
+ "timeout": 600,
74
+ "command": "npx",
75
+ "args": ["--yes", "@sap-ux/fiori-mcp-server@latest", "fiori-mcp"]
76
+ }
77
+ }
78
+ }
79
+ ```
80
+
81
+ ### Windsurf
82
+
83
+ Edit `~/.codeium/windsurf/mcp_config.json`:
84
+
85
+ ```json
86
+ {
87
+ "mcpServers": {
88
+ "fiori-mcp": {
89
+ "type": "stdio",
90
+ "timeout": 600,
91
+ "command": "npx",
92
+ "args": ["--yes", "@sap-ux/fiori-mcp-server@latest", "fiori-mcp"]
93
+ }
94
+ }
95
+ }
96
+ ```
97
+
98
+ ### Other clients
99
+
100
+ For any other MCP client, use the following `npx`-based configuration:
101
+
102
+ ```json
103
+ {
104
+ "mcpServers": {
105
+ "fiori-mcp": {
106
+ "type": "stdio",
107
+ "timeout": 600,
108
+ "command": "npx",
109
+ "args": ["--yes", "@sap-ux/fiori-mcp-server@latest", "fiori-mcp"]
110
+ }
111
+ }
112
+ }
113
+ ```
114
+
115
+ ### Global npm install (any client)
116
+
117
+ If you prefer **not** to use `npx`, install the package globally first:
118
+
39
119
  ```bash
40
120
  npm install -g @sap-ux/fiori-mcp-server
41
121
  ```
42
- Then, configure your MCP client to start the server with command `fiori-mcp`. Here is a sample configuration for Cline:
122
+
123
+ Then use `fiori-mcp` as the command (no `args` needed):
124
+
43
125
  ```json
44
126
  {
45
127
  "mcpServers": {
@@ -54,7 +136,12 @@ Then, configure your MCP client to start the server with command `fiori-mcp`. He
54
136
 
55
137
  ## [Rules](#rules)
56
138
 
57
- The following rules help guide the LLM to use the server correctly:
139
+ The following rules help guide the AI model to use the server correctly. Add them to your system prompt or rules file:
140
+
141
+ - **Claude Code:** `AGENTS.md` or `CLAUDE.md` in your project root
142
+ - **Cline:** Custom Instructions in the Cline extension settings
143
+ - **Cursor:** `.cursorrules` in your project root
144
+ - **Windsurf:** Global Rules or project-level `.windsurfrules`
58
145
 
59
146
  ```markdown
60
147
  ## Rules for creation or modification of SAP Fiori elements apps
@@ -71,8 +158,6 @@ The following rules help guide the LLM to use the server correctly:
71
158
  - When previewing the SAP Fiori elements application use the most specific `npm run watch-*` script for the app in the `package.json`.
72
159
  ```
73
160
 
74
- Add these rules to your existing global or project-specific [`AGENTS.md`](https://agents.md/) (specifics may vary based on respective MCP client).
75
-
76
161
  ## [Available Tools](#available-tools)
77
162
 
78
163
  #### `search_docs`