Index

A B C D E F G H I J K M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept(OAuth2ProtectedResourceMetadata.Builder) - Method in class io.meeds.mcp.server.web.McpProtectedResourceMetadataCustomizer
 
actingIdentity() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
Returns the value of the actingIdentity record component.
ActingIdentity - Record Class in io.meeds.mcp.server.model
Who executes a tool call, for whom, through which agents, and on which trigger.
ActingIdentity(PrincipalRef, String, List, Origin, String) - Constructor for record class io.meeds.mcp.server.model.ActingIdentity
Deprecated, for removal: This API element is subject to removal in a future version.
use the canonical constructor, which states the space scope, or ActingIdentity.withHop(String) / ActingIdentity.withGrantScope(String) to derive an identity: a copy built with this one silently drops a space scope. Since 7.3.0, kept for the add-ons built against the previous signature, for removal once none calls it.
ActingIdentity(PrincipalRef, String, List, Origin, String, Long) - Constructor for record class io.meeds.mcp.server.model.ActingIdentity
Checks the identity is complete and holds a combination some entry point produces, and freezes its chain.
actor() - Method in record class io.meeds.mcp.server.model.ActingIdentity
Returns the value of the actor record component.
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(String, String) - Static method in record class io.meeds.mcp.server.model.PrincipalRef
 
agent(String, String, Origin) - Static method in record class io.meeds.mcp.server.model.ActingIdentity
 
agent(String, String, Origin, Long) - Static method in record class io.meeds.mcp.server.model.ActingIdentity
 
AGENT - Enum constant in enum class io.meeds.mcp.server.constant.McpToolGrantScope
Only the agent that made the call the card was shown for.
AGENT - Enum constant in enum class io.meeds.mcp.server.constant.PrincipalKind
An agent's own account, acting as itself.
AGENT_USER_SCOPE_PREFIX - Static variable in record class io.meeds.mcp.server.model.ActingIdentity
The prefix of the grant scope of an agent account acting as itself, followed by the account's login.
AGENT_USER_SPACE_SEPARATOR - Static variable in record class io.meeds.mcp.server.model.ActingIdentity
What follows an agent account's grant scope, then a space id, when its grants are the ones given to it in that space.
agentNameId() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
Returns the value of the agentNameId record component.
agentNameId() - Method in record class io.meeds.mcp.server.model.PrincipalRef
Returns the value of the agentNameId record component.
aggregateToolCallbacks(ObjectProvider, List, List) - Static method in class io.meeds.mcp.server.util.McpServerUtils
 
AI_AGENT_TOOL_ACTOR_KIND_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Event parameter: whether that account is a person's or an agent's.
AI_AGENT_TOOL_ACTOR_USER_NAME_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Event parameter: the login of the account that executed the call.
AI_AGENT_TOOL_AGENT_CHAIN_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Event parameter: the agent chain, a JSON array of agent name ids.
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_ON_BEHALF_OF_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Event parameter: the person the call is for, absent for nobody.
AI_AGENT_TOOL_ORIGIN_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Event parameter: what triggered the call.
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_TURN_ID_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Parameter of an approval request carrying the chat turn id of the call, so that the page can match the card to the call it started.
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) - Method in interface io.meeds.mcp.server.plugin.McpToolGrantConstraintEvaluator
Tells whether any standing approval, limited or not, may cover this call.
allowsStandingApproval(String, Map) - 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_NOT_READABLE_NOTE - Static variable in class io.meeds.mcp.server.util.McpToolUtils
What a published call input becomes when it can't be read as a JSON object: it is never published as is, since its content can't be checked.
ARGUMENTS_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolArgumentUtils
Key of the tool arguments in the tools/call parameters.
ARGUMENTS_TOO_LARGE_NOTE - Static variable in class io.meeds.mcp.server.util.McpToolUtils
What a published call input becomes when it is too large to be shown.

B

BASE64_FILE_BOUND_NAME - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Bound name of the argument that carries a base64 file, as the document tools name it.
BASE64_IMAGE_BOUND_NAME_SUFFIX - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Suffix of the bound name (McpToolUtils.toCamelCase(String) of the argument name) of an argument that carries a base64 image: image_base64, imageBase64 and image_Base64 all bind to imageBase64.

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
 
callingAgent() - Method in record class io.meeds.mcp.server.model.ActingIdentity
 
canEdit(String, String) - Method in interface io.meeds.mcp.server.plugin.SpaceScopeResolver
Tells whether a person could edit the object in person, for a write whose space_scope declares space_role: editor: a digital worker makes that write for the person only when the answer is true.
CARD_GRANT_DAYS - Static variable in class io.meeds.mcp.server.service.McpToolGrantService
The validities, in days, an approval card may offer.
chain() - Method in record class io.meeds.mcp.server.model.ActingIdentity
Returns the value of the chain record component.
CHAT - Enum constant in enum class io.meeds.mcp.server.constant.Origin
A turn of a person's chat with an agent.
clientId() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
Returns the value of the clientId record component.
coerceWholeNumberArguments(Map, Map) - Static method in class io.meeds.mcp.server.util.McpToolArgumentUtils
Turns into a Long, in tool arguments, every string of digits whose name the input schema declares in properties with the type integer or number.
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 constrained record component.
conversationId() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
Returns the value of the conversationId record 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 days record 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>.permissions examples use, and it keeps MCP open to every member of /platform/users as 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.
enforce(String, SimpleToolDefinition, String, ActingIdentity) - Method in class io.meeds.mcp.server.service.McpToolSpaceScopeService
Checks a call against the space scope of its acting identity.
equals(Object) - Method in record class io.meeds.mcp.server.model.ActingIdentity
Indicates whether some other object is "equal to" this one.
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.PrincipalRef
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
 
external(String) - Static method in record class io.meeds.mcp.server.model.ActingIdentity
 
EXTERNAL_MCP - Enum constant in enum class io.meeds.mcp.server.constant.Origin
A call of an external MCP client, with its own token.

F

FIELDS_ARGUMENT - Static variable in class io.meeds.mcp.server.util.McpServerUtils
The optional argument every tool answering a list takes (McpServerUtils.returnsList(ToolCallback)), unless it declares one of its own with that name: the comma-separated top-level keys to keep in each item of a list result.
FIELDS_DESCRIPTION - Static variable in class io.meeds.mcp.server.util.McpServerUtils
The description of the McpServerUtils.FIELDS_ARGUMENT argument, as clients list it.
findApplicableGrant(McpToolGrantRequest, Map) - 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
 
getCurrentActingIdentity() - Static method in class io.meeds.mcp.server.util.McpToolUtils
Resolves who executes the current Tool call, for whom, through which agents and on which trigger.
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_PARAM header 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.
getCurrentTurnId() - Static method in class io.meeds.mcp.server.util.McpToolUtils
Resolves the chat turn that started the current Tool call, from the McpToolUtils.TOOL_CONTEXT_TURN_ID_PARAM header of the internal client only (McpToolUtils.getInternalToolCallRequest()).
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 ConversationState identity when set, else, for the internal client-credentials call only, the McpToolUtils.TOOL_CONTEXT_USER_NAME_PARAM request header, else the authenticated principal.
getDelegate() - Method in class io.meeds.mcp.server.plugin.McpServerOauthOpaqueTokenIntrospector
 
getEffectiveSpaceRole(boolean) - Method in class io.meeds.mcp.server.model.SpaceScopeDeclaration
The role in the space a person must hold for a digital worker to make this write for them: "manager" for a space_admin declaration or one that declares no role, the declared one otherwise.
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
 
getName() - Method in interface io.meeds.mcp.server.plugin.SpaceScopeResolver
 
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
 
