Tribal

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

Streamable HTTPofficialinfra

Package Details

TransportStreamable HTTP
Runtimedocker

Runtime Arguments

Named
-p
127.0.0.1:8725:8725

Environment Variables

TRIBAL_DATABASE__URL
Required

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

TRIBAL_PROJECT_REMOTE
Required

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

TRIBAL_PROJECT_NAME
Required

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

TRIBAL_SERVER__TRANSPORT
Default:http

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

TRIBAL_SERVER__BIND_ADDRESS
Default:0.0.0.0:8725

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
Default:http://127.0.0.1:8725/mcp

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.