Read, edit, and analyze GeneXus 18 KB objects from Claude, Cursor, and AI agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
¿Hablás español? → Guía de inicio en español Fala português? → Guia de início em português Stuck? → Troubleshooting guide
GeneXus MCP Server lets AI agents — Claude Desktop, Claude Code, Cursor, Antigravity, and any MCP-compatible client — read, edit, analyze, and refactor objects inside a Knowledge Base supported by the selected GeneXus SDK. It talks to the native GeneXus SDK, so the agent works with the real KB, not a copy or a parsed approximation.
In practice: you point the MCP at your KB, then ask your AI assistant things like "list all transactions with attribute CustomerId", "add a rule to the Order transaction that validates the total", or "refactor this procedure to use the new SDT" — and it does it.
The same MCP distribution supports the SDK majors listed in the generated
compatibility document. Each configured MCP process selects one installed SDK
with --gx; no separate MCP installation is required. The commands below are
examples of switching the existing configuration, not running two majors in
the same process:
After switching the SDK or KB, fully restart the AI client so it reloads the MCP process and its tool schemas. If GX17 and GX18 must run simultaneously, use separate MCP configurations and ports.
init also reads the KB .gxw major and the selected GeneXus.exe metadata.
It aborts before writing config.json when the majors conflict or an automatic
selection cannot be verified. genexus-mcp doctor exposes the same result as
the kb_sdk_compatibility check. For a disposable fixture, the
live-KB harness includes a catalog-driven matrix
that checks every supported major against one published artifact.
The Gateway reports the detected SDK through genexus_whoami:
geneXus.supportedMajors: explicitly validated SDK majors from the version cataloggeneXus.matchedMajor: the major detected for the configured installationgeneXus.versionMatches: whether the detected installation is in that cataloggeneXus.supportedMajor: retained as the legacy single-major alias for the catalog primaryThe Worker isolates version-sensitive SDK members behind compatibility adapters.
For example, Design System helper methods that differ between SDK majors are
replaced field-by-field by parsing the native Tokens and Styles parts when
needed. Existing tool names, arguments, and MCP client configuration formats do
not change.
Supported SDK majors: GeneXus 17, GeneXus 18.
Primary SDK: GeneXus 18.
Source of truth: config/gx-versions.json.
To add another GeneXus major in the future, add it to the explicit version catalog only after compiling the Worker with that SDK and passing the focused tests plus a live KB smoke. This prevents the server from claiming compatibility based only on a version string.
A quick map of what the agent can do against your real KB through the 50 tools (details in Tool Surface):
| Area | What the agent can do |
|---|---|
| 🔎 Explore | Search & list objects, read any part (source, rules, events, structure, docs, pattern XML), inspect metadata & callers, regex-search source, view the navigation report |
| ✏️ Edit code | Edit any object part (full/patch/ops modes), variables CRUD, format, create & delete objects, scaffold a Procedure from a curl command, edit + rebuild callers in one shot |
| 🗄️ Author the data model | Transaction structure (DSL), unique/non-unique indexes (create & drop), attribute formulas & subtypes, level Description/Image attributes, Domain enum values, folders & modules, table↔transaction relations & redundant-attribute detection |
| 🧩 Author other objects | External Object methods & properties, Menu options, REST API objects, WorkWithPlus / WorkWith patterns, typed .NET generator references |
| 🎨 UI & WorkWithPlus | Full read/write of pattern XML (controls, actions, grids, orders, groups), theme classes & styling, native WebForm/layout edits, control catalog & design-system tokens/classes/images, headless-browser verification |
| 🔬 Analyze | Impact/dependency analysis, complexity & code metrics, naming, explain-what-this-does, KB activity/freshness, reorg/DDL impact preview, native security scan, schema-drift check |
| 🛠️ Build, test & deploy | Build (full or fast compile_check), validate, reorg, index, run native GXtest tests, deploy the application (targets + deploy) |
| 🔀 Refactor & compare | Rename across the KB, extract procedure, compare & merge objects (IDE parity) |
| 🌿 Versioning, transfer & teams | KB model versions/branches, real XPZ export/import (dependency-aware), GXserver (Team Development) sync + CI pipelines, git-style history, multi-KB parallel work |
| 🔐 Security | GAM / integrated-security provisioning, KB security audit + native Security Scanner |
It works through the native GeneXus SDK — the same code paths the IDE uses — so edits are real and validated, not text hacks on KB files.
Before you start, make sure you have:
docs/generated/supported-versions.md; pass another install path explicitly when needed)node --version in a terminal; install from nodejs.org if missingYou do not need to clone this repo or install anything globally — npx handles it.
Never used a terminal before? Press Win+R, type powershell, hit Enter. That's your terminal.
Before running the installer, note these down:
GeneXus.exe lives. Usually C:\Program Files (x86)\GeneXus\GeneXus18..gx file and subfolders like Model/, WebSpa/).Not sure where your KB lives? Open it in GeneXus and check the title bar, or look in File → Recent.
Open a terminal and run, replacing the paths with your KB folder and your GeneXus install:
Prefer the wizard? Run
npx genexus-mcp@latest init --interactiveand answer the prompts.
What you'll see (takes ~30 seconds first time, faster on re-runs):
npx downloads the package.🎉 You are all set!.On Windows, Antigravity is registered with the gateway executable bundled in the
current npm package when that artifact is available, so it skips the npx bootstrap
chain on every MCP handshake. That path follows the package in the npx cache; after
an upgrade, run npx genexus-mcp@latest clients add --clients antigravity again if
genexus-mcp clients reports a stale launcher. Other clients keep the npx genexus-mcp@latest
launcher unless you use the fixed-path installer below.
Step 1 auto-registers every supported client it detects, including Claude Desktop, Claude Code, Cursor, Antigravity, Gemini CLI, OpenCode, Codex CLI, and VS Code. If yours wasn't detected, copy the JSON snippet from Step 1 into your client's MCP config manually. See the client setup guide if unsure where that file lives.
This part trips most people: fully close your AI client and reopen it. Not just the window — the whole process.
opencode.json / opencode.jsonc.Then paste this prompt:
"Using the GeneXus MCP, list the first 5 objects in my KB and show name + type."
What should happen:
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/genexus)<a href="https://allmcps.com/mcp/genexus"><img src="https://allmcps.com/api/badge/genexus?style=directory" alt="Genexus on AllMCPs" /></a>