KEMBAR78
Release v1.0.0 · tuannvm/oauth-mcp-proxy · GitHub
Skip to content

v1.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Oct 01:38
· 1 commit to main since this release
ed55729

v1.0.0 - Dual SDK Support

What's New

Dual SDK Support - Works with both:

  • mark3labs/mcp-go
  • modelcontextprotocol/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

Changelog

Other Changes

Full Changelog: v0.1.0...v1.0.0