Package com.ssgllc.fish.config.mcp
Class McpEntityConfig
java.lang.Object
com.ssgllc.fish.config.mcp.McpEntityConfig
MCP tool configuration for Casetivity entity CRUD operations.
Provides eight tools for reading and writing any entity type in the application:
get-entity- fetch a DTO by type and id, with optional expansionget-domain-entity- fetch the raw JPA domain object by type and idfind-entity- find a single entity by exact field matchsearch-entity- paged search with filter criteria and sortingcreate-entity- create a new entity with the provided field valuescreate-entities- create multiple entities in one all-or-nothing transactionupdate-entity- update an existing entity's fieldsdelete-entity- delete an entity by type and id
Write operations (create-entity, update-entity, delete-entity)
accept an optional featureBranch parameter which is recorded in the
configuration audit trail via ConfigBranchContext.
Active only when spring.ai.mcp.server.enabled=true.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTool implementations for entity CRUD operations. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
McpEntityConfig
public McpEntityConfig()
-