grantScope() - Method in record class io.meeds.mcp.server.model.ActingIdentity
Returns the value of the grantScope record component.

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.ActingIdentity
Returns a hash code value for this object.
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.PrincipalRef
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 icon record 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.
ID_FORMAT_HEX32 - Static variable in class io.meeds.mcp.server.model.SpaceScopeDeclaration
The id_format value of an id of 32 lowercase hexadecimal digits.
ID_FORMAT_MATRIX_ROOM - Static variable in class io.meeds.mcp.server.model.SpaceScopeDeclaration
The id_format value of a Matrix room id, with or without its server name.
ID_FORMAT_NUMERIC - Static variable in class io.meeds.mcp.server.model.SpaceScopeDeclaration
The id_format value of a decimal id, the default.
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 /mcp runs.
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.
isApprovalGatedTool(String) - Method in class io.meeds.mcp.server.service.McpServerToolService
Tells whether a tool's definition asks for approval (require_approval), whatever the caller's token holds: the flag McpServerToolService.isRequireApproval(String, Authentication) reads before it looks at the token's scope.
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_PARAM header of the internal client only.
isGrantStoreAvailable() - Method in class io.meeds.mcp.server.service.McpToolGrantService
 
isHexId() - Method in class io.meeds.mcp.server.model.SpaceScopeDeclaration
 
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_ID as the owning OAuth client (OAuth2TokenIntrospectionClaimNames.CLIENT_ID, set by the authorization server from the registered client the token was issued to).
isInternalClientPrincipal(Map) - 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 no Authentication yet, only the introspected principal.
isMatrixRoomId() - Method in class io.meeds.mcp.server.model.SpaceScopeDeclaration
 
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).
isObjectKind() - Method in class io.meeds.mcp.server.model.SpaceScopeDeclaration
 
isReadTool(SimpleToolDefinition) - Static method in class io.meeds.mcp.server.service.McpToolSpaceScopeService
The rule that tells a read from a write for a call limited to one space, shared with the views that show it.
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.
isSourceScope() - Method in record class io.meeds.mcp.server.model.ActingIdentity
 
isSpaceKind() - Method in class io.meeds.mcp.server.model.SpaceScopeDeclaration
 
isTimedOut(long) - Method in class io.meeds.mcp.server.model.UserToolApprovalRequest
 
isUnscopedKind() - Method in class io.meeds.mcp.server.model.SpaceScopeDeclaration
 
isUserInAudience(String) - Method in class io.meeds.mcp.server.service.McpServerAudienceService
Tells whether a user belongs to the MCP audience.
isUseScopeWhenAbsent() - Method in class io.meeds.mcp.server.model.SpaceScopeDeclaration
 
isWellFormedFor(boolean) - Method in class io.meeds.mcp.server.model.SpaceScopeDeclaration
Tells whether the declaration is well formed for its tool: exactly one kind, and, for a write, one that names the place it changes (a space or an object) with no when_absent.

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 kind record component.
kind() - Method in record class io.meeds.mcp.server.model.PrincipalRef
Returns the value of the kind record 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, 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.
MAX_PUBLISHED_INPUT_LENGTH - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Longest call input replaced by McpToolUtils.ARGUMENTS_NOT_READABLE_NOTE when it can't be read as a JSON object; a longer one is replaced by McpToolUtils.ARGUMENTS_TOO_LARGE_NOTE.
MAX_TURN_ID_LENGTH - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Longest turn id echoed back to the chat; a longer one is dropped.
mayEdit(SimpleToolDefinition, String, String) - Method in class io.meeds.mcp.server.service.McpToolSpaceScopeService
Tells whether a person could edit, in person, the object a write reaches, for a write whose space_scope declares space_role: editor: the caller that runs a digital worker's write for a person asks it before letting the write run for them.
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 ExoFeatureService feature 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 McpBearerAuthenticationEntryPoint then 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.server on/off flag that McpServerToolService.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/call request, every argument a model sent as null although 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 McpToolGrantChoice record 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 McpToolGrantConstraint record 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
A call with no resolved acting identity (actingIdentity null).
McpToolGrantRequest(String, String, String, String, String, String, String, boolean, ActingIdentity) - Constructor for record class io.meeds.mcp.server.model.McpToolGrantRequest
Creates an instance of a McpToolGrantRequest record 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 a data:image/svg+xml URI with a mid-grey fill that reads on light and dark backgrounds.
McpToolPlugin - Interface in io.meeds.mcp.server.plugin
 
McpToolSpaceScopeService - Class in io.meeds.mcp.server.service
Keeps a tool call whose acting identity is limited to one space (ActingIdentity.spaceScope()) within that space, from the tool's space_scope declaration (SpaceScopeDeclaration).
McpToolSpaceScopeService(ObjectProvider) - Constructor for class io.meeds.mcp.server.service.McpToolSpaceScopeService
 
