Commit Graph

12 Commits

Author SHA1 Message Date
Max Isbey e9afd5473a Replace environment variables with CLI arguments in simple-auth-client
The simple-auth-client example previously used environment variables
(MCP_SERVER_PORT and MCP_TRANSPORT_TYPE) to configure the server URL
and transport type. This approach was inflexible and couldn't handle
arbitrary server URLs.

This change replaces the environment variables with command-line
arguments using argparse:
- --url: Specifies the full URL of the MCP server
- --transport: Specifies the transport type (streamable-http or sse)

Benefits:
- Users can now specify any server URL, not just localhost ports
- More intuitive and discoverable interface with --help
- Better follows CLI conventions

All documentation (both client and server READMEs) has been updated
to reflect the new command-line interface.
2025-11-13 11:41:48 +00:00
Paul Carleton 6f2cd0cef0 Fix auth client example URL handling for oauth provider (#1549)
Main branch checks / checks (push) Failing after 0s
2025-10-30 15:35:44 +00:00
Yukuan Jia 673423da0d fix: replace deprecated dev-dependencies in examples/clients (#1518) 2025-10-28 14:09:14 +00:00
Luca Chang c733eec5d9 Make client examples workspaces to reflect package code (#1466) 2025-10-17 17:13:39 +01:00
Max Isbey c0f165776d Use streamable-http consistently in examples (#1389) 2025-09-23 20:19:14 +01:00
David Soria Parra 0926613714 Update dependencies and fix type issues (#1268)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-08-14 10:40:47 +01:00
Marcelo Trylesinski c7671e470c Add pyright strict mode on the whole project (#1254) 2025-08-11 18:56:37 +01:00
Stanley Law 6d092af6fd chore: add markdownlint on pre-commit hook and lint md files (#996)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2025-07-10 09:43:49 +01:00
Marcelo Trylesinski 9301924f44 chore: bump ruff (#1085) 2025-07-04 09:01:17 +01:00
Inna Harper 17f9c00c53 MCP server separation into Authorization Server (AS) and Resource Server (RS) roles per spec PR #338 (#982)
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2025-06-23 14:19:03 +01:00
ihrpr 43ded92633 add auth client sse (#760) 2025-05-20 15:21:14 +01:00
ihrpr e33cd41c7a Add OAuth authentication client for HTTPX (#751)
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2025-05-19 20:38:04 +01:00