@rosa-mcp/server 1.12.6 → 1.13.2

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Clément - abapeur.fr
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Clément - abapeur.fr
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,190 +1,193 @@
1
- # ROSA — Released Objects Search Assistant
2
-
3
- [![@clementringot/rosa](https://img.shields.io/npm/v/@clementringot/rosa?logo=npm&label=%40clementringot%2Frosa&color=orange)](https://www.npmjs.com/package/@clementringot/rosa)
4
- [![ghcr.io rosa](https://img.shields.io/badge/ghcr.io-rosa-blue?logo=docker&logoColor=white)](https://github.com/ClementRingot/ROSA/pkgs/container/rosa)
5
- [![CI](https://img.shields.io/github/actions/workflow/status/ClementRingot/ROSA/ci.yml?label=CI)](https://github.com/ClementRingot/ROSA/actions/workflows/ci.yml)
6
- [![Release](https://img.shields.io/github/actions/workflow/status/ClementRingot/ROSA/release.yml?label=release)](https://github.com/ClementRingot/ROSA/actions/workflows/release.yml)
7
- [![node](https://img.shields.io/node/v/@clementringot/rosa?logo=node.js&logoColor=white)](https://www.npmjs.com/package/@clementringot/rosa)
8
- [![license MIT](https://img.shields.io/badge/license-MIT-green)](./LICENSE)
9
- [![MCP server](https://img.shields.io/badge/MCP-server-8A2BE2)](https://modelcontextprotocol.io/)
10
-
11
- **ROSA gives AI agents real-time knowledge of which SAP objects are released for
12
- ABAP Cloud / Clean Core — and what to use instead when they're not.**
13
-
14
- It plugs into the [SAP Cloudification Repository](https://github.com/SAP/abap-atc-cr-cv-s4hc)
15
- (the official source of truth) and exposes it **two ways**, sharing the same
16
- business logic — no feature gap between them:
17
-
18
- | Access mode | Protocol | Use case |
19
- | --- | --- | --- |
20
- | **MCP Server** | [Model Context Protocol](https://modelcontextprotocol.io/) on `POST /mcp` | AI agents with native MCP support (Claude Desktop, Claude Code, Cline, Cursor…) |
21
- | **REST API** | `GET` endpoints on `/api/*` returning JSON | LLM skills, scripts, CI pipelines — anything that speaks HTTP |
22
-
23
- > Ask *"Is table MARA available in ABAP Cloud?"* and the agent instantly knows:
24
- > **no — use `I_PRODUCT` instead.**
25
-
26
- ## Choose your deployment
27
-
28
- | I want to… | Use | One-liner |
29
- | --- | --- | --- |
30
- | Plug into Claude Desktop / Code / Cursor | **npm** | `npx -y @clementringot/rosa` |
31
- | Run without Node.js installed | **Native executable** | download from [Releases](https://github.com/ClementRingot/ROSA/releases/latest) |
32
- | Run as a server / self-host | **Docker** | `docker run -p 3001:3001 ghcr.io/clementringot/rosa` |
33
- | Deploy on a generic Node host | **Node PaaS** | Railway / Render / Fly.io — set `TRANSPORT=http` |
34
- | Deploy on SAP BTP Cloud Foundry | **MTA** or **npm wrapper** | see [DEPLOYMENT](./docs/DEPLOYMENT.md#sap-btp-cloud-foundry-two-paths) |
35
- | Deploy on classic Cloud Foundry | **`cf push`** | see [cloud-foundry-classic](./docs/cloud-foundry-classic.md) |
36
-
37
- Full details for every option: **[docs/DEPLOYMENT.md](./docs/DEPLOYMENT.md)**.
38
-
39
- ## Quick start (MCP client)
40
-
41
- No install needed — `npx` runs the server in stdio mode, which is what MCP
42
- clients expect. Add one of these to your client config:
43
-
44
- **Claude Desktop** (`claude_desktop_config.json`) / **Claude Code** (`.mcp.json`):
45
-
46
- ```json
47
- {
48
- "mcpServers": {
49
- "rosa": {
50
- "command": "npx",
51
- "args": ["-y", "@clementringot/rosa"]
52
- }
53
- }
54
- }
55
- ```
56
-
57
- **Cursor** (`~/.cursor/mcp.json` or `.cursor/mcp.json`):
58
-
59
- ```json
60
- {
61
- "mcpServers": {
62
- "rosa": {
63
- "command": "npx",
64
- "args": ["-y", "@clementringot/rosa"]
65
- }
66
- }
67
- }
68
- ```
69
-
70
- Prefer a hosted, zero-install setup? Point your client at a running instance's
71
- `/mcp` URL instead:
72
-
73
- ```json
74
- {
75
- "mcpServers": {
76
- "rosa": { "type": "url", "url": "https://<your-instance>/mcp" }
77
- }
78
- }
79
- ```
80
-
81
- ### REST API (skills, scripts, CI)
82
-
83
- All endpoints are `GET`, return JSON, and support CORS:
84
-
85
- ```bash
86
- curl "https://<your-instance>/api/search?query=purchase+order"
87
- curl "https://<your-instance>/api/object?object_type=TABL&object_name=MARA"
88
- curl "https://<your-instance>/api/compliance?object_names=MARA,BSEG,I_PRODUCT"
89
- ```
90
-
91
- > On a secured instance (OIDC / XSUAA / API keys) add `Authorization: Bearer <token>`
92
- > — see [Calling the REST API on BTP](./docs/DEPLOYMENT.md#calling-the-rest-api-on-btp-machine-to-machine).
93
-
94
- For LLM-skill usage, two ready-made skills expose the full API reference:
95
-
96
- - [`skills/sap-released-objects/SKILL.md`](./skills/sap-released-objects/SKILL.md) — points at the hosted public instance; use as-is.
97
- - [`skills/rosa-global/SKILL.md`](./skills/rosa-global/SKILL.md) — for your **own self-hosted** deployment: copy it and replace the `{{ROSA_BASE_URL}}` placeholder with your instance URL (public instances only; use MCP for secured ones).
98
-
99
- ## Features
100
-
101
- - **Search SAP objects** — classes, CDS views, tables, data elements, BDEFs…
102
- - **Filter by Clean Core Level** (A / B / C / D) — the model replacing the 3-tier
103
- system since August 2025.
104
- - **Find successors** for deprecated or non-released objects.
105
- - **Clean Core compliance check** for a list of objects (with compliance rate).
106
- - **Statistics** — counts by level, type, and application component.
107
- - **Smart search** — multi-token scoring (`"purchase order"` → `I_PURCHASEORDER`).
108
- - **Multi-system** — S/4HANA Cloud Public, BTP ABAP Environment, Private Cloud,
109
- On-Premise; PCE versions discovered dynamically.
110
-
111
- Data is fetched from SAP's public GitHub repository at runtime and cached in
112
- memory for 24h — no SAP system connection required.
113
-
114
- ### Clean Core Level Concept
115
-
116
- | Level | Meaning | Upgrade safety |
117
- | --- | --- | --- |
118
- | **A** | Released APIs (ABAP Cloud) | ✅ Upgrade-safe |
119
- | **B** | Classic APIs | ⚠️ Upgrade-stable |
120
- | **C** | Internal / unclassified | 🟡 Manageable risk |
121
- | **D** | noAPI (not recommended) | 🔴 High risk |
122
-
123
- ## MCP tools & REST endpoints
124
-
125
- Each MCP tool on `POST /mcp` has an identical REST counterpart under `/api`:
126
-
127
- | MCP tool | REST endpoint | Purpose |
128
- | --- | --- | --- |
129
- | `sap_search_objects` | `GET /api/search` | Search objects, ranked by relevance, with filters |
130
- | `sap_get_object_details` | `GET /api/object` | Full details + Clean Core assessment for one object |
131
- | `sap_find_successor` | `GET /api/successor` | Successor(s) of a deprecated / non-released object |
132
- | `sap_check_clean_core_compliance` | `GET /api/compliance` | Compliance rate for a list of objects |
133
- | `sap_list_versions` | `GET /api/versions` | Available S/4HANA PCE versions |
134
- | `sap_list_object_types` | `GET /api/types` | TADIR object types with per-level counts |
135
- | `sap_get_statistics` | `GET /api/statistics` | Repository statistics |
136
-
137
- Parameters and response shapes are documented in
138
- [`skills/sap-released-objects/SKILL.md`](./skills/sap-released-objects/SKILL.md).
139
-
140
- ## Server modes & authentication
141
-
142
- ROSA runs over **stdio** (default; local MCP clients) or **HTTP** (`--http` /
143
- `TRANSPORT=http`; remote/self-hosted). On HTTP it auto-detects four
144
- authentication modes from the environment — **public**, **OIDC / OAuth 2.1**,
145
- **XSUAA** (SAP BTP), and **API keys** — with no rebuild:
146
-
147
- | Mode | Trigger |
148
- | --- | --- |
149
- | Public | no auth env vars |
150
- | OIDC / OAuth 2.1 | `OAUTH_ISSUER` + `OAUTH_AUDIENCE` |
151
- | XSUAA | `VCAP_SERVICES` xsuaa binding (SAP BTP) |
152
- | API keys | `API_KEYS` (alongside any mode) |
153
-
154
- How transports, auth auto-detection, the auth × deployment matrix, and the
155
- system diagram work: **[docs/ARCHITECTURE.md](./docs/ARCHITECTURE.md)**.
156
-
157
- ## Usage examples
158
-
159
- ```
160
- You: "Is table MARA available in ABAP Cloud?"
161
- Agent: → sap_get_object_details(TABL, MARA) → "deprecated; successor I_PRODUCT"
162
-
163
- You: "My code uses BSEG, MARA, CL_GUI_ALV_GRID. Is it Clean Core?"
164
- Agent: → sap_check_clean_core_compliance(...) → "Compliance rate: 0%"
165
-
166
- You: "What's available for sending emails on BTP?"
167
- Agent: → sap_search_objects(query="send email", system_type="btp")
168
- ```
169
-
170
- ## Documentation
171
-
172
- | Doc | For |
173
- | --- | --- |
174
- | [ARCHITECTURE.md](./docs/ARCHITECTURE.md) | Transports, auth modes, system diagram, MCP tools |
175
- | [DEPLOYMENT.md](./docs/DEPLOYMENT.md) | Every deployment option + config reference + troubleshooting |
176
- | [cloud-foundry-classic.md](./docs/cloud-foundry-classic.md) | Classic (non-BTP) Cloud Foundry |
177
- | [RELEASE.md](./docs/RELEASE.md) | Release train & pipeline (maintainers) |
178
- | [CONTRIBUTING.md](./CONTRIBUTING.md) | Dev setup, tests, commit convention |
179
- | [CHANGELOG.md](./CHANGELOG.md) | Notable changes |
180
-
181
- ## Contributing & releases
182
-
183
- PRs welcome — see [CONTRIBUTING.md](./CONTRIBUTING.md). This repo uses
184
- [Conventional Commits](https://www.conventionalcommits.org/); releases are cut by
185
- an automated [release train](./docs/RELEASE.md) that publishes the npm package,
186
- the multi-arch Docker image, and native executables from a single tag.
187
-
188
- ## License
189
-
190
- [MIT](./LICENSE)
1
+ # ROSA — Released Objects Search Assistant
2
+
3
+ [![@rosa-mcp/server](https://img.shields.io/npm/v/@rosa-mcp/server?logo=npm&label=%40rosa-mcp%2Fserver&color=orange)](https://www.npmjs.com/package/@rosa-mcp/server)
4
+ [![ghcr.io rosa](https://img.shields.io/badge/ghcr.io-rosa-blue?logo=docker&logoColor=white)](https://github.com/ClementRingot/ROSA/pkgs/container/rosa)
5
+ [![CI](https://img.shields.io/github/actions/workflow/status/ClementRingot/ROSA/ci.yml?label=CI)](https://github.com/ClementRingot/ROSA/actions/workflows/ci.yml)
6
+ [![Release](https://img.shields.io/github/actions/workflow/status/ClementRingot/ROSA/release.yml?label=release)](https://github.com/ClementRingot/ROSA/actions/workflows/release.yml)
7
+ [![node](https://img.shields.io/node/v/@rosa-mcp/server?logo=node.js&logoColor=white)](https://www.npmjs.com/package/@rosa-mcp/server)
8
+ [![license MIT](https://img.shields.io/badge/license-MIT-green)](./LICENSE)
9
+ [![MCP server](https://img.shields.io/badge/MCP-server-8A2BE2)](https://modelcontextprotocol.io/)
10
+
11
+ **ROSA gives AI agents real-time knowledge of which SAP objects are released for
12
+ ABAP Cloud / Clean Core — and what to use instead when they're not.**
13
+
14
+ It plugs into the [SAP Cloudification Repository](https://github.com/SAP/abap-atc-cr-cv-s4hc)
15
+ (the official source of truth) and exposes it **two ways**, sharing the same
16
+ business logic — no feature gap between them:
17
+
18
+ | Access mode | Protocol | Use case |
19
+ | --- | --- | --- |
20
+ | **MCP Server** | [Model Context Protocol](https://modelcontextprotocol.io/) on `POST /mcp` | AI agents with native MCP support (Claude Desktop, Claude Code, Cline, Cursor…) |
21
+ | **REST API** | `GET` endpoints on `/api/*` returning JSON | LLM skills, scripts, CI pipelines — anything that speaks HTTP |
22
+
23
+ > Ask *"Is table MARA available in ABAP Cloud?"* and the agent instantly knows:
24
+ > **no — use `I_PRODUCT` instead.**
25
+
26
+ ## Quick start — Hosted instance (recommended)
27
+
28
+ ROSA is publicly hosted — no install, no server to run. Connect your AI agent
29
+ directly:
30
+
31
+ ### MCP (Claude Desktop, Claude Code, Cursor, Cline…)
32
+
33
+ **Claude Code** (`.mcp.json`) / **Claude Desktop** (`claude_desktop_config.json`):
34
+
35
+ ```json
36
+ {
37
+ "mcpServers": {
38
+ "rosa": {
39
+ "type": "url",
40
+ "url": "https://sap-released-objects-server-production.up.railway.app/mcp"
41
+ }
42
+ }
43
+ }
44
+ ```
45
+
46
+ **Cursor** (`~/.cursor/mcp.json` or `.cursor/mcp.json`):
47
+
48
+ ```json
49
+ {
50
+ "mcpServers": {
51
+ "rosa": {
52
+ "type": "url",
53
+ "url": "https://sap-released-objects-server-production.up.railway.app/mcp"
54
+ }
55
+ }
56
+ }
57
+ ```
58
+
59
+ ### REST API
60
+
61
+ All endpoints are `GET`, return JSON, and support CORS:
62
+
63
+ ```bash
64
+ curl "https://sap-released-objects-server-production.up.railway.app/api/search?query=purchase+order"
65
+ curl "https://sap-released-objects-server-production.up.railway.app/api/object?object_type=TABL&object_name=MARA"
66
+ curl "https://sap-released-objects-server-production.up.railway.app/api/compliance?object_names=MARA,BSEG,I_PRODUCT"
67
+ ```
68
+
69
+ For LLM-skill usage, two ready-made skills expose the full API reference:
70
+
71
+ - [`skills/sap-released-objects/SKILL.md`](./skills/sap-released-objects/SKILL.md) — points at the hosted public instance; use as-is.
72
+ - [`skills/rosa-global/SKILL.md`](./skills/rosa-global/SKILL.md) — for your **own self-hosted** deployment: copy it and replace the `{{ROSA_BASE_URL}}` placeholder with your instance URL.
73
+
74
+ ---
75
+
76
+ ## Self-hosted / alternative deployments
77
+
78
+ | I want to… | Use | One-liner |
79
+ | --- | --- | --- |
80
+ | Run locally via npx (stdio) | **npm** | `npx -y @rosa-mcp/server` |
81
+ | Run without Node.js installed | **Native executable** | download from [Releases](https://github.com/ClementRingot/ROSA/releases/latest) |
82
+ | Run as a server / self-host | **Docker** | `docker run -p 3001:3001 ghcr.io/clementringot/rosa` |
83
+ | Deploy on a generic Node host | **Node PaaS** | Railway / Render / Fly.io — set `TRANSPORT=http` |
84
+ | Deploy on SAP BTP Cloud Foundry | **MTA** or **npm wrapper** | see [DEPLOYMENT](./docs/DEPLOYMENT.md#sap-btp-cloud-foundry-two-paths) |
85
+ | Deploy on classic Cloud Foundry | **`cf push`** | see [cloud-foundry-classic](./docs/cloud-foundry-classic.md) |
86
+
87
+ Full details for every option: **[docs/DEPLOYMENT.md](./docs/DEPLOYMENT.md)**.
88
+
89
+ ### Local MCP (stdio mode)
90
+
91
+ ```json
92
+ {
93
+ "mcpServers": {
94
+ "rosa": {
95
+ "command": "npx",
96
+ "args": ["-y", "@rosa-mcp/server"]
97
+ }
98
+ }
99
+ }
100
+ ```
101
+
102
+ ## Features
103
+
104
+ - **Search SAP objects** — classes, CDS views, tables, data elements, BDEFs…
105
+ - **Filter by Clean Core Level** (A / B / C / D) — the model replacing the 3-tier
106
+ system since August 2025.
107
+ - **Find successors** for deprecated or non-released objects.
108
+ - **Clean Core compliance check** for a list of objects (with compliance rate).
109
+ - **Statistics** — counts by level, type, and application component.
110
+ - **Smart search** — multi-token scoring (`"purchase order"` → `I_PURCHASEORDER`).
111
+ - **Multi-system** — S/4HANA Cloud Public, BTP ABAP Environment, Private Cloud,
112
+ On-Premise; PCE versions discovered dynamically.
113
+
114
+ Data is fetched from SAP's public GitHub repository at runtime and cached in
115
+ memory for 24h — no SAP system connection required.
116
+
117
+ ### Clean Core Level Concept
118
+
119
+ | Level | Meaning | Upgrade safety |
120
+ | --- | --- | --- |
121
+ | **A** | Released APIs (ABAP Cloud) | ✅ Upgrade-safe |
122
+ | **B** | Classic APIs | ⚠️ Upgrade-stable |
123
+ | **C** | Internal / unclassified | 🟡 Manageable risk |
124
+ | **D** | noAPI (not recommended) | 🔴 High risk |
125
+
126
+ ## MCP tools & REST endpoints
127
+
128
+ Each MCP tool on `POST /mcp` has an identical REST counterpart under `/api`:
129
+
130
+ | MCP tool | REST endpoint | Purpose |
131
+ | --- | --- | --- |
132
+ | `sap_search_objects` | `GET /api/search` | Search objects, ranked by relevance, with filters |
133
+ | `sap_get_object_details` | `GET /api/object` | Full details + Clean Core assessment for one object |
134
+ | `sap_find_successor` | `GET /api/successor` | Successor(s) of a deprecated / non-released object |
135
+ | `sap_check_clean_core_compliance` | `GET /api/compliance` | Compliance rate for a list of objects |
136
+ | `sap_list_versions` | `GET /api/versions` | Available S/4HANA PCE versions |
137
+ | `sap_list_object_types` | `GET /api/types` | TADIR object types with per-level counts |
138
+ | `sap_get_statistics` | `GET /api/statistics` | Repository statistics |
139
+
140
+ Parameters and response shapes are documented in
141
+ [`skills/sap-released-objects/SKILL.md`](./skills/sap-released-objects/SKILL.md).
142
+
143
+ ## Server modes & authentication
144
+
145
+ ROSA runs over **stdio** (default; local MCP clients) or **HTTP** (`--http` /
146
+ `TRANSPORT=http`; remote/self-hosted). On HTTP it auto-detects four
147
+ authentication modes from the environment — **public**, **OIDC / OAuth 2.1**,
148
+ **XSUAA** (SAP BTP), and **API keys** — with no rebuild:
149
+
150
+ | Mode | Trigger |
151
+ | --- | --- |
152
+ | Public | no auth env vars |
153
+ | OIDC / OAuth 2.1 | `OAUTH_ISSUER` + `OAUTH_AUDIENCE` |
154
+ | XSUAA | `VCAP_SERVICES` xsuaa binding (SAP BTP) |
155
+ | API keys | `API_KEYS` (alongside any mode) |
156
+
157
+ How transports, auth auto-detection, the auth × deployment matrix, and the
158
+ system diagram work: **[docs/ARCHITECTURE.md](./docs/ARCHITECTURE.md)**.
159
+
160
+ ## Usage examples
161
+
162
+ ```
163
+ You: "Is table MARA available in ABAP Cloud?"
164
+ Agent: → sap_get_object_details(TABL, MARA) → "deprecated; successor I_PRODUCT"
165
+
166
+ You: "My code uses BSEG, MARA, CL_GUI_ALV_GRID. Is it Clean Core?"
167
+ Agent: → sap_check_clean_core_compliance(...) → "Compliance rate: 0%"
168
+
169
+ You: "What's available for sending emails on BTP?"
170
+ Agent: → sap_search_objects(query="send email", system_type="btp")
171
+ ```
172
+
173
+ ## Documentation
174
+
175
+ | Doc | For |
176
+ | --- | --- |
177
+ | [ARCHITECTURE.md](./docs/ARCHITECTURE.md) | Transports, auth modes, system diagram, MCP tools |
178
+ | [DEPLOYMENT.md](./docs/DEPLOYMENT.md) | Every deployment option + config reference + troubleshooting |
179
+ | [cloud-foundry-classic.md](./docs/cloud-foundry-classic.md) | Classic (non-BTP) Cloud Foundry |
180
+ | [RELEASE.md](./docs/RELEASE.md) | Release train & pipeline (maintainers) |
181
+ | [CONTRIBUTING.md](./CONTRIBUTING.md) | Dev setup, tests, commit convention |
182
+ | [CHANGELOG.md](./CHANGELOG.md) | Notable changes |
183
+
184
+ ## Contributing & releases
185
+
186
+ PRs welcome — see [CONTRIBUTING.md](./CONTRIBUTING.md). This repo uses
187
+ [Conventional Commits](https://www.conventionalcommits.org/); releases are cut by
188
+ an automated [release train](./docs/RELEASE.md) that publishes the npm package,
189
+ the multi-arch Docker image, and native executables from a single tag.
190
+
191
+ ## License
192
+
193
+ [MIT](./LICENSE)
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
- {
2
- "name": "@rosa-mcp/server",
3
- "version": "1.12.6",
4
- "description": "ROSA — Released Objects Search Assistant. MCP server and REST API for the SAP Cloudification Repository: search released objects, classic APIs, and successors with Clean Core Level filtering (A/B/C/D).",
5
- "type": "module",
6
- "main": "dist/index.js",
7
- "bin": {
8
- "rosa": "dist/index.js"
9
- },
10
- "files": [
11
- "dist",
12
- "sap_abbreviation_dictionary.json",
13
- "README.md",
14
- "LICENSE"
15
- ],
16
- "engines": {
17
- "node": ">=20"
18
- },
19
- "publishConfig": {
20
- "access": "public"
21
- },
22
- "scripts": {
23
- "build": "tsc",
24
- "start": "node dist/index.js",
25
- "start:http": "node dist/index.js --http",
26
- "test": "vitest run",
27
- "test:watch": "vitest",
28
- "dev": "tsc --watch",
29
- "sync-version": "node scripts/sync-version.js",
30
- "prepack": "npm run build",
31
- "bundle": "npm run build && esbuild dist/index.js --bundle --platform=node --target=node20 --format=cjs --outfile=bundle/index.cjs && node -e \"require('fs').copyFileSync('sap_abbreviation_dictionary.json','bundle/sap_abbreviation_dictionary.json')\"",
32
- "pkg:win": "npm run bundle && pkg bundle/index.cjs --targets node20-win-x64 --output bin/rosa-win.exe",
33
- "pkg:linux": "npm run bundle && pkg bundle/index.cjs --targets node20-linux-x64 --output bin/rosa-linux",
34
- "pkg:macos": "npm run bundle && pkg bundle/index.cjs --targets node20-macos-x64 --output bin/rosa-macos",
35
- "pkg:all": "npm run bundle && pkg bundle/index.cjs --targets node20-win-x64,node20-linux-x64,node20-macos-x64 --out-path bin/",
36
- "version": "node scripts/sync-version.js && git add mta.yaml README.md"
37
- },
38
- "pkg": {
39
- "assets": [
40
- "sap_abbreviation_dictionary.json"
41
- ]
42
- },
43
- "keywords": [
44
- "mcp",
45
- "model-context-protocol",
46
- "sap",
47
- "abap",
48
- "abap-cloud",
49
- "clean-core",
50
- "cloudification-repository",
51
- "released-apis",
52
- "released-objects",
53
- "rap",
54
- "rest-api"
55
- ],
56
- "author": "Clément Ringot",
57
- "license": "MIT",
58
- "homepage": "https://github.com/ClementRingot/ROSA#readme",
59
- "repository": {
60
- "type": "git",
61
- "url": "git+https://github.com/ClementRingot/ROSA.git"
62
- },
63
- "bugs": {
64
- "url": "https://github.com/ClementRingot/ROSA/issues"
65
- },
66
- "dependencies": {
67
- "@arc-mcp/xsuaa-auth": "^0.1.4",
68
- "@modelcontextprotocol/sdk": "^1.29.0",
69
- "cors": "^2.8.6",
70
- "express": "^5.2.1",
71
- "express-rate-limit": "^8.5.2",
72
- "helmet": "^8.2.0",
73
- "jose": "^6.2.3",
74
- "zod": "^3.25.0"
75
- },
76
- "devDependencies": {
77
- "@types/cors": "^2.8.19",
78
- "@types/express": "^5.0.6",
79
- "@types/node": "^22.0.0",
80
- "@yao-pkg/pkg": "^6.14.1",
81
- "esbuild": "^0.27.3",
82
- "typescript": "^5.7.0",
83
- "vitest": "^3.2.4"
84
- },
85
- "overrides": {
86
- "@yao-pkg/pkg": {
87
- "into-stream": "6.0.0"
88
- }
89
- }
90
- }
1
+ {
2
+ "name": "@rosa-mcp/server",
3
+ "version": "1.13.2",
4
+ "description": "ROSA — Released Objects Search Assistant. MCP server and REST API for the SAP Cloudification Repository: search released objects, classic APIs, and successors with Clean Core Level filtering (A/B/C/D).",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "bin": {
8
+ "rosa": "dist/index.js"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "sap_abbreviation_dictionary.json",
13
+ "README.md",
14
+ "LICENSE"
15
+ ],
16
+ "engines": {
17
+ "node": ">=20"
18
+ },
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "scripts": {
23
+ "build": "tsc",
24
+ "start": "node dist/index.js",
25
+ "start:http": "node dist/index.js --http",
26
+ "test": "vitest run",
27
+ "test:watch": "vitest",
28
+ "dev": "tsc --watch",
29
+ "sync-version": "node scripts/sync-version.js",
30
+ "prepack": "npm run build",
31
+ "bundle": "npm run build && esbuild dist/index.js --bundle --platform=node --target=node20 --format=cjs --outfile=bundle/index.cjs && node -e \"require('fs').copyFileSync('sap_abbreviation_dictionary.json','bundle/sap_abbreviation_dictionary.json')\"",
32
+ "pkg:win": "npm run bundle && pkg bundle/index.cjs --targets node20-win-x64 --output bin/rosa-win.exe",
33
+ "pkg:linux": "npm run bundle && pkg bundle/index.cjs --targets node20-linux-x64 --output bin/rosa-linux",
34
+ "pkg:macos": "npm run bundle && pkg bundle/index.cjs --targets node20-macos-x64 --output bin/rosa-macos",
35
+ "pkg:all": "npm run bundle && pkg bundle/index.cjs --targets node20-win-x64 --output bin/rosa-win.exe && pkg bundle/index.cjs --targets node20-linux-x64 --output bin/rosa-linux && pkg bundle/index.cjs --targets node20-macos-x64 --output bin/rosa-macos",
36
+ "version": "node scripts/sync-version.js && git add mta.yaml README.md"
37
+ },
38
+ "pkg": {
39
+ "assets": [
40
+ "sap_abbreviation_dictionary.json"
41
+ ]
42
+ },
43
+ "keywords": [
44
+ "mcp",
45
+ "model-context-protocol",
46
+ "sap",
47
+ "abap",
48
+ "abap-cloud",
49
+ "clean-core",
50
+ "cloudification-repository",
51
+ "released-apis",
52
+ "released-objects",
53
+ "rap",
54
+ "rest-api"
55
+ ],
56
+ "author": "Clément Ringot",
57
+ "license": "MIT",
58
+ "homepage": "https://github.com/ClementRingot/ROSA#readme",
59
+ "repository": {
60
+ "type": "git",
61
+ "url": "git+https://github.com/ClementRingot/ROSA.git"
62
+ },
63
+ "bugs": {
64
+ "url": "https://github.com/ClementRingot/ROSA/issues"
65
+ },
66
+ "dependencies": {
67
+ "@arc-mcp/xsuaa-auth": "^0.1.4",
68
+ "@modelcontextprotocol/sdk": "^1.29.0",
69
+ "cors": "^2.8.6",
70
+ "express": "^5.2.1",
71
+ "express-rate-limit": "^8.5.2",
72
+ "helmet": "^8.2.0",
73
+ "jose": "^6.2.3",
74
+ "zod": "^3.25.0"
75
+ },
76
+ "devDependencies": {
77
+ "@types/cors": "^2.8.19",
78
+ "@types/express": "^5.0.6",
79
+ "@types/node": "^22.0.0",
80
+ "@yao-pkg/pkg": "^6.14.1",
81
+ "esbuild": "^0.27.3",
82
+ "typescript": "^5.7.0",
83
+ "vitest": "^3.2.4"
84
+ },
85
+ "overrides": {
86
+ "@yao-pkg/pkg": {
87
+ "into-stream": "6.0.0"
88
+ }
89
+ }
90
+ }