benbjohnson / benbjohnson/litestream

feat(mcp): add daemon-control tools (list/sync/info/start/stop/register/unregister)

Open
#1,372 0 comments 0 reactions 1 assignee View on GitHub

@corylanou is already working on this.

Since Jul 16, 2026.

enhancement
Dominant language
Go
Stars
14.4k
Forks
417
Avg merge
7d 1h
Merged PRs (30d)
21

Description

Problem

None of the daemon-control commands are exposed as MCP tools. An assistant can't list managed databases, force a sync, read daemon info, or start/stop replication. These map to the existing Unix-socket IPC endpoints (cmd/litestream/server.go:75-90).

Fix

Add tools that call the daemon IPC client: list, sync (incl. -wait), daemon info, start, stop, register, unregister. Annotate mutating ones destructiveHint, read-only ones readOnlyHint. Fail gracefully when no daemon is running (clear error, no crash).

Acceptance

With a running daemon, an assistant can list DBs, force a sync (incl. wait), read daemon info, and start/stop replication; without one, tools return a clear "no daemon" error.

Cross-refs

After #1367 & #1368.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.