Install 万机阁 Wanjige — 中文 AI 工具市场 in Kiro CLI
What you need first
- Kiro CLI, installed.
- Nothing else: the server runs on its publisher's machines and Kiro CLI connects to it.
- Your own value for
YOUR_ACCEPT.
Steps
- Open
~/.codex/config.toml, or create it. The Codex CLI, its IDE extension and the ChatGPT desktop app share this file. - Add this table at the end of the file.
{
"mcpServers": {
"wanjige": {
"url": "https://qianjige.app.workbuddy.host/mcp?key={api_key}",
"headers": { "Accept": "YOUR_ACCEPT" }
}
}
} - Replace
YOUR_ACCEPTwith your own value. - Save the file and restart Kiro CLI.
Check it worked
Ask Kiro CLI: List the tools of wanjige.
If it does not start
- 401 Unauthorized
- The endpoint wants a sign-in or a key. Sign in when Kiro CLI asks, or check the value in place of the placeholder.
- The server starts, but its tools fail
- A
YOUR_…placeholder is still in the config, or its value is wrong. - Nothing changes after a restart
- The file is not valid JSON any more. Look for a missing comma where the block was added.