McpToolUtils - Class in io.meeds.mcp.server.util
 
MENTION - Enum constant in enum class io.meeds.mcp.server.constant.Origin
An agent account answering a mention or a reply in a stream.
MethodToolCallbackWrapper(McpServerToolService, McpToolApprovalService, McpToolGrantService, McpToolSpaceScopeService, 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/call parameters.
normalizeParameters(Map, Object) - Static method in class io.meeds.mcp.server.util.McpToolArgumentUtils
Removes the null optional arguments from raw tools/call parameters, then turns into numbers the strings of digits sent for numeric arguments.
normalizeTurnId(String) - Static method in class io.meeds.mcp.server.util.McpToolUtils
Bounds a client-supplied turn id.

O

onBehalfOf() - Method in record class io.meeds.mcp.server.model.ActingIdentity
Returns the value of the onBehalfOf record component.
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.
origin() - Method in record class io.meeds.mcp.server.model.ActingIdentity
Returns the value of the origin record component.
Origin - Enum Class in io.meeds.mcp.server.constant
What triggered a tool call: the entry point the acting identity was built at.

P

parseAgentChain(String) - Static method in class io.meeds.mcp.server.util.McpToolUtils
Parses an agent chain serialized by McpToolUtils.toAgentChainJson(List).
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.json resource.
parseToolDefinitions(URL, Collection) - 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
 
person(String, Origin) - Static method in record class io.meeds.mcp.server.model.ActingIdentity
 
person(String, Origin, Long) - Static method in record class io.meeds.mcp.server.model.ActingIdentity
 
PLATFORM - Enum constant in enum class io.meeds.mcp.server.constant.McpToolGrantOwnerType
A platform policy: an administrator pre-approved the tool for every user.
PrincipalKind - Enum Class in io.meeds.mcp.server.constant
The kind of platform account that executes a tool call.
PrincipalRef - Record Class in io.meeds.mcp.server.model
The platform account that executes a tool call: a person's, or an agent's own account.
PrincipalRef(PrincipalKind, String, String) - Constructor for record class io.meeds.mcp.server.model.PrincipalRef
Checks the reference is complete and consistent: a kind, a login, and an agent name id exactly when the account is an agent's.
PROPERTIES_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolArgumentUtils
Key of the declared properties in a JSON schema.
PROPOSAL - Enum constant in enum class io.meeds.mcp.server.constant.Origin
The execution of a proposal its owner approved.
proposeConstraint(String, Map) - 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) - 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
 
READ_SCOPED_ORIGINS - Static variable in record class io.meeds.mcp.server.model.ActingIdentity
The origins whose answer is posted in a space, read by every member of it: an identity of one of them is always limited to that space, and only reads there: Origin.PROPOSAL, an approved proposal, is the only origin a write runs under while limited to a space.
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.
redactBase64ForPublication(String) - Static method in class io.meeds.mcp.server.util.McpToolUtils
Prepares a call input for publication to the chat, to the platform listeners and to the logs: an argument is matched on the name the tool binds it to, McpToolUtils.toCamelCase(String) of its name, so that every spelling a tool accepts is caught.
removeNullOptionalArguments(Map, Map) - Static method in class io.meeds.mcp.server.util.McpToolArgumentUtils
Removes, from tool arguments, every entry whose value is null and whose name the input schema declares in properties without listing it in required.
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, 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 requestId record 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 retry record component.
ROOM_MENTION - Enum constant in enum class io.meeds.mcp.server.constant.Origin
An agent account answering a mention in the chat room of a space.

S

savePermissions(List) - Method in class io.meeds.mcp.server.service.McpServerAudienceService
Replaces the audience.
SCHEDULE - Enum constant in enum class io.meeds.mcp.server.constant.Origin
An occurrence of a scheduled agent run.
SCHEDULE_SCOPE_PREFIX - Static variable in record class io.meeds.mcp.server.model.ActingIdentity
The prefix of the grant scope of a scheduled agent run.
scope() - Method in record class io.meeds.mcp.server.model.McpToolGrantChoice
Returns the value of the scope record 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.json file and as persisted with the administrator's edits.
SimpleToolDefinition(SimpleToolDefinition) - Constructor for class io.meeds.mcp.server.model.SimpleToolDefinition
Copies a definition, its icon, its space scope 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
 
