Uses of Record Class
io.meeds.mcp.server.model.McpToolGrantRequest
Packages that use McpToolGrantRequest
-
Uses of McpToolGrantRequest in io.meeds.mcp.server.plugin
Methods in io.meeds.mcp.server.plugin with parameters of type McpToolGrantRequestModifier and TypeMethodDescriptionMcpToolGrantProvider.createGrant(McpToolGrant grant, McpToolGrantRequest request) Stores a new grant the user chose on an approval card.voidMcpToolGrantProvider.recordUse(long grantId, McpToolGrantRequest request) Records that a call ran under a grant (last use and use count). -
Uses of McpToolGrantRequest in io.meeds.mcp.server.service
Methods in io.meeds.mcp.server.service with parameters of type McpToolGrantRequestModifier and TypeMethodDescriptionMcpToolGrantService.createGrant(McpToolGrantRequest request, McpToolGrantChoice choice, McpToolGrantConstraint offeredConstraint) Builds and stores the grant the user chose on a card.McpToolGrantService.findApplicableGrant(McpToolGrantRequest request, Map<String, Object> arguments) Finds the standing approval that covers a call, the user's own grants first, then the platform policies.voidMcpToolGrantService.recordUse(McpToolGrant grant, McpToolGrantRequest request) Records one use of a grant in its store.booleanMcpToolApprovalService.requestApproval(String id, String conversationId, String toolName, String toolInput, String username, McpToolGrantRequest grantRequest, boolean grantable, McpToolGrantConstraint offeredConstraint) Asks the user to approve a call on a card, offering "Always allow" when the call is grantable, and waits for the answer.