Skip to content

Commit 3d76bbe

Browse files
authored
Merge pull request #526 from modelcontextprotocol/ihrpr/auth-example-client3
Example Auth client
2 parents 77a284c + 9bb5ed6 commit 3d76bbe

File tree

2 files changed

+428
-0
lines changed

2 files changed

+428
-0
lines changed

src/examples/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ A full-featured interactive client that connects to a Streamable HTTP server, de
3333
npx tsx src/examples/client/simpleStreamableHttp.ts
3434
```
3535

36+
Example client with OAuth:
37+
38+
```bash
39+
npx tsx src/examples/client/simpleOAuthClient.js
40+
```
41+
3642
### Backwards Compatible Client
3743

3844
A client that implements backwards compatibility according to the [MCP specification](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#backwards-compatibility), allowing it to work with both new and legacy servers. This client demonstrates:

0 commit comments

Comments
 (0)