Skip to content

docs: use "tmux" as the registration slug throughout#40

Open
tony wants to merge 1 commit intomainfrom
feature/docs-slug-consistency-tmux
Open

docs: use "tmux" as the registration slug throughout#40
tony wants to merge 1 commit intomainfrom
feature/docs-slug-consistency-tmux

Conversation

@tony
Copy link
Copy Markdown
Member

@tony tony commented May 8, 2026

Summary

docs/clients.md and the install widget were using libtmux as the registration slug while README.md recommends tmux. Followers of either doc would end up with mcp__tmux__* or mcp__libtmux__* tool prefixes depending on which page they read.

This PR aligns every doc to tmux:

  • docs/clients.md — 18 registration-slug libtmuxtmux (in claude mcp add, codex mcp add, gemini mcp add, JSON mcpServers.libtmux keys, TOML [mcp_servers.libtmux] key)
  • docs/_ext/widgets/mcp_install.py — 9 registration-slug occurrences in INSTALL_CMDS
  • tests/docs/test_widgets.py + snapshots — assertions and stored snapshots updated to expect the new tmux slug

The package name libtmux-mcp, the import libtmux_mcp, and the GitHub link are unchanged. Existing user registrations as libtmux keep working — the slug is a per-install user choice, not a property of the package. This change just recommends tmux for new installs.

Test plan

  • uv run ruff check . && uv run mypy && uv run py.test -q (428 passed; widget snapshot tests updated)
  • just build-docs

why: README's recommended registration slug is `tmux` (matches what
users actually think — "the tmux MCP"), but `docs/clients.md` and the
install-widget were using `libtmux`. Followers of either doc would end
up with `mcp__tmux__*` or `mcp__libtmux__*` tool prefixes depending on
which page they read. Aligning every doc to `tmux` removes the
papercut.

what:
- docs/clients.md: 18 registration-slug `libtmux` -> `tmux` (in
  `claude mcp add ...`, `codex mcp add ...`, `gemini mcp add ...`,
  JSON `mcpServers.libtmux` keys, TOML `[mcp_servers.libtmux]` key).
  Package name `libtmux-mcp`, module `libtmux_mcp`, and GitHub link
  unchanged.
- docs/_ext/widgets/mcp_install.py: 9 registration-slug occurrences
  in INSTALL_CMDS dict updated to `tmux`. `pip install libtmux-mcp`
  lines unchanged.
- tests/docs/test_widgets.py + snapshots: assertions and stored
  snapshots updated to expect the new `tmux` slug.

note: existing user registrations as `libtmux` keep working — the
slug is a per-install user choice, not a property of the package.
This change recommends `tmux` for new installs.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.89%. Comparing base (01192bb) to head (3f738ff).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   84.89%   84.89%           
=======================================
  Files          40       40           
  Lines        2290     2290           
  Branches      293      293           
=======================================
  Hits         1944     1944           
  Misses        261      261           
  Partials       85       85           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants