Package io.meeds.mcp.server.model
Class McpToolGrant
java.lang.Object
io.meeds.mcp.server.model.McpToolGrant
A standing approval of one tool: while it is valid, a call it covers runs
without showing an approval card, and the run is traced as granted.
A grant covers a call when the tool names are equal, the owner is the
calling user (or the grant is a McpToolGrantOwnerType.PLATFORM
policy), the call happens strictly before expiresAt, the agent
is the grant's agent (or the grant names none), its constraint
(if any) is satisfied by the tool's own evaluator, and — unless the grant is
unattended — the call comes from an interactive chat
conversation. A grant chosen on an approval card is never unattended.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
McpToolGrant
public McpToolGrant()
-