Skip to content

MCP integration missing client_name parameter #2067

@markstur

Description

@markstur

Pre-requisities

  • I am using the newest version of the platform (agentstack version shows 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:

  1. Go to 'https://agentstack.beeai.dev/stable/agent-integration/mcp#example-direct-mcp-client-with-oauth'
  2. Copy the code to a file
  3. Run using uv with agentstack-sdk
  4. Say hi in the chat window and get error (details in agent output)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocsImprovements or additions to documentation

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions