AgentHubAgentHub

Tribal

MCP ServerMCP Registry官方收录

io.github.tribal-memory/tribal · v0.3.1

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

概览

Tribal 是一个MCP Server,收录自 官方 MCP Registry。支持 streamable-http 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "tribal": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/tribal-memory/tribal:0.3.1"
      ],
      "env": {
        "TRIBAL_DATABASE__URL": "<TRIBAL_DATABASE__URL>",
        "TRIBAL_PROJECT_REMOTE": "<TRIBAL_PROJECT_REMOTE>",
        "TRIBAL_PROJECT_NAME": "<TRIBAL_PROJECT_NAME>"
      }
    }
  }
}

环境变量

TRIBAL_DATABASE__URL必填

Postgres (pgvector) connection string. Tribal is self-hosted; you provide the database. The supported, complete deployment is docker-compose.yml.

TRIBAL_PROJECT_REMOTE必填

First-run only: the git remote that identifies the project bootstrapped on first start.

TRIBAL_PROJECT_NAME必填

First-run only: the name of the project bootstrapped on first start.

TRIBAL_SERVER__TRANSPORT可选

Containerised transport: http or sse. The Docker image does not serve stdio; install the binary for stdio.

TRIBAL_SERVER__BIND_ADDRESS可选

Address the server binds inside the container. Must be 0.0.0.0 (not the loopback default) for the published port to be reachable.

TRIBAL_PUBLIC_MCP_URL可选

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.

OPENAI_API_KEY可选secret

Optional; only if an ingest or retrieval stage is configured to use OpenAI (defaults target a local Ollama).

ANTHROPIC_API_KEY可选secret

Optional; only if a stage is configured to use Anthropic.

相关资源

统一 Manifest

{
  "id": "io.github.tribal-memory/tribal",
  "type": "mcp-server",
  "version": "0.3.1",
  "displayName": "Tribal",
  "description": "Self-hosted semantic memory over MCP for an engineering team's tacit knowledge. Needs Postgres.",
  "repository": {
    "url": "https://github.com/tribal-memory/tribal",
    "source": "github"
  },
  "homepage": "https://tribal.build",
  "distribution": {
    "packages": [
      {
        "registryType": "oci",
        "identifier": "ghcr.io/tribal-memory/tribal:0.3.1",
        "runtimeHint": "docker",
        "transport": "streamable-http",
        "environmentVariables": [
          {
            "name": "TRIBAL_DATABASE__URL",
            "description": "Postgres (pgvector) connection string. Tribal is self-hosted; you provide the database. The supported, complete deployment is docker-compose.yml.",
            "isRequired": true
          },
          {
            "name": "TRIBAL_PROJECT_REMOTE",
            "description": "First-run only: the git remote that identifies the project bootstrapped on first start.",
            "isRequired": true
          },
          {
            "name": "TRIBAL_PROJECT_NAME",
            "description": "First-run only: the name of the project bootstrapped on first start.",
            "isRequired": true
          },
          {
            "name": "TRIBAL_SERVER__TRANSPORT",
            "description": "Containerised transport: http or sse. The Docker image does not serve stdio; install the binary for stdio."
          },
          {
            "name": "TRIBAL_SERVER__BIND_ADDRESS",
            "description": "Address the server binds inside the container. Must be 0.0.0.0 (not the loopback default) for the published port to be reachable."
          },
          {
            "name": "TRIBAL_PUBLIC_MCP_URL",
            "description": "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."
          },
          {
            "name": "OPENAI_API_KEY",
            "description": "Optional; only if an ingest or retrieval stage is configured to use OpenAI (defaults target a local Ollama).",
            "isSecret": true
          },
          {
            "name": "ANTHROPIC_API_KEY",
            "description": "Optional; only if a stage is configured to use Anthropic.",
            "isSecret": true
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.tribal-memory/tribal",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.tribal-memory%2Ftribal/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Tribal — MCP Server 安装与配置 · AgentHub