abap-mcp 0.1.0 → 0.1.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 +3 -3
- package/dist/errors.d.ts +1 -1
- package/dist/tool.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ cloud-ready?"*, or *"scaffold a RAP BO for entity Booking on table zbooking, dra
|
|
|
72
72
|
- **Text-in only, by design.** No filesystem walking, no network — the entire attack surface is
|
|
73
73
|
a parser over strings you explicitly pass. For linting whole directories, use the
|
|
74
74
|
[abaplint CLI](https://abaplint.org) in CI, or the
|
|
75
|
-
[mcp-kit `wrap-abaplint` recipe](https://github.com/
|
|
75
|
+
[mcp-kit `wrap-abaplint` recipe](https://github.com/palimkarakshay/mcp-kit) this server grew out of.
|
|
76
76
|
|
|
77
77
|
## Develop
|
|
78
78
|
|
|
@@ -85,7 +85,7 @@ npx @modelcontextprotocol/inspector --cli node dist/cli.js --method tools/list
|
|
|
85
85
|
|
|
86
86
|
Tool descriptions are CI-graded (a rubric test enforces verb-first names, when-to-use,
|
|
87
87
|
non-goals, described params, worked examples — the
|
|
88
|
-
[mcp-kit](https://github.com/
|
|
88
|
+
[mcp-kit](https://github.com/palimkarakshay/mcp-kit) discipline; the full mcp-kit lint scores all
|
|
89
89
|
seven tools 100/100).
|
|
90
90
|
|
|
91
91
|
## Design
|
|
@@ -98,7 +98,7 @@ scaffolder validates its own output, what was deliberately left out — lives in
|
|
|
98
98
|
|
|
99
99
|
- [abaplint](https://github.com/abaplint/abaplint) by Lars Hvam — the parser and rule engine
|
|
100
100
|
underneath every tool here (MIT).
|
|
101
|
-
- [mcp-kit](https://github.com/
|
|
101
|
+
- [mcp-kit](https://github.com/palimkarakshay/mcp-kit) — the production-MCP patterns this server
|
|
102
102
|
follows (typed tool specs, transport discipline, description lint).
|
|
103
103
|
|
|
104
104
|
MIT © Akshay Palimkar. Not affiliated with or endorsed by SAP SE. "SAP", "ABAP" and "RAP" are
|
package/dist/errors.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Structured tool failure — the one way tools in this server fail.
|
|
3
3
|
*
|
|
4
|
-
* Pattern adapted from @mcp-kit/core (github.com/
|
|
4
|
+
* Pattern adapted from @mcp-kit/core (github.com/palimkarakshay/mcp-kit, MIT):
|
|
5
5
|
* handlers throw `McpToolError` (or anything), the registration wrapper turns
|
|
6
6
|
* it into an MCP error result instead of crashing the request.
|
|
7
7
|
*/
|
package/dist/tool.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* same object that registers the tool is the one a description lint can grade,
|
|
5
5
|
* so model-facing docs can't drift from what's enforced.
|
|
6
6
|
*
|
|
7
|
-
* Pattern adapted from @mcp-kit/core (github.com/
|
|
7
|
+
* Pattern adapted from @mcp-kit/core (github.com/palimkarakshay/mcp-kit, MIT).
|
|
8
8
|
*/
|
|
9
9
|
import type { McpServer, ToolCallback } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
10
10
|
import type { ToolAnnotations } from "@modelcontextprotocol/sdk/types.js";
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abap-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MCP server for SAP ABAP: offline static analysis (abaplint), ABAP Cloud / Clean Core readiness checks, and RAP scaffolding — no SAP system or credentials required.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Akshay Palimkar",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/
|
|
9
|
+
"url": "git+https://github.com/palimkarakshay/abap-mcp.git"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
12
12
|
"mcp",
|