Skip to content

Add Firebird Server connection mode #4

Description

@impactjo

Follow-up to #2.

Make the database connection configurable so HomeMemory can connect to an
existing Firebird 3.0 Server instead of the embedded engine. Each MCP
process still runs locally over stdio; only the database backend changes.

Embedded mode keeps the database next to the MCP process, so multiple
machines can't share it cleanly and shared file access hits lock issues.
Server mode removes both limits.

Connect-only: the server-side database must already exist, provisioned out
of band (file copy or gbak backup→restore). HomeMemory does not bootstrap
an empty server database.

Configuration via env vars:

  • HOME_MEMORY_DB_MODE = Embedded (default) | Server
  • HOME_MEMORY_DB_HOST, HOME_MEMORY_DB_PORT
  • HOME_MEMORY_DB_PATH (server-side path or alias in Server mode)
  • HOME_MEMORY_DB_USER, HOME_MEMORY_DB_PASSWORD (required in Server mode)

Embedded mode is unchanged.

Status

Code is implemented. Manual Firebird Server smoke test and setup
documentation are still pending.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions