Skip to content

Commit 7582efd

Browse files
committed
docs: Fix resource URI parameter names to match code
why: Docs used simplified placeholders ({name}, {index}, {id}) but the actual MCP resource URIs use {session_name}, {window_index}, {pane_id}. what: - Update 5 resource URI patterns in docs/concepts.md and README.md - Parameter names now match hierarchy.py exactly
1 parent 9abd1e8 commit 7582efd

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ args = ["--directory", "~/work/python/libtmux-mcp", "run", "libtmux-mcp"]
187187
Browse the tmux hierarchy via URI patterns:
188188

189189
- `tmux://sessions` - All sessions
190-
- `tmux://sessions/{name}` - Session detail with windows
191-
- `tmux://sessions/{name}/windows` - Session's windows
192-
- `tmux://sessions/{name}/windows/{index}` - Window detail with panes
193-
- `tmux://panes/{id}` - Pane details
194-
- `tmux://panes/{id}/content` - Pane captured content
190+
- `tmux://sessions/{session_name}` - Session detail with windows
191+
- `tmux://sessions/{session_name}/windows` - Session's windows
192+
- `tmux://sessions/{session_name}/windows/{window_index}` - Window detail with panes
193+
- `tmux://panes/{pane_id}` - Pane details
194+
- `tmux://panes/{pane_id}/content` - Pane captured content
195195

196196
### Safety tiers
197197

docs/concepts.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ Supported operators: `exact`, `contains`, `startswith`, `endswith`, `regex`, `ic
8080
In addition to tools, the MCP server exposes `tmux://` URI resources for browsing the hierarchy:
8181

8282
- `tmux://sessions` — All sessions
83-
- `tmux://sessions/{name}` — Session detail with windows
84-
- `tmux://sessions/{name}/windows` — Session's windows
85-
- `tmux://sessions/{name}/windows/{index}` — Window detail with panes
86-
- `tmux://panes/{id}` — Pane details
87-
- `tmux://panes/{id}/content` — Pane captured content
83+
- `tmux://sessions/{session_name}` — Session detail with windows
84+
- `tmux://sessions/{session_name}/windows` — Session's windows
85+
- `tmux://sessions/{session_name}/windows/{window_index}` — Window detail with panes
86+
- `tmux://panes/{pane_id}` — Pane details
87+
- `tmux://panes/{pane_id}/content` — Pane captured content

0 commit comments

Comments
 (0)