Kiro CLI fails to connect to Atlassian Rovo MCP: "missing field 'scopes'" during OAuth metadata deserialization
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
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
- Have Atlassian Rovo MCP configured via MCP registry (organization-managed profile with registry URL)
- Run kiro-cli chat
- 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
- Related: #5452 (also Atlassian MCP failures post-1.25.0, but different error messages)
- Related: #3911 (OAuth discovery issues, different root cause)
- The MCP registry JSON itself loads fine โ the error occurs when kiro-cli attempts the OAuth handshake with mcp.atlassian.com
๐ค Potential Duplicate Detected
This issue appears to be similar to:
- #5452: MCP servers failing to load after Kiro CLI 1.25.0 update (Feb 4, 2026) (85% similar)
- #3911: OAuth: Client not following RFC 9728 discovery flow, constructs incorrect authorization URLs (85% similar)
- #4717: HTTP-based MCP servers not loading tools into chat sessions (82% similar)
What happens next?
- โฐ This issue will be automatically closed in 3 days
- ๐ท๏ธ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with ๐ to this message.
- ๐ฌ Comment on the original issue if you have additional information
Why is this marked as duplicate? Both report MCP server loading failures after Kiro CLI 1.25.0 update, specifically mentioning Atlassian MCP issues, though with different specific error messages
Thank you for your feedback! ๐
The ๐ reaction has been noted. The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
Also seeing this issue. Looks like OpenAI's codex started seeing a similar issue that was reported yesterday (Feb 11th): https://github.com/openai/codex/issues/11465.
According to the associated PR (https://github.com/openai/codex/pull/11539), the issue is that https://github.com/modelcontextprotocol/rust-sdk/pull/598 in 0.14 broke some MCP oauth, but it was subsequently fixed in 0.15 (https://github.com/modelcontextprotocol/rust-sdk/pull/641).
+1
hey @hahanein and @jcancilla-r7, Thank you for the detailed report and the additional context. Linking this to the upstream rust-sdk fix in v0.15. We've noted this and shared it with the team.
In the meantime, we've released CLI version 1.26.0 which includes several fixes. Could you please update to the latest version and verify if this issue still persists?
@AnilMaktala I tried 1.26.0 - the issue persists.
@AnilMaktala Switching to 1.26.1 seems to have resolved the issue for me now.
I am on 1.26.2 and the issue persists for me.
@jcancilla-r7 Did you do something in addition to updating kiro-cli and starting it?
I'm using kiro-cli on 1.26.2 and I'm facing similar problems to authenticate with Atlassian MCP.
On Kiro IDE there is a button that I can interact and make authentication work, however I don't see any way to trigger mcp authentication in kiro-cli.
I'm on kiro-cli 1.28.3 and facing a similar issue. But this works on Kiro IDE and Amazon Q Vscode Extension.
I found a workaround where you can use NPX and the mcp-remote package and it will automatically open a browser window to authenticate properly:
"atlassian-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.atlassian.com/v1/mcp"
]
}
Same issue affects the Slack MCP integration as well (not just Atlassian Rovo).
When installing as a custom Slack app, it fails with:
Invalid permissions requested
No scopes requested
Appears to be the same root cause - Kiro isn't sending scopes in the OAuth authorization request, so Slack rejects the install.
Environment: Kiro CLI 0.11.133 on macOS (arm64)
This issue also affects Datadog's MCP server (https://mcp.datadoghq.com/v1/mcp), but with a different strict-parsing symptom: resource identifier matching rejects valid URLs that have query parameters.
The problem:
Datadog uses a ?toolsets= query parameter to select which tool groups to expose (e.g. https://mcp.datadoghq.com/v1/mcp?toolsets=software-delivery). The server's /.well-known/oauth-protected-resource correctly returns the resource identifier without query params:
{ "resource": "https://mcp.datadoghq.com/v1/mcp" }
Kiro compares the full configured URL (with ?toolsets=...) against this resource field using an exact string match. They don't match, so OAuth fails silently.
Per RFC 3986 ยง3.4, query parameters are request-time data โ not part of the resource's identity. The server is behaving correctly; Kiro's comparison is too strict.
Workaround:
We use Datadog's local stdio proxy binary (datadog_mcp_cli) which handles OAuth independently, and pass the toolset selection via DD_MCP_TOOLSETS env var instead of the URL. This works but defeats the purpose of Kiro's native HTTP transport.
Suggested fix:
Strip query parameters (and fragments) from both the configured URL and the discovery resource field before comparing. The resource identity is scheme + authority + path only.
This also seems to be broken with the PartnerCentral MCP server configuration too.
- https://partnercentral-agents-mcp.us-east-1.api.aws/mcp
Using NPX and the mcp-remote allowed me to keep moving forward.