Documentation
¶
Overview ¶
Package mcpcontext provides context helpers for MCP session state. These are in a separate package to avoid import cycles between middleware and toolkit packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProgressToken ¶
GetProgressToken retrieves the progress token from the context.
func GetServerSession ¶
func GetServerSession(ctx context.Context) *mcp.ServerSession
GetServerSession retrieves the ServerSession from the context.
func WithProgressToken ¶
WithProgressToken adds a progress token to the context.
func WithServerSession ¶
WithServerSession adds a ServerSession to the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.