SOURCE - Enum constant in enum class io.meeds.mcp.server.constant.Origin
An unattended run started by another source, an e-mail filter rule for example, whose grant scope names that source.
SOURCE_SCOPE_SEPARATOR - Static variable in record class io.meeds.mcp.server.model.ActingIdentity
What a source scope holds, and an agent name id never does.
SPACE_ROLE_EDITOR - Static variable in class io.meeds.mcp.server.model.SpaceScopeDeclaration
The space_role of a write on an object only who could edit that object in person may have made for them, as the object's resolver tells.
SPACE_ROLE_MANAGER - Static variable in class io.meeds.mcp.server.model.SpaceScopeDeclaration
The space_role of a write only who manages the space may have made for them; the default.
SPACE_ROLE_MEMBER - Static variable in class io.meeds.mcp.server.model.SpaceScopeDeclaration
The space_role of a write any member of the space may have made for them.
SPACE_ROLE_PUBLISHER - Static variable in class io.meeds.mcp.server.model.SpaceScopeDeclaration
The space_role of a write who may publish in the space may have made for them.
SPACE_ROLE_REDACTOR - Static variable in class io.meeds.mcp.server.model.SpaceScopeDeclaration
The space_role of a write who may add content to the space may have made for them.
SPACE_ROLES - Static variable in class io.meeds.mcp.server.model.SpaceScopeDeclaration
The space_role values naming a role in the space, the lowest first.
spaceOf(String) - Method in interface io.meeds.mcp.server.plugin.SpaceScopeResolver
 
spaceScope() - Method in record class io.meeds.mcp.server.model.ActingIdentity
Returns the value of the spaceScope record component.
SpaceScopeDeclaration - Class in io.meeds.mcp.server.model
How a tool may be called when the call is limited to one space (the space_scope of an ai-tool-definitions.json entry).
SpaceScopeDeclaration() - Constructor for class io.meeds.mcp.server.model.SpaceScopeDeclaration
 
SpaceScopeRefusedException - Exception Class in io.meeds.mcp.server.model
A tool call refused because it reaches, or may reach, outside the only space its acting identity is limited to, or is a write that isn't an approved proposal: traced as out of scope, neither as denied nor as an error, and still an IllegalStateException for every caller.
SpaceScopeRefusedException(String) - Constructor for exception class io.meeds.mcp.server.model.SpaceScopeRefusedException
 
SpaceScopeResolver - Interface in io.meeds.mcp.server.plugin
Tells which space an object belongs to, for the tools that reach one by its id while their call is limited to a space: a tool definition whose space_scope names this resolver (resolver) is called only when the object it reaches belongs to the call's space.
subject() - Method in record class io.meeds.mcp.server.model.ActingIdentity
 
supports(String) - Method in interface io.meeds.mcp.server.plugin.McpToolGrantConstraintEvaluator
 
SYSTEM - Enum constant in enum class io.meeds.mcp.server.constant.Origin
A platform process acting on its own.

T

TASK_ASSIGNMENT - Enum constant in enum class io.meeds.mcp.server.constant.Origin
An agent account working on a task assigned to it.
TASK_COMMENT - Enum constant in enum class io.meeds.mcp.server.constant.Origin
An agent account answering a comment on a task.
title() - Method in class io.meeds.mcp.server.model.SimpleToolDefinition
 
