- The BPMN editor’s AI assistant (Modeling › BPMN): describe a process and have it drawn or changed, and have the editor’s lint findings explained and fixed.
- Ops Chat (Admin › Ops Chat): ask about the running engine in plain language. The model answers through read-only engine queries, and the page shows which ones it used.
- The MCP server (
/mcp): the same read-only queries for MCP clients such as Claude Desktop, Claude Code, or Cursor.
aseeflow-webadmin-ai, which you add to your own Spring Boot application next to the WebAdmin starter. WebAdmin’s WAR, ASEE Flow Run, the Tomcat and WildFly distributions, and the Docker images do not have them. Without the module, the BPMN editor is a plain modeler and Ops Chat is not in the menu.
Requirements
- Spring Boot 4.1.2 or later, on Java 17 or later, with the WebAdmin starter 2.0.
- Access to the
aseeflow-webadmin-airepository. The module is available to customers entitled to the AI features, with the credentials they receive for it. - An Anthropic API key. WebAdmin 2.0 supports Claude only.
Add the module
The module is in its own repository. Add it next to the WebAdmin repository in yourpom.xml:
settings.xml, under the same id:
Configure the BPMN editor’s AI
application.yaml: pass it as an environment variable or through your secret store. Set the default model to one of available-models.
The editor’s requests go through WebAdmin (
/webadmin/api/llm), behind your WebAdmin sign-in. The browser never sees the API key.
Add Ops Chat and the MCP server
Ops Chat answers with the MCP server’s engine queries, so the two come together. Add Spring AI’s MCP server starter:
Ops Chat is behind your WebAdmin sign-in. The MCP server always asks for HTTP Basic with an engine user, whatever WebAdmin’s authentication mode is. Either way, the queries run as that user, with the user’s engine authorizations and tenants.
Since 2.1.0,
/mcp sends no CORS headers unless aseeflow.webadmin.mcp.allowed-origins lists origins. Claude Desktop and Code, Cursor, mcp-remote and curl are not browsers and are not affected. A client that runs in a browser is: the MCP Inspector in direct mode needs http://localhost:6274 in the list, while its default proxy mode does not. /mcp also refuses state-changing requests from another origin, as WebAdmin does (CSRF and cross-site requests); origins in either list are trusted. Its Basic realm is aseeflow-mcp.
While aseeflow.webadmin.mcp.enabled is false, the module keeps Spring AI’s MCP server switched off too, so /mcp does not exist. If you set spring.ai.mcp.server.enabled: true yourself without WebAdmin’s MCP, Spring AI serves /mcp without WebAdmin’s sign-in, and the log warns about it at startup.
Check that it works
Signed in,GET /webadmin/api/config reports what the server has:
llmAvailable is the BPMN editor’s AI, and opsChatAvailable is Ops Chat. GET /webadmin/api/llm/config lists the models and budgets the editor offers. An MCP client connects to /mcp on your application’s address, with an engine user’s name and password.
Connect an MCP client
Every client sends HTTP Basic on each request:Authorization: Basic followed by the base64 of user:password, for the engine user the queries run as. In PowerShell:
/mcp directly:
/mcp through mcp-remote. Add to mcpServers in claude_desktop_config.json:
- Write
Authorization:${AUTH_HEADER}with no space after the colon, and put the value inenv. Claude Desktop on Windows breaks arguments that contain spaces. - For plain
httpto a host other thanlocalhost, add--allow-httpafter the URL. - Open the file from Claude Desktop’s Settings → Developer → Edit Config. On Windows it is
%APPDATA%\Claude\for the standard installer, but%LOCALAPPDATA%\Claude-Data\<package id>\for the packaged install, and Claude Desktop ignores the other one. - Quit Claude Desktop completely and start it again after the change.
mcp-remote stops with Dynamic Client Registration rejected (HTTP 404) and "path":"/register", the Authorization header did not reach WebAdmin. /mcp accepts HTTP Basic only. Without credentials it answers 401, mcp-remote then takes it for an OAuth server and tries to register, and that path does not exist. Check the header as above, in the file Claude Desktop actually reads.