LG

lennix1337/genexus18mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

40 stars 27 forks 质量 85 趋势 32MIT

GeneXus 17 和 GeneXus 18 MCP 服务器,支持 Claude、光标和 AI 代理——通过模型上下文协议读取、编辑和分析知识库对象。

概览

→ Guía de inicio en español → Guia de início em português → Troubleshooting guide 它允许AI代理——Claude Desktop、Claude Code、Cursor、Antigravity以及任何兼容MCP的客户端——在所选GeneXus SDK支持的知识库中读取、编辑、分析和重构对象。它与,因此代理使用真实的知识库,而非复制或解析近似。 实际上:你把MCP指向你的知识库,然后问AI助手“列出所有带有CustomerId属性的交易”、“在订单交易中添加一个验证总额的规则”,或者“重构这个过程以使用新的SDT”——它都会照做。 同一MCP发行版支持生成的兼容性文档中列出的SDK主项目。每个配置好的MCP进程选择一个已安装的SDK,编号为--gx;无需单独安装MCP。

概述(AI 翻译)

¿Hablás español? → Guía de inicio en español Fala português? → Guia de início em português 卡住了? → 故障排除指南 所有文档 →文档索引


GeneXus MCP 服务器 允许 AI 代理——Claude Desktop、Claude Code、Cursor、Antigravity 及任何兼容 MCP 的客户端——在由所选原生 SDK 或遗留兼容驱动支持的知识库中读取、编辑、分析和重构对象。原生 SDK 路径可与真实的 GeneXus SDK 配合,传统路径则使用显式反射/COM 适配器;这两种路径都不依赖解析后的知识库副本。

实际上:你把MCP指向你的知识库,然后让AI助手做诸如*“列出所有带有CustomerId属性的交易”,“在订单交易中添加一个验证总额的规则”,或者“重构此过程以使用新的SDT”*——它就会做到。


多版本GeneXus支持。

同一MCP发行版支持官方原生SDK的主攻 生成兼容性文档。它还包含基本的尽力而为 通过独立驱动程序兼容其中列出的旧版; 这条路径并不等同于完整的原生SDK支持。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

GeneXus MCP Server — Multi-version GeneXus for Claude, Cursor, and AI Agents

¿Hablás español? → Guía de inicio en español Fala português? → Guia de início em português Stuck? → Troubleshooting guide All docs → Documentation index


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 native SDK or legacy compatibility driver. Native SDK paths work with the real GeneXus SDK and legacy paths use explicit reflection/COM adapters; neither path relies on a parsed copy of the KB.

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.

Supported SDK majors: GeneXus 16, GeneXus 17, GeneXus 18 (native SDK). Basic legacy compatibility: GeneXus Evolution 3, GeneXus Evolution 2, GeneXus Evolution 1, GeneXus 15, GeneXus 9.0, GeneXus 8.0 via com-gxpublic and dotnet-reflection (not the native SDK build). Primary SDK: GeneXus 18. Source of truth: config/gx-versions.json.

Contents

在 GitHub 查看完整 README

安装

npx genexus-mcp@latest init --kb "C:\KBs\YourKB" --gx "C:\Program Files (x86)\GeneXus\GeneXus18"
新手?先看 mcpskill.org 教程 →