Skip to content

Kiro CLI fails to connect to Atlassian Rovo MCP: "missing field 'scopes'" during OAuth metadata deserialization #5690

@hahanein

Description

@hahanein

Before opening, please confirm:

Operating System

Linux (x86_64)

Kiro Version

1.25.1

Bug Description

Kiro CLI fails to load the Atlassian Rovo MCP server from the MCP registry with a deserialization error. During the OAuth handshake with mcp.atlassian.com, kiro-cli parses a metadata response and fails because a scopes field is missing.

Error from logs:

ERROR chat_cli::cli::chat::tool_manager: 1844: Error loading server atlassian-rovo-mcp: McpError(ErrorData { code: ErrorCode(-32002), message: "missing field `scopes` at line 4 column 1", data: None })

The same MCP server connects and works correctly via Amazon Q Developer in VSCode, confirming the server itself is functional and the issue is specific to kiro-cli's parsing.

Steps to Reproduce

  1. Have Atlassian Rovo MCP configured via MCP registry (organization-managed profile with registry URL)
  2. Run kiro-cli chat
  3. Observe the server fails to load with the missing field 'scopes' error

Expected Behavior

Kiro CLI should treat the scopes field as optional and successfully connect to the Atlassian MCP server, as Amazon Q in VSCode does.

Conversation ID

No response

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    clipending-responsePending community response for next steps

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions