Skip to content
VS Code

Tribal for VS Code

io.github.tribal-memory/tribal

Self-hosted semantic memory over MCP for an engineering team's tacit knowledge. Needs Postgres.

client:VS Code transport:stdio runtime:oci

Install Tribal in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tribal-database--url",
      "description": "TRIBAL_DATABASE__URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tribal-project-remote",
      "description": "TRIBAL_PROJECT_REMOTE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tribal-project-name",
      "description": "TRIBAL_PROJECT_NAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tribal-server--transport",
      "description": "TRIBAL_SERVER__TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tribal-server--bind-address",
      "description": "TRIBAL_SERVER__BIND_ADDRESS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tribal-public-mcp-url",
      "description": "TRIBAL_PUBLIC_MCP_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai-api-key",
      "description": "OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anthropic-api-key",
      "description": "ANTHROPIC_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "tribal": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/tribal-memory/tribal:0.4.1"
      ],
      "env": {
        "TRIBAL_DATABASE__URL": "${input:tribal-database--url}",
        "TRIBAL_PROJECT_REMOTE": "${input:tribal-project-remote}",
        "TRIBAL_PROJECT_NAME": "${input:tribal-project-name}",
        "TRIBAL_SERVER__TRANSPORT": "${input:tribal-server--transport}",
        "TRIBAL_SERVER__BIND_ADDRESS": "${input:tribal-server--bind-address}",
        "TRIBAL_PUBLIC_MCP_URL": "${input:tribal-public-mcp-url}",
        "OPENAI_API_KEY": "${input:openai-api-key}",
        "ANTHROPIC_API_KEY": "${input:anthropic-api-key}"
      }
    }
  }
}

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

Tribal in other clients