Package dev.tachyonmcp.core.server
@NullMarked
package dev.tachyonmcp.core.server
Server classes
-
ClassDescriptionFires a log entry at configurable thresholds when a handler takes longer than expected.Orchestrates the MCP server's per-request flow: parses JSON-RPC messages, establishes the session on
initialize, routes to registered handlers (including extension methods), tracks pending requests, and encodes responses.A dispatched JSON-RPC response (result or error envelope) ready to write to the wire.Transport-level signal: the transport must reply with a raw HTTPcode/message, not a JSON-RPC error envelope.Outbound SSE stream bound to the current dispatch context.DefaultOutboundStreamResolverthat diverts events through anOutboundSseStreambound in the current dispatch context when the dispatch session matches the target session.Resolves the transport channel server-to-client SSE events should be delivered on.Handles a single JSON-RPC method.Configures and builds aTachyonServer; callTachyonServer.start()to bind its transport.The one public type users hold — an MCP server that isAutoCloseable.