Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-vortx-ai-emem": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"EMEM_BIND=<YOUR_VALUE>",
"-e",
"EMEM_DATA=<YOUR_VALUE>",
"-e",
"EMEM_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"EMEM_TLS_DOMAINS=<YOUR_VALUE>",
"ghcr.io/vortx-ai/emem:latest"
]
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-vortx-ai-emem": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"EMEM_BIND=<YOUR_VALUE>",
"-e",
"EMEM_DATA=<YOUR_VALUE>",
"-e",
"EMEM_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"EMEM_TLS_DOMAINS=<YOUR_VALUE>",
"ghcr.io/vortx-ai/emem:latest"
]
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-vortx-ai-emem": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"EMEM_BIND=<YOUR_VALUE>",
"-e",
"EMEM_DATA=<YOUR_VALUE>",
"-e",
"EMEM_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"EMEM_TLS_DOMAINS=<YOUR_VALUE>",
"ghcr.io/vortx-ai/emem:latest"
]
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-vortx-ai-emem": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"EMEM_BIND=<YOUR_VALUE>",
"-e",
"EMEM_DATA=<YOUR_VALUE>",
"-e",
"EMEM_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"EMEM_TLS_DOMAINS=<YOUR_VALUE>",
"ghcr.io/vortx-ai/emem:latest"
]
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-vortx-ai-emem": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"EMEM_BIND=<YOUR_VALUE>",
"-e",
"EMEM_DATA=<YOUR_VALUE>",
"-e",
"EMEM_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"EMEM_TLS_DOMAINS=<YOUR_VALUE>",
"ghcr.io/vortx-ai/emem:latest"
]
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-vortx-ai-emem": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"PORT=<YOUR_VALUE>",
"-e",
"EMEM_BIND=<YOUR_VALUE>",
"-e",
"EMEM_DATA=<YOUR_VALUE>",
"-e",
"EMEM_PUBLIC_URL=<YOUR_VALUE>",
"-e",
"EMEM_TLS_DOMAINS=<YOUR_VALUE>",
"ghcr.io/vortx-ai/emem:latest"
]
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| PORT | No | PaaS port convention: the container entrypoint binds 0.0.0.0:$PORT when EMEM_BIND is not set explicitly. Falls back to 5051. |
| EMEM_BIND | No | Bind address for the server (default: 0.0.0.0:5051) Default: 0.0.0.0:5051 |
| EMEM_DATA | No | Path to persistent storage directory (default: ./var/emem) Default: ./var/emem |
| EMEM_PUBLIC_URL | No | Optional canonical origin for self-referencing URLs in MCP responses (e.g. https://emem.dev). When unset the server falls back to urn:emem. |
| EMEM_TLS_DOMAINS | No | Comma-separated hostnames for built-in Let's Encrypt ACME (TLS-ALPN-01). When set, the server binds 0.0.0.0:443 instead of EMEM_BIND. |