Versions in this module Expand all Collapse all v2 v2.0.2 Oct 8, 2026 v2.0.1 Oct 7, 2026 Changes in this version + func GetExcludeTools(ctx context.Context) []string + func GetGraphQLFeatures(ctx context.Context) []string + func GetHeaderFeatures(ctx context.Context) []string + func GetTokenScopes(ctx context.Context) ([]string, bool) + func GetTools(ctx context.Context) []string + func GetToolsets(ctx context.Context) []string + func HasUISupport(ctx context.Context) (supported bool, ok bool) + func IsInsidersMode(ctx context.Context) bool + func IsLockdownMode(ctx context.Context) bool + func IsReadonly(ctx context.Context) bool + func WithExcludeTools(ctx context.Context, tools []string) context.Context + func WithGraphQLFeatures(ctx context.Context, features ...string) context.Context + func WithHeaderFeatures(ctx context.Context, features []string) context.Context + func WithInsidersMode(ctx context.Context, enabled bool) context.Context + func WithLockdownMode(ctx context.Context, enabled bool) context.Context + func WithMCPMethodInfo(ctx context.Context, info *MCPMethodInfo) context.Context + func WithReadonly(ctx context.Context, enabled bool) context.Context + func WithTokenInfo(ctx context.Context, tokenInfo *TokenInfo) context.Context + func WithTokenScopes(ctx context.Context, scopes []string) context.Context + func WithTools(ctx context.Context, tools []string) context.Context + func WithToolsets(ctx context.Context, toolsets []string) context.Context + func WithUISupport(ctx context.Context, supported bool) context.Context + type MCPMethodInfo struct + ArgumentsNormalized bool + ClientCapabilities *mcp.ClientCapabilities + ItemName string + Method string + NormalizedArguments json.RawMessage + ProtocolVersion string + RawArguments json.RawMessage + func MCPMethod(ctx context.Context) (*MCPMethodInfo, bool) + func (info *MCPMethodInfo) DecodeArguments() (map[string]any, error) + type TokenInfo struct + Token string + TokenType utils.TokenType + func GetTokenInfo(ctx context.Context) (*TokenInfo, bool) Other modules containing this package github.com/github/github-mcp-server