genexus-mcp 2.5.3 → 2.6.0

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
@@ -7,6 +7,7 @@
7
7
  [![MCP Badge](https://lobehub.com/badge/mcp/lennix1337-genexus18mcp)](https://lobehub.com/mcp/lennix1337-genexus18mcp)
8
8
 
9
9
  > **¿Hablás español?** → [Guía de inicio en español](docs/GETTING_STARTED.es.md)
10
+ > **Fala português?** → [Guia de início em português](docs/GETTING_STARTED.pt-br.md)
10
11
  > **Stuck?** → [Troubleshooting guide](TROUBLESHOOTING.md)
11
12
 
12
13
  ---
@@ -21,17 +22,28 @@ In practice: you point the MCP at your KB, then ask your AI assistant things lik
21
22
 
22
23
  Before you start, make sure you have:
23
24
 
24
- - ✅ **Windows** (GeneXus is Windows-only — this MCP runs on Windows)
25
- - ✅ **GeneXus 18** installed locally (usually `C:\Program Files (x86)\GeneXus\GeneXus18`)
26
- - ✅ **A GeneXus 18 Knowledge Base** opened at least once in the IDE (so it has been built/initialized)
27
- - ✅ **Node.js 18+** ([download](https://nodejs.org/))
25
+ - ✅ **Windows** (GeneXus is Windows-only)
26
+ - ✅ **GeneXus 18** installed locally (default path: `C:\Program Files (x86)\GeneXus\GeneXus18`)
27
+ - ✅ **A GeneXus 18 Knowledge Base** opened at least once in the IDE (so it's initialized)
28
+ - ✅ **Node.js 18+** — check with `node --version` in a terminal; install from [nodejs.org](https://nodejs.org/) if missing
28
29
  - ✅ **An MCP-compatible AI client** — [Claude Desktop](https://claude.ai/download), [Claude Code](https://claude.com/claude-code), Cursor, Antigravity, etc.
29
30
 
30
31
  You do **not** need to clone this repo or install anything globally — `npx` handles it.
31
32
 
33
+ **Never used a terminal before?** Press `Win+R`, type `powershell`, hit Enter. That's your terminal.
34
+
32
35
  ---
33
36
 
34
- ## Quickstart (3 steps)
37
+ ## Quickstart (3 steps, ~5 minutes)
38
+
39
+ ### Find your two paths first
40
+
41
+ Before running the installer, note these down:
42
+
43
+ 1. **GeneXus install folder** — where `GeneXus.exe` lives. Usually `C:\Program Files (x86)\GeneXus\GeneXus18`.
44
+ 2. **Your KB folder** — the root folder of your Knowledge Base (contains the `.gx` file and subfolders like `Model/`, `WebSpa/`).
45
+
46
+ Not sure where your KB lives? Open it in GeneXus and check the title bar, or look in `File → Recent`.
35
47
 
36
48
  ### Step 1 — Run the installer
37
49
 
@@ -43,21 +55,38 @@ npx genexus-mcp@latest init --kb "C:\KBs\YourKB" --gx "C:\Program Files (x86)\Ge
43
55
 
44
56
  > Prefer the wizard? Run `npx genexus-mcp@latest init --interactive` and answer the prompts.
45
57
 
46
- When it finishes you should see `🎉 You are all set!` plus a JSON snippet for your AI client.
58
+ What you'll see (takes ~30 seconds first time, faster on re-runs):
59
+
60
+ 1. `npx` downloads the package.
61
+ 2. The installer verifies the paths exist and GeneXus is present.
62
+ 3. It **auto-detects** which AI clients you have installed and adds the MCP config to each one.
63
+ 4. Prints a JSON snippet at the end — keep it in case you need to configure a client manually.
64
+ 5. Finishes with `🎉 You are all set!`.
47
65
 
48
66
  ### Step 2 — Register the MCP in your AI client
49
67
 
50
- The installer **auto-registers** the server with Claude Desktop, Claude Code, Cursor, and Antigravity when it detects them. If yours wasn't detected, copy the JSON snippet from Step 1 into your client's MCP config manually. See the [client setup guide](TROUBLESHOOTING.md#client-setup) if unsure where that file lives.
68
+ Step 1 auto-registers with Claude Desktop, Claude Code, Cursor, and Antigravity when it detects them. If yours wasn't detected, copy the JSON snippet from Step 1 into your client's MCP config manually. See the [client setup guide](TROUBLESHOOTING.md#client-setup) if unsure where that file lives.
69
+
70
+ ### Step 3 — Restart your AI client, then test
71
+
72
+ This part trips most people: **fully close** your AI client and reopen it. Not just the window — the whole process.
73
+
74
+ - **Claude Desktop**: right-click the system-tray icon → **Quit**. Then launch it again. (Closing the window is not enough.)
75
+ - **Claude Code**: end the session and start a fresh one.
76
+ - **Cursor / Antigravity**: close all windows and reopen.
77
+
78
+ Then paste this prompt:
51
79
 
52
- ### Step 3 Restart your AI client and test
80
+ > *"Using the GeneXus MCP, list the first 5 objects in my KB and show name + type."*
53
81
 
54
- Fully close and reopen Claude / Cursor / etc. Then try this prompt:
82
+ **What should happen:**
55
83
 
56
- > *"Using the GeneXus MCP, list the first 5 transactions in my KB and show their names."*
84
+ - The AI invokes the `genexus_list_objects` tool (some UIs show "calling tool…").
85
+ - A few seconds later, you get a list of objects from your KB.
57
86
 
58
87
  If you get a list back — **you're done**. Skip to [What can I ask the AI?](#what-can-i-ask-the-ai) for ideas.
59
88
 
60
- If something didn't work, go straight to [Troubleshooting](TROUBLESHOOTING.md) — most issues are covered there.
89
+ If the AI says it doesn't have a GeneXus tool, or nothing happens, go to [Troubleshooting](TROUBLESHOOTING.md) — most issues are covered there.
61
90
 
62
91
  ---
63
92
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genexus-mcp",
3
- "version": "2.5.3",
3
+ "version": "2.6.0",
4
4
  "mcpName": "io.github.lennix1337/genexus",
5
5
  "description": "GeneXus 18 MCP server — read, edit, and analyze GeneXus knowledge base objects (transactions, web panels, procedures, SDTs) directly from Claude, Cursor, and other AI agents over the Model Context Protocol.",
6
6
  "keywords": [
@@ -7,7 +7,7 @@
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v8.0": {},
9
9
  ".NETCoreApp,Version=v8.0/win-x64": {
10
- "GxMcp.Gateway/2.5.3": {
10
+ "GxMcp.Gateway/2.6.0": {
11
11
  "dependencies": {
12
12
  "Newtonsoft.Json": "13.0.3",
13
13
  "System.Management": "10.0.5",
@@ -66,7 +66,7 @@
66
66
  }
67
67
  },
68
68
  "libraries": {
69
- "GxMcp.Gateway/2.5.3": {
69
+ "GxMcp.Gateway/2.6.0": {
70
70
  "type": "project",
71
71
  "serviceable": false,
72
72
  "sha512": ""
Binary file
Binary file
Binary file
@@ -12,6 +12,7 @@
12
12
  {"name":"genexus_test","description":"Execute native GeneXus tests (GXtest).","inputSchema":{"type":"object","properties":{"name":{"type":"string"},"kb":{"type":"string","description":"Target KB. Required when 2+ open."}},"required":["name"]}},
13
13
  {"name":"genexus_create_object","description":"Create a new GeneXus object in the active KB.","inputSchema":{"type":"object","properties":{"type":{"type":"string","description":"e.g. Procedure, Transaction, WebPanel, SDT."},"name":{"type":"string"},"kb":{"type":"string","description":"Target KB. Required when 2+ open."}},"required":["type","name"]}},
14
14
  {"name":"genexus_logs","description":"Read worker_debug.log tail for error diagnosis or correlation.","inputSchema":{"type":"object","properties":{"lines":{"type":"integer"},"filterCorrelation":{"type":"string"},"grep":{"type":"string"}}}},
15
+ {"name":"genexus_sdk_probe","description":"Scan loaded GeneXus SDK assemblies and dump a structured map of every public type, method, property to docs/sdk-probe/. Use when investigating new SDK surface or hunting for an entry point. Outputs raw.json + INDEX.md + generators.md.","inputSchema":{"type":"object","properties":{"outputDir":{"type":"string","description":"Optional absolute path. Defaults to <repo>/docs/sdk-probe/ or %TEMP%/gxmcp_sdk_probe/."}}}},
15
16
  {"name":"genexus_worker_reload","description":"Hot-reload worker: copy new binaries and respawn.","inputSchema":{"type":"object","properties":{"sourceDir":{"type":"string","description":"Absolute path to freshly built bin/Release."}},"required":["sourceDir"]}},
16
17
  {"name":"genexus_delete_object","description":"Delete an object from the KB. Irreversible — confirm=true required.","inputSchema":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"confirm":{"type":"boolean"},"kb":{"type":"string","description":"Target KB. Required when 2+ open."}},"required":["name","confirm"]}},
17
18
  {"name":"genexus_export_object","description":"Export a GeneXus object part to a text file on disk.","inputSchema":{"type":"object","properties":{"name":{"type":"string"},"outputPath":{"type":"string"},"part":{"type":"string"},"type":{"type":"string"},"overwrite":{"type":"boolean"},"kb":{"type":"string","description":"Target KB. Required when 2+ open."}},"required":["name","outputPath"]}},
Binary file
Binary file