modelcontextprotocol / modelcontextprotocol/inspector
TUI has no search/filter for tools, resources, prompts, or skills lists
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10.9k
- Forks
- 1.5k
- Avg merge
- 6h 17m
- Merged PRs (30d)
- 151
Description
Problem
The web client's tool/resource/prompt controls provide a search input to filter long lists (clients/web/src/components/groups/ToolControls/ToolControls.tsx), but the TUI's equivalent tabs (clients/tui/src/components/{ToolsTab,ResourcesTab,PromptsTab,SkillsTab}.tsx) have no search or filter capability at all. When connected to a server exposing many tools/resources, TUI users have to scroll through the entire list with no way to narrow it down.
Proposal
Add a lightweight text-filter input to each of the TUI's list-based tabs (e.g. triggered by /, consistent with common TUI conventions), filtering visible items by name/title as the user types.
Why it matters
This is a straightforward parity gap between the web and TUI clients, found during a code-level review of v2.7.0. It doesn't require any new protocol support -- it's a self-contained TUI-side UX addition.
Suggested labels: enhancement, tui
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with clients/tui/src/components/{ToolsTab,ResourcesTab,PromptsTab,SkillsTab}.tsx and compare the existing search behavior in clients/web/src/components/groups/ToolControls/ToolControls.tsx. Trace how each TUI tab handles list input, then add the proposed text filter with / as the trigger. Done means each list can be narrowed by item name or title while typing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100