@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 +21 -21
- package/README.md +193 -190
- package/package.json +90 -90
- package/sap_abbreviation_dictionary.json +965 -965
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
|
-
[](https://github.com/ClementRingot/ROSA/pkgs/container/rosa)
|
|
5
|
-
[](https://github.com/ClementRingot/ROSA/actions/workflows/ci.yml)
|
|
6
|
-
[](https://github.com/ClementRingot/ROSA/actions/workflows/release.yml)
|
|
7
|
-
[](./LICENSE)
|
|
9
|
-
[](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
|
-
##
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
- **
|
|
105
|
-
- **Clean Core
|
|
106
|
-
|
|
107
|
-
- **
|
|
108
|
-
- **
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
|
120
|
-
|
|
|
121
|
-
| **
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
|
131
|
-
|
|
|
132
|
-
| `
|
|
133
|
-
| `
|
|
134
|
-
| `
|
|
135
|
-
| `
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
**
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
|
151
|
-
|
|
|
152
|
-
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
You: "
|
|
164
|
-
Agent: →
|
|
165
|
-
|
|
166
|
-
You: "
|
|
167
|
-
Agent: →
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
|
176
|
-
|
|
|
177
|
-
| [
|
|
178
|
-
| [
|
|
179
|
-
| [
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
1
|
+
# ROSA — Released Objects Search Assistant
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@rosa-mcp/server)
|
|
4
|
+
[](https://github.com/ClementRingot/ROSA/pkgs/container/rosa)
|
|
5
|
+
[](https://github.com/ClementRingot/ROSA/actions/workflows/ci.yml)
|
|
6
|
+
[](https://github.com/ClementRingot/ROSA/actions/workflows/release.yml)
|
|
7
|
+
[](https://www.npmjs.com/package/@rosa-mcp/server)
|
|
8
|
+
[](./LICENSE)
|
|
9
|
+
[](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.
|
|
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
|
|
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
|
+
}
|