remote-mcp-kernel 0.1.0-alpha.2

A microkernel-based MCP (Model Context Protocol) server with OAuth authentication and multiple transport protocols
Documentation
//! Type aliases for microkernel server configurations
//!
//! This module provides convenient type aliases for common microkernel server
//! configurations with different OAuth providers and storage backends.

use oauth_provider_rs::{
    CognitoOAuthHandler, DefaultClientManager, GitHubOAuthHandler, InMemoryStorage,
};

use super::core::MicrokernelServer;

/// Type alias for GitHub-based microkernel server with InMemoryStorage
pub type GitHubMicrokernelServer = MicrokernelServer<
    GitHubOAuthHandler<InMemoryStorage, DefaultClientManager<InMemoryStorage>>,
    InMemoryStorage,
>;

/// Type alias for GitHub-based microkernel server with DynamoDBStorage
pub type GitHubMicrokernelServerDynamoDB<S> =
    MicrokernelServer<GitHubOAuthHandler<S, DefaultClientManager<S>>, S>;

/// Type alias for Cognito-based microkernel server with InMemoryStorage
pub type CognitoMicrokernelServer = MicrokernelServer<
    CognitoOAuthHandler<InMemoryStorage, DefaultClientManager<InMemoryStorage>>,
    InMemoryStorage,
>;

/// Type alias for Cognito-based microkernel server with DynamoDBStorage
pub type CognitoMicrokernelServerDynamoDB<S> =
    MicrokernelServer<CognitoOAuthHandler<S, DefaultClientManager<S>>, S>;