Skip to content

feat(extensions): Authenticated Agent Connection Walkthrough - #202

Open
Shreyaskulkarni56 wants to merge 2 commits into
superdocsapp:mainfrom
Shreyaskulkarni56:main
Open

feat(extensions): Authenticated Agent Connection Walkthrough#202
Shreyaskulkarni56 wants to merge 2 commits into
superdocsapp:mainfrom
Shreyaskulkarni56:main

Conversation

@Shreyaskulkarni56

Copy link
Copy Markdown

feat(extensions): Authenticated Agent Connection Walkthrough by Shreyas Kulkarni

Builder Name

Shreyas Kulkarni

Summary

Adds a reference Python client and step-by-step walkthrough in extensions/Shreyaskulkarni56/agent-connection-walkthrough/ demonstrating standards-based MCP authorization discovery (RFC 9728 Protected Resource Metadata), zero-human autonomous agent self-signup, and an authenticated Streamable HTTP MCP session.

Key Highlights

  • Standards Discovery: Probes /.well-known/mcp.json and parses the WWW-Authenticate 401 challenge header to extract RFC 9728 protected resource metadata (/mcp/.well-known/oauth-protected-resource).
  • Credential Lifecycle: Demonstrates autonomous agent registration via /v1/agents/signup, local credential caching, and identity validation via /v1/agents/whoami.
  • Authenticated MCP Handshake: Performs MCP initialize, notifications/initialized, tools/list (discovering 38 tools), and tools/call for health and get_account_status.
  • Zero Dependencies: Core client connect.py is implemented using Python standard library (urllib).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant