Connect Magic-Patterns MCP server always failed
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
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
- Open Kiro
- Open the MCP SERVERS section
- Add the magic-patterns server setting { "magic-patterns": { "url": "https://mcp.magicpatterns.com/mcp" } }
- 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"}]}
🤖 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)
- #5020: AWS Serverless MCP Server fails to initialize - stdio connection closed error (85% similar)
- #4717: HTTP-based MCP servers not loading tools into chat sessions (85% similar)
- #4161: MCP Remote Authorization (85% similar)
- #3911: OAuth: Client not following RFC 9728 discovery flow, constructs incorrect authorization URLs (85% similar)
- #3681: MCP: Unable to authenticate with servers that contain query parameters (85% similar)
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ Remove the
duplicatelabel 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
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.
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.