Skip to main content
Glama
gefernandez32

GeneXus18MCP-mini

GeneXus18MCP-mini

Skeleton mínimo de un servidor MCP para GeneXus 18: un solo proceso, sin IPC, para arrancar rápido y entender el patrón antes de (si hace falta) separarlo en dos procesos como el proyecto de referencia (../Genexus18MCP, ver STACK.md ahí para el porqué de esa separación).

Qué hace

3 tools reales contra el SDK (Artech.Architecture.Common / Artech.Udm.Framework), sin mocks:

  • gx_open_kb(path) — abre una KB (KnowledgeBase.Open).

  • gx_list_objects(filter?, limit?) — lista objetos de la KB abierta.

  • gx_read_source(name) — lee la parte Source de un objeto por nombre.

Habla MCP por stdio, JSON-RPC 2.0, un mensaje por línea (sin framing Content-Length). Todo el proceso corre en un thread STA porque el SDK tiene partes COM-flavoured.

Related MCP server: MCP X++ Server

Instalar vía npm

npx -y genexus18mcp-gabo

Requiere Windows + GeneXus 18 instalado localmente (el paquete trae el .exe pre-compilado, pero igual necesita las DLLs Artech.* del SDK en tiempo de ejecución). El wrapper (cli/run.js) autodetecta la carpeta de instalación buscando GeneXus18* bajo Program Files (x86)\GeneXus; si tu instalación vive en otro lado, seteá GX_PATH manualmente.

En la config MCP del cliente:

{
  "mcpServers": {
    "genexus18mcp-mini": {
      "command": "npx",
      "args": ["-y", "genexus18mcp-gabo"]
    }
  }
}

Build desde fuente

dotnet build GeneXus18MCP-mini.csproj -p:GX_PATH="C:\Program Files (x86)\GeneXus\GeneXus18u10_WWP15.4.6"

Ajustá GX_PATH a tu instalación real de GeneXus 18 (el nombre de carpeta varía según el update — no siempre es literalmente ...\GeneXus18).

Probar a mano (sin cliente MCP)

$body = @'
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"gx_open_kb","arguments":{"path":"C:\\ruta\\a\\tu\\KB"}}}
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"gx_list_objects","arguments":{"limit":10}}}
'@
$body | .\bin\Debug\GeneXus18MCP-mini.exe

Conectarlo a Claude Code / Claude Desktop (build desde fuente)

Si compilaste desde fuente en vez de usar npx, agregá el server a la config MCP del cliente apuntando directo al .exe:

{
  "mcpServers": {
    "genexus18mcp-mini": {
      "command": "C:\\MisClientes\\GeneXus\\GeneXus18MCP-mini\\bin\\Debug\\GeneXus18MCP-mini.exe"
    }
  }
}

Próximos pasos naturales (no implementados, a propósito)

  • Escribir (no solo leer) — part.Source = nuevoTexto + obj.Save().

  • Manejo de errores más fino por tool (hoy todo excepción cae en un isError:true genérico).

  • Si necesitás abrir varias KBs a la vez o exponer HTTP además de stdio, ahí es cuando conviene separar protocolo (proceso moderno) de SDK (proceso net48/STA) — ver STACK.md del proyecto de referencia.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    -
    maintenance
    An MCP server that facilitates seamless interaction with SAP ABAP systems to manage development objects, transport requests, and source code. It provides a comprehensive suite of tools for performing syntax checks, object searches, and code modifications via the ADT API.
    Last updated
    100
  • F
    license
    -
    quality
    D
    maintenance
    An MCP server for Microsoft Dynamics 365 Finance & Operations that enables the creation, modification, and analysis of D365 objects like classes, tables, and forms. It integrates with Visual Studio 2022 to provide tools for X++ code extraction, codebase search, and safe object deletion with dependency validation.
    Last updated
  • A
    license
    C
    quality
    D
    maintenance
    An MCP server that enables seamless communication between ABAP systems and MCP clients using the ABAP Development Tools (ADT) API. It provides tools for managing ABAP objects, handling transport requests, and performing code analysis directly through MCP-compatible interfaces.
    Last updated
    100
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for Klever blockchain smart contract development.

  • The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.

  • MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gefernandez32/genexus18mcp-gabo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server