This guide helps you resolve common issues with Kiro, including shell integration and MCP server connection problems.
Kiro Installation Issues
Kiro is damaged and can't be opened
Issue: On macOS, you may encounter this error when trying to open Kiro: Kiro is damaged and can't be opened. You should move it to the Trash.
Possible cause: This pop-up is due to a false positive in macOS security features.
Recommended solutions: Here are several solutions to resolve this error, listed in order of simplicity.
- Go to System Settings → Privacy & Security and click Allow or Open anyway for Kiro.
- Drag
Kiro.app
to your desktop, and then drag it from your desktop to the Applications folder. - Restart your computer.
- Open your terminal and run:
sudo xattr -d com.apple.quarantine /Applications/Kiro.app
Authentication Issues
Browser Redirect Failures During Authentication
If while authenticating with Kiro you are not redirected to the browser, try these platform-specific solutions:
Windows
Run Kiro with logging enabled to identify potential issues:
- Open Command Prompt as administrator
- Run the following command (replace with your actual Kiro installation path):
C:\path\to\app.exe --enable-logging
- Check the logs for any errors
- If you see access denied errors, ensure your user has administrator permissions to run the app
macOS
Use the developer tools to diagnose the issue:
- Open Kiro
- Go to Help → Toggle Developer Tools
- Navigate to the Console tab
- Observe any errors reported during the sign-in process
- If the error indicates a missing dependency, ensure it's available in your PATH
- One common issue is the missing
ioreg
command - Verify
ioreg
is included in your PATH variable:bashecho $PATH which ioreg
- If
ioreg
is missing, it's typically located at/usr/sbin/ioreg
- One common issue is the missing
AWS IAM Identity Center Issues
Q Developer Pro Subscription Required
If you see an error There was an error signing you in
when attempting to authenticate with Identity Center, ensure you have a valid Q Developer Pro subscription. You need an active Pro subscription to use Identity Center authentication with Kiro. Here is a guide on how to view your subscription status and upgrade to Pro.
Regional Limitations for Q Developer Profiles
If you're unable to sign in with Identity Center despite having valid credentials, this may be due to regional limitations. Kiro defaults to the US East (N. Virginia) region for Identity Center authentication. If you have a Q Developer profile in a different region, you won't be able to sign in with Identity Center.
As an alternative, use a different login method such as Builder ID or social providers such as Google or GitHub. We're working on addressing this regional limitation in future releases.
Session Duration and Timeouts
Identity Center sessions have a default timeout of 8 hours, which means you'll need to re-authenticate periodically. To extend session duration, administrators can configure longer session timeouts. For detailed configuration instructions, see the AWS documentation on configuring user session duration.
Shell Integration Issues
What is Shell Integration?
Shell integration connects Kiro directly with your terminal, allowing you to work more efficiently with command-line tools. It gives Kiro the ability to see terminal activity and interact with it.
Without shell integration, you need to manually copy-paste terminal outputs to Kiro. With it enabled, Kiro can:
- Run terminal commands and process the results automatically
- Monitor development servers and help fix problems in real time
- Understand your project environment through command outputs
- Complete tasks that require terminal interaction
Shell integration works like having a pair programmer who can see your terminal and assist you immediately.
Fixing "Shell Integration Unavailable" Error
If you encounter this error, follow these steps:
Step 1: Update Your IDE
Make sure you're using the latest version:
- Open the Command Palette:
- Mac: Press
Cmd + Shift + P
- Windows/Linux: Press
Ctrl + Shift + P
- Mac: Press
- Type
Kiro: Check for Updates
and select it - Restart your IDE after updating
Step 2: Configure the Shell
- Open the Command Palette (
Cmd + Shift + P
orCtrl + Shift + P
) - Type
Kiro: Enable Shell Integration
and select it - Kiro will configure the following shells:
- zsh
- bash
- fish
- PowerShell
Step 3: Restart Your IDE
- Quit the application completely
- Reopen Kiro and start a new chat session
Manual Shell Integration Installation
If automatic shell integration fails, install it manually:
For Zsh Users
# Add to ~/.zshrc [[ "$TERM_PROGRAM" == "kiro" ]] && . "$(kiro --locate-shell-integration-path zsh)"
For Bash Users
# Add to ~/.bashrc [[ "$TERM_PROGRAM" == "kiro" ]] && . "$(kiro --locate-shell-integration-path bash)"
For Fish Users
# Open the file kiro $__fish_config_dir/config.fish # Add to config.fish string match -q "$TERM_PROGRAM" "kiro" and . (kiro --locate-shell-integration-path fish)
For PowerShell Users
# Open the file kiro $Profile # Add to your PowerShell profile if ($env:TERM_PROGRAM -eq "kiro") { . "$(code --locate-shell-integration-path pwsh)" }
Windows-Specific Issues
PowerShell Configuration
If you prefer PowerShell:
-
Use PowerShell 7+ for best compatibility
-
Adjust execution policies if needed:
powershell# Check current policy Get-ExecutionPolicy # Set to RemoteSigned (recommended for development) Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Understanding PowerShell Execution Policies
PowerShell uses execution policies to determine which scripts can run on your system:
Policy | Description |
---|---|
Restricted | Blocks all scripts |
AllSigned | Runs scripts signed by trusted publishers |
RemoteSigned | Runs local scripts and signed remote scripts |
Unrestricted | Runs all scripts (not recommended) |
For development work, RemoteSigned
provides a good balance of security and functionality.
OneDrive Path Issues
If you use OneDrive on Windows, your desktop path might cause issues:
- Launch Command Prompt as administrator
- Create a symbolic link:
mklink /J "C:\Users\<username>\Desktop" "C:\Users\<username>\OneDrive\Desktop"
- Restart your IDE
Unusual Terminal Output
If you see strange characters, escape sequences, or formatting issues:
-
Check for terminal customization tools that might conflict:
- Oh My Zsh themes
- Starship prompt
- Custom PS1 configurations
- PowerShell prompt customizations
-
Temporarily disable these tools in your shell configuration file:
bash# For Zsh, comment out in ~/.zshrc # source ~/.p10k.zsh
-
For PowerShell users, check your profile:
powershell# View your profile location echo $PROFILE # Edit your profile and comment out prompt customizations
MCP Server Connection Issues
Common MCP Connection Problems
If you're having trouble connecting to MCP servers:
-
Check server status:
- Open the Kiro panel and navigate to the MCP servers tab
- Check the connection status indicator for your server
-
Verify configuration:
- Ensure your MCP configuration file has the correct syntax
- Check that the server command and arguments are correct
-
Check prerequisites:
- Make sure all required dependencies are installed
- For AWS Documentation server, verify Python 3.10+ and uv are installed
-
Review logs:
- Open the Output panel in Kiro
- Select "Kiro - MCP Logs" from the dropdown
- Look for specific error messages
Fixing Specific MCP Issues
AWS Documentation Server
-
Connection failures:
bash# Verify uv installation uv --version # Verify Python version python --version # Test server directly uvx awslabs.aws-documentation-mcp-server@latest --help
-
Search or read failures:
- Check your internet connection
- Verify the URL format for documentation pages
- Try with a simpler search query
GitHub MCP Server
-
Authentication errors:
- Verify your personal access token is valid
- Ensure the token has the required scopes (repo, user)
- Generate a new token if necessary
-
Rate limiting issues:
- GitHub API has usage limits
- Check the rate limit status in the MCP logs
- Consider using a token with higher rate limits
Getting Help
If you've tried the troubleshooting steps above and still need assistance:
- Check our FAQ for common questions
- Join our community Discord for help
- Submit an issue on GitHub with:
- Your operating system details
- Kiro version
- Steps you've already tried
- Error messages (if any)
Troubleshooting