Skip to content

Commit d62b5df

Browse files
committed
docs(resources): add at-a-glance grid to /resources/
Mirror the /prompts/ treatment: a six-card responsive grid above the per-scope sections (Sessions / Windows / Panes) giving readers a jump table to every resource template on the page. Card titles use code formatting for the function name; bodies reuse the one-line docstring summaries that already feed the {fastmcp-resource-template} directive, so overview + detail stay in sync when the docstrings are edited. Establishes a consistent reader contract across /tools/, /prompts/, and /resources/ — every MCP surface now has a scannable overview at the top.
1 parent 6208e49 commit d62b5df

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

docs/resources.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,49 @@ Every resource delivers a snapshot of the tmux hierarchy at call
1515
time. Agents use them for read-only inspection; any write workflow
1616
goes through the corresponding {doc}`tools </tools/index>`.
1717

18+
## Available resources
19+
20+
::::{grid} 1 2 2 3
21+
:gutter: 2 2 3 3
22+
23+
:::{grid-item-card} `get_sessions`
24+
:link: fastmcp-resource-template-get-sessions
25+
:link-type: ref
26+
List all tmux sessions.
27+
:::
28+
29+
:::{grid-item-card} `get_session`
30+
:link: fastmcp-resource-template-get-session
31+
:link-type: ref
32+
Get details of a specific tmux session.
33+
:::
34+
35+
:::{grid-item-card} `get_session_windows`
36+
:link: fastmcp-resource-template-get-session-windows
37+
:link-type: ref
38+
List all windows in a tmux session.
39+
:::
40+
41+
:::{grid-item-card} `get_window`
42+
:link: fastmcp-resource-template-get-window
43+
:link-type: ref
44+
Get details of a specific window in a session.
45+
:::
46+
47+
:::{grid-item-card} `get_pane`
48+
:link: fastmcp-resource-template-get-pane
49+
:link-type: ref
50+
Get details of a specific pane.
51+
:::
52+
53+
:::{grid-item-card} `get_pane_content`
54+
:link: fastmcp-resource-template-get-pane-content
55+
:link-type: ref
56+
Capture and return the content of a pane.
57+
:::
58+
59+
::::
60+
1861
---
1962

2063
## Sessions

0 commit comments

Comments
 (0)