Cross-LLM persistent memory: store context once, recall it from any AI model.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add cls-memory --env CLS_API_KEY='<CLS_API_KEY>' -- uvx clsplusplus~/.codex/config.toml
[mcp_servers.cls-memory]
command = "uvx"
args = ["clsplusplus"]
env = { CLS_API_KEY = "<CLS_API_KEY>" }
# codex mcp add cls-memory --env CLS_API_KEY='<CLS_API_KEY>' -- uvx clsplusplus~/.cursor/mcp.json
{
"mcpServers": {
"cls-memory": {
"command": "uvx",
"args": [
"clsplusplus"
],
"env": {
"CLS_API_KEY": "<CLS_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"cls-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"clsplusplus"
],
"env": {
"CLS_API_KEY": "<CLS_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"cls-memory": {
"command": "uvx",
"args": [
"clsplusplus"
],
"env": {
"CLS_API_KEY": "<CLS_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"cls-memory": {
"command": "uvx",
"args": [
"clsplusplus"
],
"env": {
"CLS_API_KEY": "<CLS_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"cls-memory": {
"command": "uvx",
"args": [
"clsplusplus"
],
"env": {
"CLS_API_KEY": "<CLS_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http cls-memory https://www.clsplusplus.com/mcp~/.codex/config.toml
[mcp_servers.cls-memory]
url = "https://www.clsplusplus.com/mcp"
# codex mcp add cls-memory --url https://www.clsplusplus.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"cls-memory": {
"url": "https://www.clsplusplus.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"cls-memory": {
"type": "http",
"url": "https://www.clsplusplus.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"cls-memory": {
"httpUrl": "https://www.clsplusplus.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"cls-memory": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://www.clsplusplus.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"cls-memory": {
"url": "https://www.clsplusplus.com/mcp"
}
}
}Environment variables
CLS_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.