@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 CHANGED
@@ -1,8 +1,8 @@
1
1
  # OpenEdge ABL MCP
2
2
 
3
- OpenEdge ABL had no dedicated MCP in the checked catalogs. This server gives agents 20 real tools instead of a stub.
3
+ OpenEdge MCP: parse ABL source, validate variables, blocks and statements.
4
4
 
5
- Requires `the language toolchain` for execution. The source, lint, symbol and scaffold tools work without it.
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
- | `detect_project` | Find language files, project markers and layout in a directory. |
31
- | `read_source` | Read a source file or a line range. |
32
- | `write_source` | Write a source file, with overwrite protection. |
33
- | `syntax_check` | Check brackets, strings and comments; run the parser when configured. |
34
- | `format_source` | Trim whitespace, normalize line endings and add a final newline. |
35
- | `lint_source` | Find trailing whitespace, tabs, long lines and unbalanced structure. |
36
- | `extract_symbols` | List functions, classes, types and other definitions. |
37
- | `list_imports` | List imports, includes and dependencies. |
38
- | `list_todos` | Find TODO, FIXME, HACK and XXX comments. |
39
- | `find_references` | Find every mention of a symbol in one file. |
40
- | `rename_symbol` | Rename a symbol in one file, with a dry-run default. |
41
- | `insert_snippet` | Insert a language-specific starter snippet. |
42
- | `comment_lines` | Comment a line range using the language marker. |
43
- | `uncomment_lines` | Remove the comment marker from a line range. |
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 source files and runs local compiler commands. Treat project files and commands as trusted input.
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 { LanguageConfig } from "./types.js";
3
- export declare function registerLanguageTools(server: McpServer, config: LanguageConfig): void;
2
+ import type { FormatModule } from "./types.js";
3
+ export declare function registerFormatTools(server: McpServer, format: FormatModule): void;