Package su.onno.mcp

Class OnnoMcpProperties

java.lang.Object
su.onno.mcp.OnnoMcpProperties

@ConfigurationProperties(prefix="onno.mcp") public class OnnoMcpProperties extends Object
Configuration for the onno 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

    • OnnoMcpProperties

      public OnnoMcpProperties()
  • 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)