From 6dc0b14050a8873aa3e3aff48183c3b870cde6ef Mon Sep 17 00:00:00 2001 From: Djordje Lukic Date: Fri, 10 Oct 2025 09:52:31 +0200 Subject: [PATCH] Send the client name during DCR The Jam server needs this, it returns an error otherwise. Signed-off-by: Djordje Lukic --- pkg/tools/mcp/oauth.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/tools/mcp/oauth.go b/pkg/tools/mcp/oauth.go index 24f7ddf7c..ce3b5976b 100644 --- a/pkg/tools/mcp/oauth.go +++ b/pkg/tools/mcp/oauth.go @@ -271,6 +271,7 @@ func registerClient(ctx context.Context, authMetadata *authorizationServerMetada reqBody := map[string]any{ "redirect_uris": []string{redirectURI}, + "client_name": "cagent", "grant_types": []string{"authorization_code"}, "response_types": []string{ "code",