toAgentChainJson(List) - Static method in class io.meeds.mcp.server.util.McpToolUtils
Serializes an agent chain the way the acting-identity header and the execution events carry it: a JSON array, since an agent name id may hold a comma.
toAsyncToolSpecification(List) - 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_ACTOR_AGENT_NAME_ID_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Header of the internal client: the agent an agent account belongs to.
TOOL_CONTEXT_ACTOR_KIND_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Header of the internal client: the PrincipalKind of the actor.
TOOL_CONTEXT_ACTOR_USER_NAME_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Header of the internal client naming the login of the account that executes the call; it and the other acting-identity headers are trusted under the same gate as McpToolUtils.TOOL_CONTEXT_USER_NAME_PARAM.
TOOL_CONTEXT_AGENT_CHAIN_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Header of the internal client: the agent chain, a JSON array of agent name ids (McpToolUtils.toAgentChainJson(List)).
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_ON_BEHALF_OF_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Header of the internal client: the person the call is for, if any.
TOOL_CONTEXT_ORIGIN_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Header of the internal client: the Origin of the call.
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_SPACE_SCOPE_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Header of the internal client: the id of the only space the call may reach (ActingIdentity.spaceScope()), absent when the call isn't limited.
TOOL_CONTEXT_TURN_ID_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolUtils
Request header of the internal MCP client carrying the chat turn that started the call.
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_OUT_OF_SCOPE - Enum constant in enum class io.meeds.mcp.server.constant.UserToolRequestType
A call limited to one space was refused by its space scope: the tool (a write outside an approved proposal, or a tool that may reach outside that space) or the call's arguments aren't available to such a call.
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.json file: its tools and the Font Awesome icon name its tools use when they declare none.
ToolDefinitionMethods(List) - Constructor for record class io.meeds.mcp.server.model.ToolDefinitionMethods
 
ToolDefinitionMethods(List, String) - Constructor for record class io.meeds.mcp.server.model.ToolDefinitionMethods
Creates an instance of a ToolDefinitionMethods record class.
toolInput() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
Returns the value of the toolInput record 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 toolName record component.
tools() - Method in record class io.meeds.mcp.server.model.ToolDefinitionMethods
Returns the value of the tools record component.
toSnakeCase(String) - Static method in class io.meeds.mcp.server.util.McpToolUtils
 
toString() - Method in record class io.meeds.mcp.server.model.ActingIdentity
Returns a string representation of this record class.
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.PrincipalRef
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) - 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).
TYPE_PARAM - Static variable in class io.meeds.mcp.server.util.McpToolArgumentUtils
Key of a property's type in a JSON schema.

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.
USE_SCOPE - Static variable in class io.meeds.mcp.server.model.SpaceScopeDeclaration
The when_absent value that reads the call's space.
user(String) - Static method in record class io.meeds.mcp.server.model.PrincipalRef
 
USER - Enum constant in enum class io.meeds.mcp.server.constant.McpToolGrantOwnerType
A standing approval a user gave for their own tool calls.
USER - Enum constant in enum class io.meeds.mcp.server.constant.PrincipalKind
A person's account.
username() - Method in record class io.meeds.mcp.server.model.McpToolGrantRequest
Returns the value of the username record component.
username() - Method in record class io.meeds.mcp.server.model.PrincipalRef
Returns the value of the username record 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
 
UserToolRefusedException - Exception Class in io.meeds.mcp.server.model
A tool call the server's approval gate refuses because nobody can approve it, for an agent account acting as itself: traced as denied, not as an error, and still an IllegalStateException for every caller.
UserToolRefusedException(String) - Constructor for exception class io.meeds.mcp.server.model.UserToolRefusedException
 
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 value record 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.Origin
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.meeds.mcp.server.constant.PrincipalKind
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.Origin
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.PrincipalKind
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
 
withGrantScope(String) - Method in record class io.meeds.mcp.server.model.ActingIdentity
Sets the standing-approval scope, and derives the origin from it whatever the origin was: a scope starting with "schedule:" is a scheduled run, any other scope holding ":" another unattended source, and a bare agent name id leaves the origin as it is.
withHop(String) - Method in record class io.meeds.mcp.server.model.ActingIdentity
The only derivation of the chain: an agent appended at its end.
withNormalizedArguments(McpRequestHandler, Function) - Static method in class io.meeds.mcp.server.util.McpToolArgumentUtils
Wraps the SDK's tools/call request handler so that the parameters it receives no longer carry a null for an optional argument, nor a string of digits for a numeric one.
wrapToolsCallHandler(Map, Supplier) - Static method in class io.meeds.mcp.server.util.McpToolArgumentUtils
Replaces, in a session's request handlers, the SDK's tools/call handler by McpToolArgumentUtils.withNormalizedArguments(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
 
A B C D E F G H I J K M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form