Skip to content
VS Code

AICortex for VS Code

io.github.ikarusmk/aicortex

Self-hosted brain for any LLM: memory, skills, encrypted vault, devices and scheduled jobs.

client:VS Code transport:stdio runtime:oci

Install AICortex in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "storage-encryption-key",
      "description": "STORAGE_ENCRYPTION_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oidc-config-url",
      "description": "OIDC_CONFIG_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oidc-client-id",
      "description": "OIDC_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oidc-client-secret",
      "description": "OIDC_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "base-url",
      "description": "BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "jwt-signing-key",
      "description": "JWT_SIGNING_KEY",
      "password": true
    }
  ],
  "servers": {
    "aicortex": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ikarusmk/aicortex:v2.7.2"
      ],
      "env": {
        "STORAGE_ENCRYPTION_KEY": "${input:storage-encryption-key}",
        "OIDC_CONFIG_URL": "${input:oidc-config-url}",
        "OIDC_CLIENT_ID": "${input:oidc-client-id}",
        "OIDC_CLIENT_SECRET": "${input:oidc-client-secret}",
        "BASE_URL": "${input:base-url}",
        "JWT_SIGNING_KEY": "${input:jwt-signing-key}"
      }
    }
  }
}

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

AICortex in other clients