KeepState
Start, watch, message and pause durable KeepState agent sessions from an MCP client
- Pricing
- Paid
- Platforms
- CLI, API
- Runs
- Locally
- Version
- 0.1.46
- Listing updated
- 3 days ago
About KeepState
KeepState is a paid MCP server for developer tools. It runs locally on your machine and is started by your AI client.
The ks mcp command, part of the KeepState command-line client, hands a KeepState account to an MCP client as tools. The registry entry describes it as covering durable agent sessions: starting, watching, messaging and pausing agents, with approvals that ask a person rather than deciding on their own.
The docs page is mostly about how that fits into a terminal workflow. Agent status is written to the terminal as OSC 7501 in four states (working, blocked, done, error), a herdr plugin adds an agents pane and a receipts pane, and an agent can start and talk to child agents with the same commands a person uses.
It runs from the installed ks binary over stdio and uses that client's sign-in, so a KeepState account is required.
Install
Run in a terminal
claude mcp add ks -- npx -y @keepstateai/cliAdd to claude_desktop_config.json
{
"mcpServers": {
"ks": {
"command": "npx",
"args": [
"-y",
"@keepstateai/cli"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"ks": {
"command": "npx",
"args": [
"-y",
"@keepstateai/cli"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"ks": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@keepstateai/cli"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ks": {
"command": "npx",
"args": [
"-y",
"@keepstateai/cli"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"ks": {
"command": "npx",
"args": [
"-y",
"@keepstateai/cli"
]
}
}
}What it does
- Durable agent sessions
- Start, watch, message and pause KeepState agents from an MCP client.
- Approvals ask a person
- Permission requests and questions surface as a blocked state instead of being answered automatically.
- Terminal status
- Agent status is written as OSC 7501 with four states: working, blocked, done and error.
- herdr plugin
- Adds an agents pane and a receipts pane for Cruise jobs inside herdr.
- Child agents
- An agent can hand work to child agents using the same ks commands a person would.
- Cruise receipts
- Finished Cruise jobs show a receipt with commands such as ks cruise apply and ks cruise result.
Good for
- Run long agent sessions that can be paused and resumed
- Watch several agents' status from a terminal or multiplexer
- Let an MCP client message a running agent
- Review Cruise job receipts and apply the resulting change
- Delegate sub-tasks from one agent to child agents
Pricing
Paid
Usage-based: $0.011/min active session time, $0.09/GB-month checkpoint storage; model usage via your own key or the provider's list price plus 4%
Prices change. Check keepstate.ai before you buy.
KeepState FAQ
How does it connect to an MCP client?
It runs as `ks mcp` from the KeepState client over stdio; the npm package is @keepstateai/cli.
Do I need an account?
Yes. The ks client must be signed in to your KeepState account.
How is KeepState billed?
Active session time is $0.011 per minute and checkpoint storage is $0.09 per GB-month. Model calls use your own provider key at no KeepState fee, or KeepState's key at the provider's list price plus 4%.
Which terminals show agent status?
Any terminal or multiplexer that reads OSC 7501, such as hc. herdr gets the same status through its own reporting command.
Is KeepState free?
No. KeepState is a paid product.
How do I add KeepState to Claude Code?
Run this command in your terminal: claude mcp add ks -- npx -y @keepstateai/cli
What are the best alternatives to KeepState?
The closest alternatives to KeepState are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to KeepState

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools