MCP directory
T

Tribal

by github.com/tribal-memory · v0.4.1 · updated Jun 28, 2026

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

Docker

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm ghcr.io/tribal-memory/tribal:0.4.1

Environment variables

  • TRIBAL_DATABASE__URLrequired

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

  • TRIBAL_PROJECT_REMOTErequired

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

  • TRIBAL_PROJECT_NAMErequired

    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_KEYsecret

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

  • ANTHROPIC_API_KEYsecret

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

More MCP servers