Package dev.tachyonmcp.api.runtime
@NullMarked
package dev.tachyonmcp.api.runtime
Runtime abstractions for MCP request processing contexts and executors.
-
ClassDescriptionAttributeKey<T>A typed, identity-based key for
InteractionContext.get(AttributeKey)/InteractionContext.set(AttributeKey, Object).Typed access to the client-facing collaboration channels a handler may invoke: elicitation and sampling round-trips.Handler-facing notification surface used from within an interaction (handler dispatch) context.A request to elicit additional information from the user via the client, in form mode.The client's response to an elicitation request.The user action in response to an elicitation request.Requests additional information from the user via the client (elicitation/create).Extension<T>Extension point that can hook into the connection lifecycle and register custom handlers.Handler-facing view of the per-channel interaction: the current lifecycle phase, protocol version, optional session identifier, and the collaboration channels a tool/resource/prompt handler legitimately needs (InteractionContext.notifications()andInteractionContext.sendRequest(String, Object)).Lifecycle phases of an MCP interaction.Emits structured MCPnotifications/messagelogs.Deprecated.SEP-2577 explicitly deprecates sampling.