util

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VERSION_20241105 = "2024-11-05"
	VERSION_20250326 = "2025-03-26"
	VERSION_20250618 = "2025-06-18"
	VERSION_20251125 = "2025-11-25"
)
View Source
const LATEST_PROTOCOL_VERSION = VERSION_20251125

LATEST_PROTOCOL_VERSION is the latest version of the MCP protocol supported. Update the version used in InitializeResponse when this value is updated.

Variables

SUPPORTED_PROTOCOL_VERSIONS is the MCP protocol versions that are supported.

Functions

func ValidateScopes added in v1.4.0

func ValidateScopes(ctx context.Context, toolScopes []string, authServices map[string]auth.AuthService) error

ValidateScopes validates if the claims contain all required scopes for a tool call.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL