@mrfentmen/openedge-abl-mcp 1.0.0 → 1.0.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 +18 -23
- package/dist/core.d.ts +2 -2
- package/dist/core.js +214 -573
- package/dist/format.d.ts +2 -0
- package/dist/format.js +105 -0
- package/dist/index.js +2 -2
- package/dist/run.d.ts +4 -15
- package/dist/run.js +8 -49
- package/dist/server.d.ts +1 -0
- package/dist/server.js +5 -4
- package/dist/types.d.ts +22 -38
- package/package.json +7 -5
- package/server.json +4 -4
- package/dist/config.d.ts +0 -2
- package/dist/config.js +0 -47
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# OpenEdge ABL MCP
|
|
2
2
|
|
|
3
|
-
OpenEdge
|
|
3
|
+
OpenEdge MCP: parse ABL source, validate variables, blocks and statements.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
No network calls. Files are parsed locally and nothing leaves the machine.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -27,30 +27,25 @@ Or in an MCP client:
|
|
|
27
27
|
|
|
28
28
|
| Tool | What it does |
|
|
29
29
|
|---|---|
|
|
30
|
-
| `
|
|
31
|
-
| `
|
|
32
|
-
| `
|
|
33
|
-
| `
|
|
34
|
-
| `
|
|
35
|
-
| `
|
|
36
|
-
| `
|
|
37
|
-
| `
|
|
38
|
-
| `
|
|
39
|
-
| `
|
|
40
|
-
| `
|
|
41
|
-
| `
|
|
42
|
-
| `
|
|
43
|
-
| `
|
|
44
|
-
| `scaffold_project` | Create a small runnable starter project. |
|
|
45
|
-
| `run_source` | Run a file with the installed interpreter or compiler. |
|
|
46
|
-
| `run_tests` | Run the configured test command. |
|
|
47
|
-
| `build_project` | Build a project with the configured compiler command. |
|
|
48
|
-
| `toolchain_status` | Show which local compilers and tools are installed. |
|
|
49
|
-
| `language_reference` | Return a compact syntax and toolchain reference. |
|
|
30
|
+
| `detect_files` | Find OpenEdge ABL files in a directory tree. |
|
|
31
|
+
| `read_file` | Read a file or line range. |
|
|
32
|
+
| `write_file` | Write a file, with overwrite protection. |
|
|
33
|
+
| `parse` | Parse into records, fields and metadata. |
|
|
34
|
+
| `validate` | Check structural rules and report issues by line. |
|
|
35
|
+
| `summarize` | Record counts, kinds and document metadata. |
|
|
36
|
+
| `list_records` | List record ids and kinds. |
|
|
37
|
+
| `get_record` | Full fields for one record. |
|
|
38
|
+
| `search` | Plain text or regex search across records. |
|
|
39
|
+
| `stats` | Numeric min/max/mean per field. |
|
|
40
|
+
| `format_reference` | Compact spec reference. |
|
|
41
|
+
| `sample` | A small valid example document. |
|
|
42
|
+
| `diff` | Compare two documents. |
|
|
43
|
+
| `to_json` | Export every record as JSON. |
|
|
50
44
|
|
|
51
45
|
## Safety
|
|
52
46
|
|
|
53
|
-
This server reads and writes local
|
|
47
|
+
This server reads and writes local files. Treat file paths as trusted input.
|
|
48
|
+
Invalid documents are reported, never silently repaired.
|
|
54
49
|
|
|
55
50
|
## Run locally
|
|
56
51
|
|
package/dist/core.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
|
-
import type {
|
|
3
|
-
export declare function
|
|
2
|
+
import type { FormatModule } from "./types.js";
|
|
3
|
+
export declare function registerFormatTools(server: McpServer, format: FormatModule): void;
|