v1.0.0 - Dual SDK Support
What's New
Dual SDK Support - Works with both:
mark3labs/mcp-gomodelcontextprotocol/go-sdk(official)
One-time setup protects all tools automatically with token validation and caching, regardless of which SDK you use.
Usage
mark3labs SDK:
import "github.com/tuannvm/oauth-mcp-proxy/mark3labs"
_, oauthOption, _ := mark3labs.WithOAuth(mux, &oauth.Config{...})
mcpServer := server.NewMCPServer("name", "1.0.0", oauthOption)Official SDK:
import mcpoauth "github.com/tuannvm/oauth-mcp-proxy/mcp"
mcpServer := mcp.NewServer(&mcp.Implementation{...}, nil)
_, handler, _ := mcpoauth.WithOAuth(mux, &oauth.Config{...}, mcpServer)
http.ListenAndServe(":8080", handler)📦 Installation
go get github.com/tuannvm/oauth-mcp-proxy📚 Resources
- Examples - Both SDKs (simple + advanced)
- Provider Guides - HMAC, Okta, Google, Azure AD
- Configuration - All config options
Changelog
Other Changes
Full Changelog: v0.1.0...v1.0.0