AI Agents
Kimi
Moonshot AI's assistant. SPREVA connects through Kimi Code CLI, its agent for the terminal.
- Connects with
- Sign in, API key, Skill
- Connector
- SPREVA
Before you start
- Kimi Code CLI installed, and signed in with Kimi Code or a Moonshot platform API key.
Set it up
- 1
Add SPREVA to
~/.kimi-code/mcp.json, or to.kimi-code/mcp.jsonin one project:~/.kimi-code/mcp.json { "mcpServers": { "spreva": { "url": "https://dev-app.spreva.ai/api/mcp", "bearerTokenEnvVar": "SPREVA_API_KEY" } } } - 2
Put your SPREVA API key in the environment Kimi Code CLI starts from:
Terminal export SPREVA_API_KEY=POST_API_KEY_... - 3
Start Kimi Code CLI and run
/mcp. SPREVA is listed as connected.
Also works with
- Connector URL and sign in
Paste the connector URL into the app, sign in to SPREVA and click Allow. No key to keep safe.
~/.kimi-code/mcp.json { "mcpServers": { "spreva": { "url": "https://dev-app.spreva.ai/api/mcp" } } } - The CLI and the Agent Skill
Install the
sprevacommand line and its Agent Skill, for agents that work in a terminal.Terminal export SPREVA_API_KEY=POST_API_KEY_... npx -y @spreva/cli skill install --target agents
Check it works
Start a new conversation and ask:
What's going out this week on SPREVA?
Kimi calls SPREVA's overview tool and answers with the workspace's time zone, what goes out next and anything that needs attention. The first time, Kimi may ask you to allow the tool.
Troubleshooting
/mcp shows SPREVA as not connected
Kimi Code CLI didn't find your key. Set SPREVA_API_KEY in the terminal you start it from, then start it again.
Something else? Troubleshooting covers sign-in loops, plans, limits and time zones.