aws / aws/amazon-q-developer-cli

Error loading global mcp json path: No such file or directory

Open
#3,496 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

## Steps to Reproduce
1. Start `kiro-cli chat` command
2. System displays error message: `2025-11-25T05:39:49.809661Z ERROR chat_cli::cli::agent: 984: Error loading global mcp json path: No such file or directory (os error 2)`
3. Error occurs at `chat_cli::cli::agent:984`

## Actual Behavior
- Displays ERROR level log message
- However, `~/.kiro/mcp.json` file exists and contains valid content: `{"mcpServers": {}, "version": "1.0"}`
- `~/.kiro/settings/mcp.json` also exists
- `~/.kiro/agents/AmazonQ.json` configuration is complete and valid
- Program functionality works normally, but error message causes confusion

## Expected Behavior
- Program should correctly load `~/.kiro/mcp.json` configuration file
- Or if file doesn't exist, should automatically create default configuration
- Should not display ERROR level message when file actually exists and is valid

## Environment
- OS: macOS 15.5
- kiro-cli version: latest

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.