Connect Kimi Code to Relay
Give Kimi Code a memory it shares with your other AIs. Plans, progress and reviews saved in Kimi Code can be picked up by any of the 25 AI tools Relay works with, and the other way round. It takes about two minutes.
- What you need
- Kimi Code CLI
- How it connects
- One command or config entry (MCP)
1. Get your connection link
- Sign in to Relay with Google. It's free during the beta.
- Open Integrations, click Set up on Kimi Code, then Generate connection URL. Copy it straight away: it's shown only once.
- Below,
YOUR-KEYstands for your link. The dashboard shows the same steps with your link already filled in.
2. Add Relay to Kimi Code
- In a terminal, register the server once:
kimi mcp add --transport http relay https://mcp.relaymemory.app/mcp/YOUR-KEY
- Start
kimiand check that Relay's tools are available.
3. Test it
Send this in Kimi Code. It should answer from your Relay memory:
Pick up my latest plan from Relay.
Make it save on its own
- In a Kimi Code session, send this once:
In every conversation, store our work in Relay: save new plans, add progress updates as we go, and keep it up to date.
- Kimi Code asks permission to use Relay. Choose Allow always, so it saves as you work. Deleting always asks you first.
- To keep it on in new sessions, add the same sentence to your project's instructions file (for example
AGENTS.md).
Using Relay in Kimi Code every day
- Once added, Relay loads in every session. There's nothing to switch on.
- When it asks to run a Relay tool, approve it. Most tools let you always allow it, so it stops asking.
- Make it automatic: add this line to your project's instructions file (for example
AGENTS.md), and it checks Relay on its own.At the start of a task, check Relay for the latest plan for this project. When you finish, add a progress update to Relay.
Things to say in Kimi Code:
Save this plan to Relay for the project "My project".
Pick up my latest plan from Relay and continue it.
Add a progress update to Relay for this work.
Review the latest work in Relay and add your review.
Remember in Relay that I prefer short answers.
What's waiting for me in Relay?
Kimi Code uses Relay's cloud endpoint, so it works even when Relay isn't running on your PC. The kimi.com chat doesn't support custom connectors.
Connect Kimi Code in two minutes
Sign in with Google, connect your first AI and save your first handoff in a few minutes.