dynamic-mcp 1.5.0

MCP proxy server that reduces LLM context overhead with on-demand tool loading from multiple upstream servers.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! OAuth2 authentication for dynamic-mcp.
//!
//! This module provides OAuth2/PKCE authentication flow for HTTP and SSE transports.
//! It handles token storage, automatic refresh, and browser-based authorization.
//!
//! # Features
//!
//! - PKCE flow for secure authentication
//! - Automatic token discovery via .well-known endpoints
//! - Local token storage in `~/.dynamic-mcp/oauth-servers/`
//! - Automatic token refresh before expiry
//! - Browser-based authorization flow

pub mod oauth_client;
pub mod store;

pub use oauth_client::OAuthClient;