Package com.onec.mcp
Class OnecMcpProperties
java.lang.Object
com.onec.mcp.OnecMcpProperties
Configuration for the onec MCP server.
The server exposes the application's business model (catalogs, documents,
accumulation registers) as Model Context Protocol tools, generated generically
from the MetadataRegistry and enforced through the same
UiAccessService role model as the web UI.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanvoidsetEnabled(boolean enabled) voidsetEndpoint(String endpoint) voidsetInstructions(String instructions) voidsetPostingEnabled(boolean postingEnabled) voidsetServerName(String serverName) voidsetServerVersion(String serverVersion) voidsetWritesEnabled(boolean writesEnabled)
-
Constructor Details
-
OnecMcpProperties
public OnecMcpProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getEndpoint
-
setEndpoint
-
isWritesEnabled
public boolean isWritesEnabled() -
setWritesEnabled
public void setWritesEnabled(boolean writesEnabled) -
isPostingEnabled
public boolean isPostingEnabled() -
setPostingEnabled
public void setPostingEnabled(boolean postingEnabled) -
getServerName
-
setServerName
-
getServerVersion
-
setServerVersion
-
getInstructions
-
setInstructions
-