User Context Protocol — the missing standard for human-to-AI memory
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add usrcp-user-context-protocol --env USRCP_PASSPHRASE='<USRCP_PASSPHRASE>' -- npx -y usrcp~/.codex/config.toml
[mcp_servers.usrcp-user-context-protocol]
command = "npx"
args = ["-y", "usrcp"]
env = { USRCP_PASSPHRASE = "<USRCP_PASSPHRASE>" }
# codex mcp add usrcp-user-context-protocol --env USRCP_PASSPHRASE='<USRCP_PASSPHRASE>' -- npx -y usrcp~/.cursor/mcp.json
{
"mcpServers": {
"usrcp-user-context-protocol": {
"command": "npx",
"args": [
"-y",
"usrcp"
],
"env": {
"USRCP_PASSPHRASE": "<USRCP_PASSPHRASE>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"usrcp-user-context-protocol": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"usrcp"
],
"env": {
"USRCP_PASSPHRASE": "<USRCP_PASSPHRASE>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"usrcp-user-context-protocol": {
"command": "npx",
"args": [
"-y",
"usrcp"
],
"env": {
"USRCP_PASSPHRASE": "<USRCP_PASSPHRASE>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"usrcp-user-context-protocol": {
"command": "npx",
"args": [
"-y",
"usrcp"
],
"env": {
"USRCP_PASSPHRASE": "<USRCP_PASSPHRASE>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"usrcp-user-context-protocol": {
"command": "npx",
"args": [
"-y",
"usrcp"
],
"env": {
"USRCP_PASSPHRASE": "<USRCP_PASSPHRASE>"
}
}
}
}Environment variables
USRCP_PASSPHRASE
Replace the placeholders with your own credentials and keep them out of version control.