Cairn for VS Code
io.github.jasondostal/cairn-mcp
Persistent memory for AI agents and humans. Store, search, and discover patterns.
client:VS Code
transport:stdio
runtime:oci
Install Cairn in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "cairn-db-host",
"description": "CAIRN_DB_HOST",
"password": true
},
{
"type": "promptString",
"id": "cairn-db-pass",
"description": "CAIRN_DB_PASS",
"password": true
},
{
"type": "promptString",
"id": "cairn-transport",
"description": "CAIRN_TRANSPORT",
"password": true
},
{
"type": "promptString",
"id": "cairn-llm-backend",
"description": "CAIRN_LLM_BACKEND",
"password": true
}
],
"servers": {
"cairn-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/jasondostal/cairn-mcp:0.21.2"
],
"env": {
"CAIRN_DB_HOST": "${input:cairn-db-host}",
"CAIRN_DB_PASS": "${input:cairn-db-pass}",
"CAIRN_TRANSPORT": "${input:cairn-transport}",
"CAIRN_LLM_BACKEND": "${input:cairn-llm-backend}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs