Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Connect Magic-Patterns MCP server always failed

Open happybean opened this issue 9 months ago • 3 comments

Before opening, please confirm:

Operating System

darwin

Kiro Version

0.9.2

Bug Description

I successfully connected the Magic Patterns MCP and it was working correctly before 2026/01/20. However, starting the day after, the connection began to fail consistently and has not worked since.

I have already contacted Magic Patterns support to investigate this issue. After a deeper review on their side, they confirmed that the MCP service itself is functioning correctly, as it works normally in other IDEs such as Cursor.

Magic Patterns support also shared the following conclusion from their investigation:

"Hey! We took a deeper look here — it unfortunately appears to be an issue with how Kiro has the MCP spec implemented. We tried some things on our end to work around it, but there's not a ton we can do until Kiro resolves this."

Based on this, it appears the root cause is related to Kiro’s MCP specification implementation, rather than Magic Patterns or the MCP service itself.

Steps to Reproduce

  1. Open Kiro
  2. Open the MCP SERVERS section
  3. Add the magic-patterns server setting { "magic-patterns": { "url": "https://mcp.magicpatterns.com/mcp" } }
  4. and get the connected failed error

Expected Behavior

Connect the Magic Patterns MCP successfully,

Conversation ID

No response

Additional Context

The error log is below:

[error] [magic-patterns] Error connecting to MCP server: HTTP 422: Invalid OAuth error response: [ { "expected": "string", "code": "invalid_type", "path": [ "error" ], "message": "Invalid input: expected string, received undefined" } ]. Raw body: {"message":"Validation failed","errors":[{"field":"token_endpoint_auth_method","code":"token_endpoint_auth_method must be one of the following values: none, client_secret_basic, client_secret_post"}]}

happybean avatar Feb 09 '26 07:02 happybean

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ Remove the duplicate label if this is NOT a duplicate
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both report MCP server connection failures after specific dates, with similar error patterns and troubleshooting steps involving MCP server configuration

github-actions[bot] avatar Feb 09 '26 07:02 github-actions[bot]

This issue has been automatically closed as it appears to be a duplicate of #5452.

If you believe this is incorrect, please comment on this issue and a maintainer will review it.

github-actions[bot] avatar Feb 13 '26 00:02 github-actions[bot]

Thank you for your feedback! 🙏

The duplicate label has been removed and this issue has been sent back for maintainer review.

A maintainer will review this issue shortly.

github-actions[bot] avatar Feb 20 '26 15:02 github-actions[bot]