Quick overview
MCP server and APIs
Integrated MCP serverPart of every instance – data, model and framework knowledge for AI agents
Connecting an AI toolConnecting Claude, ChatGPT, Claude Code, Codex and Copilot Studio
Custom APICustom endpoints and an MCP server programmed for a particular customer
Custom code
External functionsCustom logic in C# called from scripts, forms and view pages
Console applicationsOne-off and regular data processing outside the web interface
Scheduled tasksRegular runs of button scripts, service tools and programs
Ready-made services
CRMServiceStoring e-mail communication with customers and calendar synchronization
PaymentServiceMatching bank payments with invoices and liabilities
InvoiceServiceProcessing received invoices delivered by e-mail
1. Three kinds of API
- The integrated API is part of every instance of NET Genium and is intended for administrators. Nothing is programmed or installed for it. It consists of two interfaces:
- The integrated MCP server at the address “/mcp” in the root of the instance provides AI agents with the application data, the implementation model and the framework knowledge. A tool signs in with a NET Genium account, with a personal MCP token or through Microsoft Entra ID. The procedure for each tool is described in the guide Connecting an AI tool to the MCP server.
- The web services for the “NETGeniumConnection.dll” library give custom C# code access to the database, typically a console application. The code signs in with the name and password of an administrator, and every sign-in uses a license.
- The custom API is a separate web application next to a full installation of NET Genium, programmed separately for each customer. It exposes endpoints for mobile applications, machines and third-party systems and optionally an MCP server of its own. The caller proves its identity with a shared access token from the API application, with a personal MCP token with the “Access via a custom API” permission, or through Microsoft Entra ID.
- The partner API is the partner MCP server at the address “https://www.netgenium.com/api/mcp”. It provides implementation partners with the Agent Kit and the complete framework documentation and provides no data of any instance. It signs in with a partner token issued by NetGenium.
2. Custom code in C#
Custom code adds what cannot be set up in the designer. All its kinds work with the database through the “NETGeniumConnection.dll” library and differ in who runs them:
- External functions are run by the application itself – from a script, a query, the default value of a control or from JavaScript. They are part of the “ngef.dll” library in the “bin” directory of NET Genium and always return text.
- Console applications run outside the web interface – once, from the Windows task scheduler or as a Windows service. They connect to the database directly or through the web services of the integrated API.
- The custom API is run by other systems, mobile applications and AI agents that call NET Genium from outside.
3. Automation
- Windows scheduled tasks regularly run the button scripts of view pages with the “RunScript.exe” program, the service tools of NET Genium and console applications.
- Ready-made services are add-ons of the NET Genium ERP application that run in the background of Windows and process e-mails delivered to a technical mailbox – CRMService the e-mail communication with customers, PaymentService the payment messages from the bank and InvoiceService received invoices.
4. Prerequisites
- NET Genium Online – the integrated MCP server is available. The cloud variant supports neither external functions nor connecting through the web services.
- Full installation – the integrated MCP server requires a license key with AI enabled. Custom code in C#, the custom API, scheduled tasks and ready-made services run on the customer's server.
How an AI agent connects to the instance and what it can do through the integrated MCP server is described in the guide How agentic development works.