Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ software development kit (SDK) for the Model Context Protocol (MCP).

## Package documentation

The SDK consists of three importable packages:
The SDK consists of several importable packages:

- The
[`github.com/modelcontextprotocol/go-sdk/mcp`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/mcp)
Expand All @@ -34,6 +34,10 @@ The SDK consists of three importable packages:
[`github.com/modelcontextprotocol/go-sdk/auth`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/auth)
package provides some primitives for supporting oauth.

- The
[`github.com/modelcontextprotocol/go-sdk/oauthex`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/oauthex)
package provides extensions to the OAuth protocol, such as ProtectedResourceMetadata.

## Getting started

To get started creating an MCP server, create an `mcp.Server` instance, add
Expand Down
6 changes: 5 additions & 1 deletion internal/readme/README.src.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ software development kit (SDK) for the Model Context Protocol (MCP).

## Package documentation

The SDK consists of three importable packages:
The SDK consists of several importable packages:

- The
[`github.com/modelcontextprotocol/go-sdk/mcp`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/mcp)
Expand All @@ -33,6 +33,10 @@ The SDK consists of three importable packages:
[`github.com/modelcontextprotocol/go-sdk/auth`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/auth)
package provides some primitives for supporting oauth.

- The
[`github.com/modelcontextprotocol/go-sdk/oauthex`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/oauthex)
package provides extensions to the OAuth protocol, such as ProtectedResourceMetadata.

## Getting started

To get started creating an MCP server, create an `mcp.Server` instance, add
Expand Down
10 changes: 10 additions & 0 deletions oauthex/oauthex.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2025 The Go MCP SDK Authors. All rights reserved.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.

// Package oauthex implements extensions to OAuth2.
package oauthex

import "github.com/modelcontextprotocol/go-sdk/internal/oauthex"

type ProtectedResourceMetadata = oauthex.ProtectedResourceMetadata
Loading