Package eu.mrapik.minecraftservermcp.internal
package eu.mrapik.minecraftservermcp.internal
-
ClassDescriptionNarrow view of
Bukkitservices used during MCP plugin lifecycle.Shared ReactorSchedulerfor blocking file I/O used by filesystem tools, so work stays off the game thread without unbounded thread creation.Immutable record holding all fields forMcpToolInvocation; constructed byToolInvocationGateafter the token and tool policy have been validated.Service implementation registered underMinecraftServerMcp: tools are added throughToolInvocationGate, while built-in resources are registered separately inMcpHttpServerusingResourceInvocationGate.Bootstrap class; Loadsconfig.yml, starts the embedded MCP HTTP (and optional HTTPS) server, and registersMinecraftServerMcpin the BukkitServicesManager.Applies the same bearer-token andToolAccessConfigchecks asToolInvocationGate, but for MCPresources/readrequests.Callback executed afterResourceInvocationGatehas resolved the token profile and confirmed that the policy id is enabled.ProductionBukkitAccessbacked by Spigot'sBukkitstatic facade.Bridges MCPMcpToolDefinitioninstances to the SDK'sMcpServerFeatures.AsyncToolSpecificationby enforcing access control before the handler runs.