T

Tribal

by tribal-memory · io.github.tribal-memory/tribal

Semantic memory for AI builders: capture the tacit engineering know-how that never reaches your docs, recall it the moment it applies. Built in Rust on Postgres and pgvector.

oci Unknown transport GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-tribal-memory-tribal": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "TRIBAL_DATABASE__URL=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_REMOTE=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_NAME=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__TRANSPORT=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__BIND_ADDRESS=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PUBLIC_MCP_URL=<YOUR_VALUE>",
        "-e",
        "OPENAI_API_KEY=<YOUR_VALUE>",
        "-e",
        "ANTHROPIC_API_KEY=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_ID=<YOUR_VALUE>",
        "ghcr.io/tribal-memory/tribal:0.4.1"
      ]
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-tribal-memory-tribal": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "TRIBAL_DATABASE__URL=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_REMOTE=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_NAME=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__TRANSPORT=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__BIND_ADDRESS=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PUBLIC_MCP_URL=<YOUR_VALUE>",
        "-e",
        "OPENAI_API_KEY=<YOUR_VALUE>",
        "-e",
        "ANTHROPIC_API_KEY=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_ID=<YOUR_VALUE>",
        "ghcr.io/tribal-memory/tribal:0.4.1"
      ]
    }
  }
}

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
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-tribal-memory-tribal": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "TRIBAL_DATABASE__URL=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_REMOTE=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_NAME=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__TRANSPORT=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__BIND_ADDRESS=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PUBLIC_MCP_URL=<YOUR_VALUE>",
        "-e",
        "OPENAI_API_KEY=<YOUR_VALUE>",
        "-e",
        "ANTHROPIC_API_KEY=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_ID=<YOUR_VALUE>",
        "ghcr.io/tribal-memory/tribal:0.4.1"
      ]
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-tribal-memory-tribal": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "TRIBAL_DATABASE__URL=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_REMOTE=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_NAME=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__TRANSPORT=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__BIND_ADDRESS=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PUBLIC_MCP_URL=<YOUR_VALUE>",
        "-e",
        "OPENAI_API_KEY=<YOUR_VALUE>",
        "-e",
        "ANTHROPIC_API_KEY=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_ID=<YOUR_VALUE>",
        "ghcr.io/tribal-memory/tribal:0.4.1"
      ]
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-tribal-memory-tribal": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "TRIBAL_DATABASE__URL=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_REMOTE=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_NAME=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__TRANSPORT=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__BIND_ADDRESS=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PUBLIC_MCP_URL=<YOUR_VALUE>",
        "-e",
        "OPENAI_API_KEY=<YOUR_VALUE>",
        "-e",
        "ANTHROPIC_API_KEY=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_ID=<YOUR_VALUE>",
        "ghcr.io/tribal-memory/tribal:0.4.1"
      ]
    }
  }
}

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
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-tribal-memory-tribal": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "TRIBAL_DATABASE__URL=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_REMOTE=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_NAME=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__TRANSPORT=<YOUR_VALUE>",
        "-e",
        "TRIBAL_SERVER__BIND_ADDRESS=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PUBLIC_MCP_URL=<YOUR_VALUE>",
        "-e",
        "OPENAI_API_KEY=<YOUR_VALUE>",
        "-e",
        "ANTHROPIC_API_KEY=<YOUR_VALUE>",
        "-e",
        "TRIBAL_PROJECT_ID=<YOUR_VALUE>",
        "ghcr.io/tribal-memory/tribal:0.4.1"
      ]
    }
  }
}

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.

NameRequiredDescription
TRIBAL_DATABASE__URL Yes Postgres (pgvector) connection string. Tribal is self-hosted; you provide the database. The supported, complete deployment is docker-compose.yml.
TRIBAL_PROJECT_REMOTE Yes First-run only: the git remote that identifies the project bootstrapped on first start.
TRIBAL_PROJECT_NAME Yes First-run only: the name of the project bootstrapped on first start.
TRIBAL_SERVER__TRANSPORT No Containerised transport: http or sse. The Docker image does not serve stdio; install the binary for stdio. Default: http
TRIBAL_SERVER__BIND_ADDRESS No Address the server binds inside the container. Must be 0.0.0.0 (not the loopback default) for the published port to be reachable. Default: 0.0.0.0:8725
TRIBAL_PUBLIC_MCP_URL No The URL clients use to reach the server (for example http://127.0.0.1:8725/mcp). Needed for OAuth dynamic client registration once the server binds a routable interface. Default: http://127.0.0.1:8725/mcp
OPENAI_API_KEY secret No API key for OpenAI provider (required if using OpenAI for embeddings/inference)
ANTHROPIC_API_KEY secret No API key for Anthropic provider (required if using Anthropic for embeddings/inference)
TRIBAL_PROJECT_ID No Optional. Override the project ID when running commands outside the repository context.

Similar servers