Package dev.relism.flash.ext.mcp
package dev.relism.flash.ext.mcp
-
ClassDescriptionMCP tool/prompt content block.Immutable configuration for
McpExtension.MCP (Model Context Protocol) server extension.Base class for a single MCP prompt template — one class per prompt, mirroringMcpTool.Base class for a single MCP resource — one class per resource, mirroringMcpTool.OAuth2 requirement policy for the MCP endpoint, resolved against whetherflash-ext-oidcis installed (ctx.find(OidcMiddleware.class)).Base class for a single MCP tool — one class per tool, mirroringRequestHandler: declare metadata with@Tool, cache services inMcpTool.onInit(), implementMcpTool.call(ToolArguments)for the hot path.Marks aMcpPromptsubclass as an MCP prompt template and declares its metadata, discovered by.invalid reference
McpConfig#toolsPackage(String)Declares one argument of aPrompt.Typed accessor over aprompts/getrequest'sargumentsobject.A single message returned by aMcpPrompt.Marks aMcpResourcesubclass as an MCP resource and declares its metadata, discovered by.invalid reference
McpConfig#toolsPackage(String)MCP resource contents.Plain-text content block (type: "text"on the wire).Text resource contents returned fromresources/read.Marks aMcpToolsubclass as an MCP tool and declares its metadata, discovered by.invalid reference
McpConfig#toolsPackage(String)Declares one input argument of aTool.JSON Schema primitive types available forToolArg.type().Typed accessor over atools/callrequest'sargumentsobject.Result of aMcpTool.call(ToolArguments)invocation.