SmartFramework MCP Server
(requires SmartComponent Library >= 2026-08-16)
(requires SmartComponent Library >= 2026-10-25)
The SmartFramework MCP Server extends AI enabled development Environments (Windsurf, VS Code with Copilot, …) to SmartComponent Library code generation and access to the Framework repository database (SmartDB).
Introduction
The SmartFramework MCP Server is implemented in .NET Core and communicates using the MCP Server stdio protocol. See Model-Contect-Protocol spec at
Model Context Protocol
To install the MCP Server, download the package
(requires SmartComponent Library >= 2026-08-16)
(requires SmartComponent Library >= 2026-10-25)
and extract it to a folder inside the developer workspace that contains the source code.
.NET 8 needs to be installed in order to execute the SmartFramework MCP Server executable.
Authentication
The SmartFramework MCP Server authenticates using an Auth/API key named SMARTFRAMEWORKMCP_AUTH_KEY against a SmartFramework-enabled PASOE AppServer.
You can generate this Auth/API key by running the ABL procedure:
Consultingwerk/SmartFrameworkMcpServer/Authentication/gen-smartframeworkmcp-auth-key.pSet the resulting token in an environment variable called SMARTFRAMEWORKMCP_AUTH_KEY.
The Auth/API key is encrypted using the SmartDB’s internal GUID and is valid only for the SmartDB database against which it was generated.
Configuration (mcp.json, mcp_config.json or similar)
Example mcp.json entry:
"smartframeworkmcp": {
"args": [
"--pasoeUrl",
"https://localhost:<port>/apsv"
],
"command": "<path to server>\\smartframeworkmcpserver.exe",
"disabled": false,
"disabledTools": []
}The
--pasoeUrlparameter must match the APSV transport URL of the PASOE (insert the correct hostname — orlocalhost— and port).The
<path to server>must point to the folder where you extracted the MCP Server package.On Windows, escape backslashes in the JSON string (use
\\).