UNPKG

@grebyn/toolflow-mcp-server

Version:

MCP server for managing other MCP servers - discover, install, organize into bundles, and automate with workflows. Uses StreamableHTTP transport with dual OAuth/API key authentication.

43 lines 1.21 kB
/** * OAuth 2.1 and MCP Authorization types */ export interface OAuthProtectedResourceMetadata { resource: string; authorization_servers: string[]; } export interface OAuthAuthorizationServerMetadata { issuer: string; authorization_endpoint: string; token_endpoint: string; jwks_uri: string; grant_types_supported: string[]; code_challenge_methods_supported: string[]; response_types_supported: string[]; scopes_supported: string[]; token_endpoint_auth_methods_supported: string[]; registration_endpoint: string; resource_indicators_supported: boolean; require_pushed_authorization_requests: boolean; } export interface OAuthClientRegistration { client_id: string; client_secret: string; token_endpoint_auth_method: string; grant_types: string[]; response_types: string[]; redirect_uris: string[]; scope: string; client_name: string; application_type: string; } export interface AuthContext { isAuthenticated: boolean; userId?: string; email?: string; organizationId?: string; token?: string; tokenJti?: string; sessionId?: string; error?: string; } //# sourceMappingURL=types.d.ts.map