Commit 8c1cca7
committed
feature(auth): add customizable fetch wrappers
Add fetchWrapper utilities to allow customization of fetch behavior in MCP transports:
- withOAuth: handles authentication with automatic retry on 401
- withLogging: configurable HTTP request/response logging
- composeFetchWrappers: utility for combining multiple wrappers1 parent f657ead commit 8c1cca7
2 files changed
Lines changed: 1030 additions & 0 deletions
0 commit comments