Pre-requisities
Describe the bug
Error running "Example: Direct MCP Client with OAuth" here: http://localhost:3333/development/agent-integration/mcp#example:-direct-mcp-client-with-oauth
Missing client_name. Trying to fix the example if it is a docs bug, but do not have any working example yet.
File "/Users/markstur/.cache/uv/archive-v0/HYZTGaBZh9WMs5DIP7SfR/lib/python3.13/site-packages/mcp/client/auth/utils.py", line 234, in handle_registration_response
| raise OAuthRegistrationError(f"Registration failed: {response.status_code} {response.text}")
| mcp.client.auth.exceptions.OAuthRegistrationError: Registration failed: 400 {
| "error": "invalid_client_metadata",
| "error_description": "Missing required param: client_name."
To Reproduce
Steps to reproduce the behavior:
- Go to 'https://agentstack.beeai.dev/stable/agent-integration/mcp#example-direct-mcp-client-with-oauth'
- Copy the code to a file
- Run using uv with agentstack-sdk
- Say hi in the chat window and get error (details in agent output)
Pre-requisities
agentstack versionshows that CLI and platform are the same version, and there is no newer version available)Describe the bug
Error running "Example: Direct MCP Client with OAuth" here: http://localhost:3333/development/agent-integration/mcp#example:-direct-mcp-client-with-oauth
Missing client_name. Trying to fix the example if it is a docs bug, but do not have any working example yet.
File "/Users/markstur/.cache/uv/archive-v0/HYZTGaBZh9WMs5DIP7SfR/lib/python3.13/site-packages/mcp/client/auth/utils.py", line 234, in handle_registration_response
| raise OAuthRegistrationError(f"Registration failed: {response.status_code} {response.text}")
| mcp.client.auth.exceptions.OAuthRegistrationError: Registration failed: 400 {
| "error": "invalid_client_metadata",
| "error_description": "Missing required param: client_name."
To Reproduce
Steps to reproduce the behavior: