Package com.onec.mcp

Class OnecMcpProperties

java.lang.Object
com.onec.mcp.OnecMcpProperties

@ConfigurationProperties(prefix="onec.mcp") public class OnecMcpProperties extends Object
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 Details

    • OnecMcpProperties

      public OnecMcpProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getEndpoint

      public String getEndpoint()
    • setEndpoint

      public void setEndpoint(String endpoint)
    • isWritesEnabled

      public boolean isWritesEnabled()
    • setWritesEnabled

      public void setWritesEnabled(boolean writesEnabled)
    • isPostingEnabled

      public boolean isPostingEnabled()
    • setPostingEnabled

      public void setPostingEnabled(boolean postingEnabled)
    • getServerName

      public String getServerName()
    • setServerName

      public void setServerName(String serverName)
    • getServerVersion

      public String getServerVersion()
    • setServerVersion

      public void setServerVersion(String serverVersion)
    • getInstructions

      public String getInstructions()
    • setInstructions

      public void setInstructions(String instructions)