Skip to content
VS Code

Cairn for VS Code

io.github.cybort360/cairn-mcp

Log Claude Code work sessions, file edits, and tasks to your Cairn account.

client:VS Code transport:stdio runtime:pypi

Install Cairn in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "cairn-token",
      "description": "CAIRN_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cairn-api-url",
      "description": "CAIRN_API_URL",
      "password": true
    }
  ],
  "servers": {
    "cairn-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cairn-mcp"
      ],
      "env": {
        "CAIRN_TOKEN": "${input:cairn-token}",
        "CAIRN_API_URL": "${input:cairn-api-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Cairn in other clients