[Feature]: Tool categories: group, filter and bulk-review tools
Problem / motivation
Some servers ship a lot of tools. Point mcpproxy at the GitHub MCP server and the review list becomes a wall of get_issue, create_pull_request, update_* names, with the server as the only grouping axis. The Web UI does what it can today: annotation chips, one tool at a time, an Approve All button that deliberately makes no distinctions.
Grouping is also coming to the protocol itself. SEP-1300 proposed groups/list, tags/list and a filtering capability (modelcontextprotocol/modelcontextprotocol#1300), and was superseded by the Primitive Groups working group, whose drafts are still being shaped (modelcontextprotocol/modelcontextprotocol#1567). Servers are not waiting for the spec either: GitHub's MCP server selects toolsets by endpoint or header, Datadog takes a toolsets parameter, FastMCP filters on tags. mcpproxy sits in the middle of exactly this traffic and normalizes none of it.
Proposed solution
One grouping model, fed by two sources:
- Server-declared groups and tags. Once the working group's shape lands, ingest what the upstream declares and treat it as the first-class source: the grouping a server announces is exactly what the review UI wants to slice by. Since the wire format is still moving, whatever arrives should be mapped into the local model rather than passed through raw.
- User-defined labels for everything else. A label is a name plus a simple rule (say, "name matches
pull_request|^pr_"); every label traces back to a rule or an explicit choice, no heuristic classification.
On top of that model:
- Filter chips in the Web UI tool list, in the style of the existing annotation badges, with server groups and local labels indistinguishable in the UI.
- Bulk review scoped to a group or label, so a quarantined server can be approved in slices: the read-only reporting tools in one go, the destructive ones deliberately.
- The same filters in REST and CLI (
mcpproxy tools list --label issues) if they prove useful. - Forwarding to clients that ask for it, once the shape is stable. Local labels only ever leave with an explicit opt-in; the passthrough groundwork is what #2042 is about.
Alternatives considered
Profiles already solve the server-granularity version of this ("this client only needs these servers"). The gap is one level down: inside a single big server, there is no way to say "only the issue tools".
Doing nothing until the spec settles is the other option. But the local half works today regardless, and the de-facto grouping practice is already here, so mcpproxy would be normalizing what servers actually do, not guessing at a standard. When the wire shape lands, it plugs in as another source feeding the same model.
Which edition?
Both / not sure
Pre-submission checklist
- [x] I searched existing issues and discussions for a similar request