USRCP — User Context Protocol
v0.2.8Encrypted local ledger of structured user state, shared across every MCP-aware AI tool.
Values you need
| Variable | What it is | |
|---|---|---|
USRCP_PASSPHRASE | optional secret | Passphrase used to derive the ledger encryption key. Omit it if the passphrase is stored in the OS keychain via `usrcp keychain store`. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add usrcp -- npx -y usrcp@0.2.8 serveAdd to
claude_desktop_config.json{
"mcpServers": {
"usrcp": {
"args": [
"-y",
"usrcp@0.2.8",
"serve"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"usrcp": {
"args": [
"-y",
"usrcp@0.2.8",
"serve"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"usrcp": {
"args": [
"-y",
"usrcp@0.2.8",
"serve"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.usrcp]
command = "npx"
args = ["-y", "usrcp@0.2.8", "serve"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: usrcp_handoff, usrcp_get_state, usrcp_append_event, usrcp_update_identity, usrcp_update_preferences, usrcp_update_domain_context, usrcp_search_timeline, usrcp_manage_project, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json