Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(OAuth2ProtectedResourceMetadata.Builder) - Method in class io.meeds.mcp.server.web.McpProtectedResourceMetadataCustomizer
- addToolUpdateListener(ToolListener) - Method in class io.meeds.mcp.server.service.McpServerToolService
-
Registers a listener notified whenever a tool definition changes.
- addUnknownProperty(String, Object) - Method in class io.meeds.mcp.server.model.SimpleToolDefinition
-
Collects a key of the JSON entry that no field of this model maps.
- AGENT - Enum constant in enum class io.meeds.mcp.server.constant.McpToolGrantScope
-
Only the agent that made the call the card was shown for.
- agentNameId() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Returns the value of the
agentNameIdrecord component. - aggregateToolCallbacks(ObjectProvider<List<ToolCallback>>, List<ToolCallback>, List<ToolCallbackProvider>) - Static method in class io.meeds.mcp.server.util.McpServerUtils
- AI_AGENT_TOOL_AGENT_NAME_ID_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
-
Event parameter: the agent the call is made for, when known.
- AI_AGENT_TOOL_APPROVED_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- AI_AGENT_TOOL_CONVERSATION_ID_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- AI_AGENT_TOOL_DURATION_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- AI_AGENT_TOOL_EXEC_COMPLETED_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- AI_AGENT_TOOL_EXECUTION_EVENT - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- AI_AGENT_TOOL_GRANT_CONSTRAINT_KIND_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
-
Event parameter: the argument limit kind the card may offer.
- AI_AGENT_TOOL_GRANT_CONSTRAINT_VALUE_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
-
Event parameter: the argument limit value the card may offer.
- AI_AGENT_TOOL_GRANT_EXPIRES_AT_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
-
Event parameter: when the created standing approval expires (epoch ms).
- AI_AGENT_TOOL_GRANT_ID_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
-
Event parameter: the standing approval a call ran under, or created.
- AI_AGENT_TOOL_GRANT_MAX_DAYS_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
-
Event parameter: the longest validity, in days, the card may offer.
- AI_AGENT_TOOL_GRANT_OWNER_TYPE_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
-
Event parameter: the owner type of the standing approval.
- AI_AGENT_TOOL_GRANTABLE_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
-
Event parameter: whether the approval card may offer "Always allow".
- AI_AGENT_TOOL_ID_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- AI_AGENT_TOOL_INPUT_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- AI_AGENT_TOOL_NAME_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- AI_AGENT_TOOL_OUTPUT_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- AI_AGENT_TOOL_START_TIME_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- AI_AGENT_TOOL_TYPE_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- AI_AGENT_TOOL_USERNAME_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- allowsStandingApproval(String, Map<String, Object>) - Method in interface io.meeds.mcp.server.plugin.McpToolGrantConstraintEvaluator
-
Tells whether any standing approval, limited or not, may cover this call.
- allowsStandingApproval(String, Map<String, Object>) - Method in class io.meeds.mcp.server.service.McpToolGrantService
-
Tells whether the tool lets a standing approval cover this call at all, from its own evaluators; a tool without evaluator always does, and every evaluator of the tool must agree: one refusing or failing is a veto.
- APPROVAL_ANSWER - Enum constant in enum class io.meeds.mcp.server.constant.UserToolRequestType
- APPROVAL_REQUEST - Enum constant in enum class io.meeds.mcp.server.constant.UserToolRequestType
- APPROVAL_TIMEOUT - Enum constant in enum class io.meeds.mcp.server.constant.UserToolRequestType
- ARGUMENTS_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolArgumentUtils
-
Key of the tool arguments in the
tools/callparameters.
C
- call(String) - Method in class io.meeds.mcp.server.service.McpToolCallbackProviderService.MethodToolCallbackWrapper
- call(String, ToolContext) - Method in class io.meeds.mcp.server.service.McpToolCallbackProviderService.MethodToolCallbackWrapper
- CARD_GRANT_DAYS - Static variable in class io.meeds.mcp.server.service.McpToolGrantService
-
The validities, in days, an approval card may offer.
- clientId() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Returns the value of the
clientIdrecord component. - COMETD_CHANNEL - Static variable in class io.meeds.mcp.server.service.McpToolApprovalService
- commence(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class io.meeds.mcp.server.web.McpBearerAuthenticationEntryPoint
- constrained() - Method in record class io.meeds.mcp.server.model.McpToolGrantChoice
-
Returns the value of the
constrainedrecord component. - conversationId() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Returns the value of the
conversationIdrecord component. - ConversationStateThreadLocalAccessor - Class in io.meeds.mcp.server.context
- ConversationStateThreadLocalAccessor() - Constructor for class io.meeds.mcp.server.context.ConversationStateThreadLocalAccessor
- createGrant(McpToolGrantRequest, McpToolGrantChoice, McpToolGrantConstraint) - Method in class io.meeds.mcp.server.service.McpToolGrantService
-
Builds and stores the grant the user chose on a card.
- createGrant(McpToolGrant, McpToolGrantRequest) - Method in interface io.meeds.mcp.server.plugin.McpToolGrantProvider
-
Stores a new grant the user chose on an approval card.
D
- days() - Method in record class io.meeds.mcp.server.model.McpToolGrantChoice
-
Returns the value of the
daysrecord component. - DEFAULT_LIMIT - Static variable in interface io.meeds.mcp.server.plugin.McpToolPlugin
- DEFAULT_OFFSET - Static variable in interface io.meeds.mcp.server.plugin.McpToolPlugin
- DEFAULT_PERMISSION - Static variable in class io.meeds.mcp.server.service.McpServerAudienceService
-
Widest audience of internal users, and the shipped default: it is the value the platform's own
exo.feature.<name>.permissionsexamples use, and it keeps MCP open to every member of/platform/usersas the global flag alone did. - description() - Method in class io.meeds.mcp.server.model.SimpleToolDefinition
- deserialize(JsonParser, DeserializationContext) - Method in class io.meeds.mcp.server.model.SimpleToolDefinition.JsonObjectToStringDeserializer
- disableMcpServer() - Method in class io.meeds.mcp.server.service.McpServerToolService
-
Switches the MCP server off instance-wide and drops the memoised flag so the change is visible on the next request.
- doFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class io.meeds.mcp.server.web.McpOAuthResourceRedirectWebFilter
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class io.meeds.mcp.server.web.McpDisabledProtectedResourceMetadataFilter
E
- EMAIL_DOMAIN_KIND - Static variable in record class io.meeds.mcp.server.model.McpToolGrantConstraint
-
The only constraint kind of the first phase.
- enableMcpServer() - Method in class io.meeds.mcp.server.service.McpServerToolService
-
Switches the MCP server on instance-wide and drops the memoised flag so the change is visible on the next request.
- equals(Object) - Method in record class io.meeds.mcp.server.model.McpToolGrantChoice
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.meeds.mcp.server.model.McpToolGrantConstraint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.meeds.mcp.server.model.ToolDefinitionMethods
-
Indicates whether some other object is "equal to" this one.
- EVENT_MCP_SERVER_AUDIENCE_UPDATED - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- EVENT_TOOL_UPDATED - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- ExoContainerContextThreadLocalAccessor - Class in io.meeds.mcp.server.context
- ExoContainerContextThreadLocalAccessor() - Constructor for class io.meeds.mcp.server.context.ExoContainerContextThreadLocalAccessor
F
- findApplicableGrant(McpToolGrantRequest, Map<String, Object>) - Method in class io.meeds.mcp.server.service.McpToolGrantService
-
Finds the standing approval that covers a call, the user's own grants first, then the platform policies.
- findGrants(String, String) - Method in interface io.meeds.mcp.server.plugin.McpToolGrantProvider
-
Lists the candidate grants for one call: the user's own grants of the tool and the platform grants of the tool, neither revoked nor expired.
- formatDate(Long) - Static method in class io.meeds.mcp.server.util.McpToolUtils
- formatDate(Date) - Static method in class io.meeds.mcp.server.util.McpToolUtils
- fromJsonString(String) - Static method in class io.meeds.mcp.server.util.McpToolUtils
- fromJsonStringBase64(String) - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Same as
McpToolUtils.fromJsonString(String)for the persisted form, whose input schemas are base64 encoded.
G
- getAlwaysAskToolNames() - Method in class io.meeds.mcp.server.service.McpServerToolService
- getClientId(Authentication) - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Reads the OAuth client that owns the bearer token of a call.
- getClientRegistrationId() - Method in class io.meeds.mcp.server.service.McpInternalOAuthClientService
- getClientSecret() - Method in class io.meeds.mcp.server.service.McpInternalOAuthClientService
- getCurrentAgentNameId() - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Resolves the agent on whose behalf the current Tool is executed, from the
McpToolUtils.TOOL_CONTEXT_AGENT_NAME_ID_PARAMheader of the internal client only (McpToolUtils.getInternalToolCallRequest()): any other caller gets null, so an external client can never claim the agent a standing approval names. - getCurrentConversationId() - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Resolves the AI chat conversation in which the current Tool is executed.
- getCurrentUserAclIdentity() - Method in interface io.meeds.mcp.server.plugin.McpToolPlugin
- getCurrentUserLocale() - Method in interface io.meeds.mcp.server.plugin.McpToolPlugin
- getCurrentUserLocale(String) - Method in interface io.meeds.mcp.server.plugin.McpToolPlugin
- getCurrentUserName() - Method in interface io.meeds.mcp.server.plugin.McpToolPlugin
- getCurrentUserName() - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Resolves the user on behalf of whom the current Tool is executed: the kernel
ConversationStateidentity when set, else, for the internal client-credentials call only, theMcpToolUtils.TOOL_CONTEXT_USER_NAME_PARAMrequest header, else the authenticated principal. - getDelegate() - Method in class io.meeds.mcp.server.plugin.McpServerOauthOpaqueTokenIntrospector
- getLocale(String) - Method in interface io.meeds.mcp.server.plugin.McpToolPlugin
- getMaxDays() - Method in class io.meeds.mcp.server.service.McpToolGrantService
- getMethodToolFieldValue(MethodToolCallback, String) - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Reads a private field of a Spring AI
MethodToolCallback, which exposes no accessor for the tool object and method it wraps. - getMimeType(String) - Static method in class io.meeds.mcp.server.util.McpServerUtils
- getPermissions() - Method in class io.meeds.mcp.server.service.McpServerAudienceService
- getToolCallbacks() - Method in class io.meeds.mcp.server.service.McpToolCallbackProviderService
- getToolDefinition() - Method in class io.meeds.mcp.server.service.McpToolCallbackProviderService.MethodToolCallbackWrapper
- getToolDefinition(String) - Method in class io.meeds.mcp.server.service.McpServerToolService
- getToolDefinitionByMethodName(String) - Method in class io.meeds.mcp.server.service.McpServerToolService
- getToolDefinitions() - Method in class io.meeds.mcp.server.service.McpServerToolService
- getToolMetadata() - Method in class io.meeds.mcp.server.service.McpToolCallbackProviderService.MethodToolCallbackWrapper
- getToolResponseMimeType() - Static method in class io.meeds.mcp.server.util.McpServerUtils
- getUserTimeZone() - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Reads the acting user's time zone from their platform profile, so that a date a tool returns reads the same as the one the web UI shows them.
- getValue() - Method in class io.meeds.mcp.server.context.ConversationStateThreadLocalAccessor
- getValue() - Method in class io.meeds.mcp.server.context.ExoContainerContextThreadLocalAccessor
H
- handleToolUpdate(String) - Method in interface io.meeds.mcp.server.listener.ToolListener
- hasApprovalScope(Authentication) - Method in class io.meeds.mcp.server.service.McpServerToolService
-
Tells whether the caller's token carries the scope under which the user is asked to approve write tools.
- hashCode() - Method in record class io.meeds.mcp.server.model.McpToolGrantChoice
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.meeds.mcp.server.model.McpToolGrantConstraint
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.meeds.mcp.server.model.ToolDefinitionMethods
-
Returns a hash code value for this object.
I
- icon() - Method in record class io.meeds.mcp.server.model.ToolDefinitionMethods
-
Returns the value of the
iconrecord component. - ICON_FILL - Static variable in class io.meeds.mcp.server.util.McpToolIconUtils
-
The fill given to the icon, readable on light and dark backgrounds.
- ICONS_PATH - Static variable in class io.meeds.mcp.server.util.McpToolIconUtils
-
The classpath folder of the bundled Font Awesome Free solid SVGs.
- init() - Method in class io.meeds.mcp.server.context.ConversationStateThreadLocalAccessor
- init() - Method in class io.meeds.mcp.server.context.ExoContainerContextThreadLocalAccessor
- init() - Method in class io.meeds.mcp.server.plugin.McpServerOAuthAccessTokenAudienceProvider
-
Registers this provider with the authorization server's access token customizer, which consults it on every access token it issues.
- init() - Method in class io.meeds.mcp.server.service.McpToolApprovalService
-
Listens to answers on the CometD channel and starts the periodic timeout check of pending cards.
- init() - Method in class io.meeds.mcp.server.service.ServerAddressInfoService
- inputSchema() - Method in class io.meeds.mcp.server.model.SimpleToolDefinition
- introspect(String) - Method in class io.meeds.mcp.server.plugin.McpServerOauthOpaqueTokenIntrospector
-
Validates an opaque access token before anything under
/mcpruns. - io.meeds.mcp.server.constant - package io.meeds.mcp.server.constant
- io.meeds.mcp.server.context - package io.meeds.mcp.server.context
- io.meeds.mcp.server.listener - package io.meeds.mcp.server.listener
- io.meeds.mcp.server.model - package io.meeds.mcp.server.model
- io.meeds.mcp.server.plugin - package io.meeds.mcp.server.plugin
- io.meeds.mcp.server.service - package io.meeds.mcp.server.service
- io.meeds.mcp.server.util - package io.meeds.mcp.server.util
- io.meeds.mcp.server.web - package io.meeds.mcp.server.web
- isAllowedTool(SimpleToolDefinition, Authentication) - Method in class io.meeds.mcp.server.service.McpServerToolService
-
Tells whether the authenticated caller may execute, or even see, one given tool: the MCP server must be globally on, and the token must carry a scope matching the tool's read or write nature.
- isAllowedTool(String, Authentication) - Method in class io.meeds.mcp.server.service.McpServerToolService
-
Same check as
McpServerToolService.isAllowedTool(SimpleToolDefinition, Authentication), for a caller holding only a name: an MCP tool name or the Java method name behind it, tried in that order. - isAlwaysAsk(String) - Method in class io.meeds.mcp.server.service.McpServerToolService
-
Tells whether an administrator marked a tool "always ask": every call needs the user's approval on a card, no standing approval ever covers it, and a caller that can't be asked (a token without the approval scope, such as an external MCP client's) is refused.
- isCurrentCallRetry() - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Tells whether the current Tool call belongs to a retried answer, from the
McpToolUtils.TOOL_CONTEXT_RETRY_MESSAGE_ID_PARAMheader of the internal client only. - isGrantStoreAvailable() - Method in class io.meeds.mcp.server.service.McpToolGrantService
- isInternalClientAuthentication(Authentication) - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Tells whether the authentication is the internal client-credentials call: a bearer token whose introspection attributes name
McpToolUtils.MCP_OAUTH2_CLIENT_CREDENTIALS_REGISTRATION_IDas the owning OAuth client (OAuth2TokenIntrospectionClaimNames.CLIENT_ID, set by the authorization server from the registered client the token was issued to). - isInternalClientPrincipal(Map<String, Object>) - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Same question as
McpToolUtils.isInternalClientAuthentication(Authentication), asked one step earlier: at token introspection time there is noAuthenticationyet, only the introspected principal. - isMcpServerEnabled() - Method in class io.meeds.mcp.server.service.McpServerToolService
- isMcpServerEnabledForUser(String) - Method in class io.meeds.mcp.server.service.McpServerToolService
-
Answers the per-user MCP question — is MCP globally on and is this user in its audience? — for the places that ask it: the door (
McpServerOauthOpaqueTokenIntrospector) and the token endpoint (McpServerOAuthAccessTokenAudienceProvider). - isRequireApproval(String, Authentication) - Method in class io.meeds.mcp.server.service.McpServerToolService
-
Tells whether a tool call must be confirmed by the end user before it runs.
- isTimedOut(long) - Method in class io.meeds.mcp.server.model.UserToolApprovalRequest
- isUserInAudience(String) - Method in class io.meeds.mcp.server.service.McpServerAudienceService
-
Tells whether a user belongs to the MCP audience.
J
- JsonObjectToStringDeserializer() - Constructor for class io.meeds.mcp.server.model.SimpleToolDefinition.JsonObjectToStringDeserializer
K
- key() - Method in class io.meeds.mcp.server.context.ConversationStateThreadLocalAccessor
- key() - Method in class io.meeds.mcp.server.context.ExoContainerContextThreadLocalAccessor
- kind() - Method in record class io.meeds.mcp.server.model.McpToolGrantConstraint
-
Returns the value of the
kindrecord component.
M
- markdownToHtml(String) - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Renders Markdown a tool produced into the HTML the platform's content fields expect, and leaves it untouched when it already carries HTML — a tool's output is not always Markdown, and rendering HTML twice mangles it.
- matches(HttpServletRequest, HttpServletResponse) - Method in class io.meeds.mcp.server.web.McpOAuthResourceRedirectWebFilter
- matches(String, Map<String, Object>, McpToolGrantConstraint) - Method in interface io.meeds.mcp.server.plugin.McpToolGrantConstraintEvaluator
-
Tells whether a call stays within a grant's argument limit.
- MAX_ICON_BYTES - Static variable in class io.meeds.mcp.server.util.McpToolIconUtils
-
The largest SVG file inlined, in bytes.
- MCP_OAUTH2_CLIENT_CREDENTIALS_REGISTRATION_ID - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- MCP_SERVER_FEATURE - Static variable in class io.meeds.mcp.server.util.McpToolUtils
-
Name of the
ExoFeatureServicefeature carrying the MCP server's global on/off flag. - MCP_SERVER_SCOPES_PROPERTY - Static variable in class io.meeds.mcp.server.web.McpProtectedResourceMetadataCustomizer
-
The scopes the authorization server grants for the MCP application, read by OAuthSettingService#getScopes from the same property
- McpBearerAuthenticationEntryPoint - Class in io.meeds.mcp.server.web
- McpBearerAuthenticationEntryPoint() - Constructor for class io.meeds.mcp.server.web.McpBearerAuthenticationEntryPoint
- McpDisabledProtectedResourceMetadataFilter - Class in io.meeds.mcp.server.web
-
Answers 404 to the OAuth 2.0 Protected Resource Metadata requests while the MCP server is disabled, as
McpBearerAuthenticationEntryPointthen withholds the metadata URL. - McpDisabledProtectedResourceMetadataFilter(McpServerToolService) - Constructor for class io.meeds.mcp.server.web.McpDisabledProtectedResourceMetadataFilter
- McpInternalOAuthClientService - Class in io.meeds.mcp.server.service
-
A Service used to generate a comment client secret between MCP Client and OAuth Server
- McpInternalOAuthClientService() - Constructor for class io.meeds.mcp.server.service.McpInternalOAuthClientService
- McpOAuthResourceRedirectWebFilter - Class in io.meeds.mcp.server.web
- McpOAuthResourceRedirectWebFilter() - Constructor for class io.meeds.mcp.server.web.McpOAuthResourceRedirectWebFilter
- McpProtectedResourceMetadataCustomizer - Class in io.meeds.mcp.server.web
-
The claims of the OAuth 2.0 Protected Resource Metadata document (RFC 9728) of the MCP endpoint.
- McpProtectedResourceMetadataCustomizer() - Constructor for class io.meeds.mcp.server.web.McpProtectedResourceMetadataCustomizer
- McpServerAudienceService - Class in io.meeds.mcp.server.service
-
Holds the audience of the MCP server: the list of permission expressions saying which users may open an MCP session at all, beside the global
mcp.serveron/off flag thatMcpServerToolService.isMcpServerEnabled()reads. - McpServerAudienceService() - Constructor for class io.meeds.mcp.server.service.McpServerAudienceService
- McpServerOAuthAccessTokenAudienceProvider - Class in io.meeds.mcp.server.plugin
-
Names this MCP server as the audience of the access tokens issued for its tool scopes — and refuses the token outright for a user the MCP audience excludes.
- McpServerOAuthAccessTokenAudienceProvider() - Constructor for class io.meeds.mcp.server.plugin.McpServerOAuthAccessTokenAudienceProvider
- McpServerOAuthClientProperties - Class in io.meeds.mcp.server.model
- McpServerOAuthClientProperties() - Constructor for class io.meeds.mcp.server.model.McpServerOAuthClientProperties
- McpServerOauthOpaqueTokenIntrospector - Class in io.meeds.mcp.server.plugin
- McpServerOauthOpaqueTokenIntrospector() - Constructor for class io.meeds.mcp.server.plugin.McpServerOauthOpaqueTokenIntrospector
- McpServerToolService - Class in io.meeds.mcp.server.service
- McpServerToolService() - Constructor for class io.meeds.mcp.server.service.McpServerToolService
- McpServerUtils - Class in io.meeds.mcp.server.util
- McpToolApprovalService - Class in io.meeds.mcp.server.service
-
Asks the user to approve a tool call on a card in their chat, and waits for the answer.
- McpToolApprovalService() - Constructor for class io.meeds.mcp.server.service.McpToolApprovalService
- McpToolApprovalService.WebSocketServerListener - Class in io.meeds.mcp.server.service
-
Reads card answers published by the chat on
McpToolApprovalService.COMETD_CHANNEL. - McpToolArgumentUtils - Class in io.meeds.mcp.server.util
-
Removes, from a
tools/callrequest, every argument a model sent asnullalthough the tool's input schema declares it optional. - McpToolCallbackProviderService - Class in io.meeds.mcp.server.service
- McpToolCallbackProviderService() - Constructor for class io.meeds.mcp.server.service.McpToolCallbackProviderService
- McpToolCallbackProviderService.MethodToolCallbackWrapper - Class in io.meeds.mcp.server.service
- McpToolGrant - Class in io.meeds.mcp.server.model
-
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.
- McpToolGrant() - Constructor for class io.meeds.mcp.server.model.McpToolGrant
- McpToolGrant.McpToolGrantBuilder - Class in io.meeds.mcp.server.model
- McpToolGrantBuilder() - Constructor for class io.meeds.mcp.server.model.McpToolGrant.McpToolGrantBuilder
- McpToolGrantChoice - Record Class in io.meeds.mcp.server.model
-
What the user picked with "Always allow" on an approval card: the only part of a grant the client chooses, each value from a closed list checked by the server.
- McpToolGrantChoice(McpToolGrantScope, int, boolean) - Constructor for record class io.meeds.mcp.server.model.McpToolGrantChoice
-
Creates an instance of a
McpToolGrantChoicerecord class. - McpToolGrantConstraint - Record Class in io.meeds.mcp.server.model
-
A limit on the arguments a standing tool approval covers, for example
email_domain/example.com: only calls whose recipients are all in that domain. - McpToolGrantConstraint(String, String) - Constructor for record class io.meeds.mcp.server.model.McpToolGrantConstraint
-
Creates an instance of a
McpToolGrantConstraintrecord class. - McpToolGrantConstraintEvaluator - Interface in io.meeds.mcp.server.plugin
-
Evaluates the argument limits of standing approvals for the tools of one add-on.
- McpToolGrantOwnerType - Enum Class in io.meeds.mcp.server.constant
-
Who a standing tool approval belongs to.
- McpToolGrantProvider - Interface in io.meeds.mcp.server.plugin
-
The store of standing tool approvals, contributed by another add-on (the AI add-on): the MCP server decides, the provider only keeps the grants.
- McpToolGrantRequest - Record Class in io.meeds.mcp.server.model
-
One tool call as the MCP server resolved it, the input of every standing approval decision.
- McpToolGrantRequest(String, String, String, String, String, String, String, boolean) - Constructor for record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Creates an instance of a
McpToolGrantRequestrecord class. - McpToolGrantScope - Enum Class in io.meeds.mcp.server.constant
-
Which agents a standing tool approval chosen on an approval card covers.
- McpToolGrantService - Class in io.meeds.mcp.server.service
-
Decides whether a standing approval covers an approval-gated tool call, and turns an "Always allow" answer into a grant.
- McpToolGrantService() - Constructor for class io.meeds.mcp.server.service.McpToolGrantService
- McpToolIconUtils - Class in io.meeds.mcp.server.util
-
Turns the Font Awesome icon name an add-on declares for a tool (
fa-clipboard) into the standard MCP tool icon external clients display: the matching Font Awesome Free solid SVG, bundled in this module under "mcp-tool-icons/fa-solid/", inlined as adata:image/svg+xmlURI with a mid-grey fill that reads on light and dark backgrounds. - McpToolPlugin - Interface in io.meeds.mcp.server.plugin
- McpToolUtils - Class in io.meeds.mcp.server.util
- MethodToolCallbackWrapper(McpServerToolService, McpToolApprovalService, McpToolGrantService, UserACL, MethodToolCallback) - Constructor for class io.meeds.mcp.server.service.McpToolCallbackProviderService.MethodToolCallbackWrapper
N
- name() - Method in class io.meeds.mcp.server.model.SimpleToolDefinition
- NAME_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolArgumentUtils
-
Key of the tool name in the
tools/callparameters.
O
- onMessage(ServerSession, ServerChannel, ServerMessage.Mutable) - Method in class io.meeds.mcp.server.service.McpToolApprovalService.WebSocketServerListener
-
Parses an answer message and records it; any other message is ignored.
P
- parseChoice(String, String, String) - Method in class io.meeds.mcp.server.service.McpToolGrantService
-
Reads the "Always allow" part of an approval answer.
- parseToolDefinitions(URL) - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Parses one
ai-tool-definitions.jsonresource. - parseToolDefinitions(URL, Collection<String>) - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Same as
McpToolUtils.parseToolDefinitions(URL), and adds the name of each tool left out for a key this server does not know to the given collection. - PERMISSIONS_KEY - Static variable in class io.meeds.mcp.server.service.McpServerAudienceService
- PLATFORM - Enum constant in enum class io.meeds.mcp.server.constant.McpToolGrantOwnerType
-
A platform policy: an administrator pre-approved the tool for every user.
- PROPERTIES_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolArgumentUtils
-
Key of the declared properties in a JSON schema.
- proposeConstraint(String, Map<String, Object>) - Method in interface io.meeds.mcp.server.plugin.McpToolGrantConstraintEvaluator
-
Derives the argument limit an approval card may offer for this call, for example "only recipients in example.com" when every recipient is there.
- proposeConstraint(String, Map<String, Object>) - Method in class io.meeds.mcp.server.service.McpToolGrantService
-
Derives the argument limit an approval card may offer, from the tool's own evaluator.
- provideAudiences(OAuth2TokenContext) - Method in class io.meeds.mcp.server.plugin.McpServerOAuthAccessTokenAudienceProvider
R
- READ_SCOPE_AUTHORITY - Static variable in class io.meeds.mcp.server.service.McpServerToolService
- receiveAnswer(String, String, boolean) - Method in class io.meeds.mcp.server.service.McpToolApprovalService
-
Records a plain approve or deny answer.
- receiveAnswer(String, String, boolean, boolean, McpToolGrantChoice) - Method in class io.meeds.mcp.server.service.McpToolApprovalService
-
Records an answer to a pending card.
- recordUse(long, McpToolGrantRequest) - Method in interface io.meeds.mcp.server.plugin.McpToolGrantProvider
-
Records that a call ran under a grant (last use and use count).
- recordUse(McpToolGrant, McpToolGrantRequest) - Method in class io.meeds.mcp.server.service.McpToolGrantService
-
Records one use of a grant in its store.
- removeNullOptionalArguments(Map<String, Object>, Map<String, Object>) - Static method in class io.meeds.mcp.server.util.McpToolArgumentUtils
-
Removes, from tool arguments, every entry whose value is
nulland whose name the input schema declares inpropertieswithout listing it inrequired. - removeNullOptionalParameters(Map<String, Object>, Object) - Static method in class io.meeds.mcp.server.util.McpToolArgumentUtils
-
Removes the
nulloptional arguments from rawtools/callparameters. - requestApproval(String, String, String, String, String) - Method in class io.meeds.mcp.server.service.McpToolApprovalService
-
Asks the user to approve a call on a card without "Always allow", and waits for the answer.
- requestApproval(String, String, String, String, String, McpToolGrantRequest, boolean, McpToolGrantConstraint) - Method in class io.meeds.mcp.server.service.McpToolApprovalService
-
Asks the user to approve a call on a card, offering "Always allow" when the call is grantable, and waits for the answer.
- requestId() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Returns the value of the
requestIdrecord component. - REQUIRED_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolArgumentUtils
-
Key of the required property names in a JSON schema.
- retry() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Returns the value of the
retryrecord component.
S
- savePermissions(List<String>) - Method in class io.meeds.mcp.server.service.McpServerAudienceService
-
Replaces the audience.
- scope() - Method in record class io.meeds.mcp.server.model.McpToolGrantChoice
-
Returns the value of the
scoperecord component. - SCOPE_PATTERN - Static variable in class io.meeds.mcp.server.service.McpServerToolService
- ServerAddressInfoService - Class in io.meeds.mcp.server.service
- ServerAddressInfoService(J2EEServerInfo) - Constructor for class io.meeds.mcp.server.service.ServerAddressInfoService
- setAlwaysAsk(String, boolean) - Method in class io.meeds.mcp.server.service.McpServerToolService
-
Marks or unmarks a tool "always ask", see
McpServerToolService.isAlwaysAsk(String). - setValue() - Method in class io.meeds.mcp.server.context.ConversationStateThreadLocalAccessor
- setValue() - Method in class io.meeds.mcp.server.context.ExoContainerContextThreadLocalAccessor
- setValue(ExoContainer) - Method in class io.meeds.mcp.server.context.ExoContainerContextThreadLocalAccessor
- setValue(ConversationState) - Method in class io.meeds.mcp.server.context.ConversationStateThreadLocalAccessor
- shutdown() - Method in class io.meeds.mcp.server.service.McpToolApprovalService
-
Stops the periodic timeout check.
- SimpleToolDefinition - Class in io.meeds.mcp.server.model
-
One MCP tool definition, as shipped in an
ai-tool-definitions.jsonfile and as persisted with the administrator's edits. - SimpleToolDefinition(SimpleToolDefinition) - Constructor for class io.meeds.mcp.server.model.SimpleToolDefinition
-
Copies a definition, its icon and its unknown keys included.
- SimpleToolDefinition(String, String, String, String, boolean, boolean, McpSchema.ToolAnnotations) - Constructor for class io.meeds.mcp.server.model.SimpleToolDefinition
-
Builds a definition with no icon.
- SimpleToolDefinition.JsonObjectToStringDeserializer - Class in io.meeds.mcp.server.model
- supports(String) - Method in interface io.meeds.mcp.server.plugin.McpToolGrantConstraintEvaluator
T
- title() - Method in class io.meeds.mcp.server.model.SimpleToolDefinition
- toAsyncToolSpecification(List<ToolCallback>) - Static method in class io.meeds.mcp.server.util.McpServerUtils
- toAsyncToolSpecification(ToolCallback, MimeType) - Static method in class io.meeds.mcp.server.util.McpServerUtils
- toCamelCase(String) - Static method in class io.meeds.mcp.server.util.McpToolUtils
- toDate(String) - Static method in class io.meeds.mcp.server.util.McpToolUtils
- toJsonStringBase64(ToolDefinitionMethods) - Static method in class io.meeds.mcp.server.util.McpToolUtils
-
Serializes tool definitions to their persisted form, base64 encoding each input schema.
- toMcpIcons(String) - Static method in class io.meeds.mcp.server.util.McpToolIconUtils
- TOOL - Enum constant in enum class io.meeds.mcp.server.constant.McpToolGrantScope
-
Any agent calling the tool on the user's behalf.
- TOOL_CONTEXT_AGENT_NAME_ID_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
-
Header naming the agent on whose behalf the internal client calls a tool, trusted under the same gate as
McpToolUtils.TOOL_CONTEXT_USER_NAME_PARAM. - TOOL_CONTEXT_CONVERSATION_ID_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- TOOL_CONTEXT_ID - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- TOOL_CONTEXT_ID_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- TOOL_CONTEXT_RETRY_MESSAGE_ID_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
-
Header carried by the internal client when the call belongs to a retried answer, trusted under the same gate as
McpToolUtils.TOOL_CONTEXT_USER_NAME_PARAM. - TOOL_CONTEXT_USER_NAME_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- TOOL_EXECUTION_DENIED - Enum constant in enum class io.meeds.mcp.server.constant.UserToolRequestType
- TOOL_EXECUTION_ERROR - Enum constant in enum class io.meeds.mcp.server.constant.UserToolRequestType
- TOOL_EXECUTION_FINISHED - Enum constant in enum class io.meeds.mcp.server.constant.UserToolRequestType
- TOOL_EXECUTION_GRANTED - Enum constant in enum class io.meeds.mcp.server.constant.UserToolRequestType
-
An approval-gated call ran without a card because a standing approval covered it; the event names the grant and its owner type.
- TOOL_EXECUTION_START - Enum constant in enum class io.meeds.mcp.server.constant.UserToolRequestType
- TOOL_READ_SCOPE - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- TOOL_WRITE_APPROVE_SCOPE - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- TOOL_WRITE_SCOPE - Static variable in class io.meeds.mcp.server.util.McpToolUtils
- ToolDefinitionMethods - Record Class in io.meeds.mcp.server.model
-
The content of an
ai-tool-definitions.jsonfile: its tools and the Font Awesome icon name its tools use when they declare none. - ToolDefinitionMethods(List<SimpleToolDefinition>) - Constructor for record class io.meeds.mcp.server.model.ToolDefinitionMethods
- ToolDefinitionMethods(List<SimpleToolDefinition>, String) - Constructor for record class io.meeds.mcp.server.model.ToolDefinitionMethods
-
Creates an instance of a
ToolDefinitionMethodsrecord class. - toolInput() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Returns the value of the
toolInputrecord component. - ToolListener - Interface in io.meeds.mcp.server.listener
- toolName() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Returns the value of the
toolNamerecord component. - tools() - Method in record class io.meeds.mcp.server.model.ToolDefinitionMethods
-
Returns the value of the
toolsrecord component. - toSnakeCase(String) - Static method in class io.meeds.mcp.server.util.McpToolUtils
- toString() - Method in record class io.meeds.mcp.server.model.McpToolGrantChoice
-
Returns a string representation of this record class.
- toString() - Method in record class io.meeds.mcp.server.model.McpToolGrantConstraint
-
Returns a string representation of this record class.
- toString() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Returns a string representation of this record class.
- toString() - Method in record class io.meeds.mcp.server.model.ToolDefinitionMethods
-
Returns a string representation of this record class.
- toSyncToolSpecification(ToolCallback, MimeType) - Static method in class io.meeds.mcp.server.util.McpServerUtils
- toSyncToolSpecifications(List<ToolCallback>) - Static method in class io.meeds.mcp.server.util.McpServerUtils
- traceToolExecution(UserToolExecution) - Method in class io.meeds.mcp.server.service.McpToolApprovalService
-
Publishes one step of a tool call to the user's chat and to the platform listeners (
ai-agent-tool-execution).
U
- unknownPropertyNames() - Method in class io.meeds.mcp.server.model.SimpleToolDefinition
- updateToolDefinition(String) - Method in class io.meeds.mcp.server.service.McpToolCallbackProviderService
- updateToolDefinition(String, String, String, String, boolean, boolean) - Method in class io.meeds.mcp.server.service.McpServerToolService
-
Updates an administrable tool definition, persists the whole set and notifies listeners so that a running instance picks the change up without a restart.
- USER - Enum constant in enum class io.meeds.mcp.server.constant.McpToolGrantOwnerType
-
A standing approval a user gave for their own tool calls.
- username() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
-
Returns the value of the
usernamerecord component. - UserToolApprovalAnswer - Class in io.meeds.mcp.server.model
-
The answer to a pending approval card.
- UserToolApprovalAnswer(String) - Constructor for class io.meeds.mcp.server.model.UserToolApprovalAnswer
- UserToolApprovalRequest - Class in io.meeds.mcp.server.model
-
A pending approval card: the call it was shown for, as the server resolved it, and whether the card may offer "Always allow".
- UserToolApprovalRequest(String) - Constructor for class io.meeds.mcp.server.model.UserToolApprovalRequest
- UserToolDeniedException - Exception Class in io.meeds.mcp.server.model
- UserToolDeniedException(String) - Constructor for exception class io.meeds.mcp.server.model.UserToolDeniedException
- UserToolExecution - Class in io.meeds.mcp.server.model
- UserToolExecution() - Constructor for class io.meeds.mcp.server.model.UserToolExecution
- UserToolExecution.UserToolExecutionBuilder - Class in io.meeds.mcp.server.model
- UserToolExecutionBuilder() - Constructor for class io.meeds.mcp.server.model.UserToolExecution.UserToolExecutionBuilder
- UserToolRequestType - Enum Class in io.meeds.mcp.server.constant
- UserToolTimeoutException - Exception Class in io.meeds.mcp.server.model
- UserToolTimeoutException(String) - Constructor for exception class io.meeds.mcp.server.model.UserToolTimeoutException
V
- value() - Method in record class io.meeds.mcp.server.model.McpToolGrantConstraint
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class io.meeds.mcp.server.constant.McpToolGrantOwnerType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.meeds.mcp.server.constant.McpToolGrantScope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.meeds.mcp.server.constant.UserToolRequestType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.meeds.mcp.server.constant.McpToolGrantOwnerType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.meeds.mcp.server.constant.McpToolGrantScope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.meeds.mcp.server.constant.UserToolRequestType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WebSocketServerListener() - Constructor for class io.meeds.mcp.server.service.McpToolApprovalService.WebSocketServerListener
- withoutNullOptionalArguments(McpRequestHandler<T>, Function<String, Mono<McpSchema.Tool>>) - Static method in class io.meeds.mcp.server.util.McpToolArgumentUtils
-
Wraps the SDK's
tools/callrequest handler so that the parameters it receives no longer carry anullfor an optional argument. - wrapToolsCallHandler(Map<String, McpRequestHandler<?>>, Supplier<McpAsyncServer>) - Static method in class io.meeds.mcp.server.util.McpToolArgumentUtils
-
Replaces, in a session's request handlers, the SDK's
tools/callhandler byMcpToolArgumentUtils.withoutNullOptionalArguments(McpRequestHandler, Function), resolving each tool among the tools the MCP server exposes. - WRITE_APPROVE_SCOPE_AUTHORITY - Static variable in class io.meeds.mcp.server.service.McpServerToolService
- WRITE_SCOPE_AUTHORITY - Static variable in class io.meeds.mcp.server.service.McpServerToolService
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form