How to connect FirstReply to Kimi Code CLI
Add FirstReply to mcp.json
Open ~/.kimi-code/mcp.json to have FirstReply in all projects, or .kimi-code/mcp.json at the root of one project, and add the server. You can also run /mcp-config in the terminal UI and add it there without editing the file.
Sign in
Start a new session with kimi and run this command, then confirm access in the browser. FirstReply shows which app asks for access. If it says the app could not be verified, continue only when you started the connection yourself.
Or use an API key
To skip the browser sign-in, create a key in FirstReply under Settings, Development, API keys, put it in the environment variable FIRSTREPLY_API_TOKEN and name that variable in the entry. A key acts with the permissions of the workspace owner.
Ask
Run /mcp to check that firstreply is connected, then ask in plain words. In the default Always Ask mode, an MCP call that matches no permission rule asks for approval, and Approve for this session allows later calls of the same kind. In Ask When Needed mode, according to Moonshot, MCP tool calls are approved automatically.
A server added while a session is open only joins sessions started later. Kimi Code CLI itself signs in with /login, through Kimi Code or a Kimi Platform API key, according to Moonshot's getting started guide.
MCP server documentationKimi Code CLI documentation
Steps compared with the Kimi Code CLI documentation on 27 november 2026. Apps change their menus: if a label differs, the documentation linked above has the current one.
What to ask Kimi Code CLI
Plain sentences are enough. A few to start with:
- Which customers reported the login error this week?
- Show me the conversation behind this issue and what we answered.
- Draft a reply saying the fix is in today's release, but do not send it.
- Add what this change does to the knowledge base.
- Write a short post for X about the feature I just merged and schedule it for tomorrow at 9.
- How many conversations came in about billing this month?
What Kimi Code CLI can do with FirstReply
The same tools for every assistant, checked against the permissions of the person who signed in.
Work through the inbox
List, filter and search conversations across email, chat, WhatsApp and social channels, read a whole thread, assign it, change its priority or close it.
Draft replies from your knowledge
The assistant asks FirstReply for a draft grounded in your knowledge base and shows it to you. It is sent once you agree with the text.
Plan and schedule posts
Write or shorten a post for each network, save it as a draft, schedule it or move it to another time. A person can still change it before it goes out.
Report on support and posts
Response and resolution times, conversations per teammate and category, and views, likes and follower growth per post and channel.
Keep the knowledge base current
Search what the team has documented, add or correct an entry and start the sync of a connected source.
Look up contacts and settings
Find a customer and their history, and manage contacts, categories, reply templates, saved filters and webhooks.
Veelgestelde vragen
- Should FirstReply go into the user or the project mcp.json?
- ~/.kimi-code/mcp.json (or $KIMI_CODE_HOME/mcp.json) applies to all of your projects, .kimi-code/mcp.json to one repository, and the project entry wins when both use the same name. If you commit the project file, keep the API key out of it and use bearerTokenEnvVar.
- Do I need a FirstReply API key for Kimi Code CLI?
- No. With only the address in mcp.json, /mcp-config login firstreply signs in through the browser with your FirstReply account. The API key is the alternative when a browser sign-in is not possible, for example in headless runs with kimi -p.
- Can Kimi Code CLI reply to customers without asking?
- In the default Always Ask mode it asks before an MCP call that matches no permission rule. Moonshot warns that Ask When Needed mode approves MCP tool calls automatically, and Never Ask mode approves everything. Keep the tools that send replies on approval, or add a deny rule for them in config.toml. Posts are never published right away: they are saved as drafts or scheduled at least ten minutes ahead.
- Is this the older Kimi CLI?
- No. Moonshot has archived the Python Kimi CLI and replaced it with Kimi Code CLI, which keeps its MCP servers in ~/.kimi-code/mcp.json. On first launch Kimi Code CLI offers to migrate servers from the old ~/.kimi/ directory.
Kimi Code CLI is a trademark of its owner. FirstReply is not affiliated with it.
FirstReply with other AI agents
- ClaudeAdd FirstReply as a custom connector in the Claude apps
- ChatGPTAdd FirstReply to ChatGPT as a custom MCP server
- Claude CodeOne command adds FirstReply to Claude Code
- CursorAdd FirstReply to Cursor with a few lines in mcp.json
- CodexOne command adds FirstReply to Codex in the terminal, IDE and ChatGPT app
- OpenClawReach your inbox from WhatsApp or Telegram through OpenClaw
- GeminiAdd FirstReply as a custom app in the Gemini web app
- MuseAsk Meta's Muse to create a custom connector for FirstReply
- Claude CoworkAdd FirstReply as a custom connector in Claude and use it in Cowork tasks
- eustellaAdd FirstReply as a custom connector in the European AI assistant
- Grok BotAdd FirstReply as a custom connector in the Grok Bot desktop app
- Grok BuildOne grok mcp add command adds FirstReply to Grok Build
- Perplexity ComputerAdd FirstReply as a custom remote connector under Plugins in Perplexity
- Hermes AgentAdd FirstReply to Hermes Agent in config.yaml and sign in once
- PaperclipConnect FirstReply as your own MCP server on Paperclip's Connectors page
- DeepSeek HarnessAdd FirstReply to DeepSeek Harness with one row in your patch file



