develop #28

Merged
marti merged 4 commits from develop into main 2026-11-06 19:11:28 +01:00
Owner
No description provided.
feat: let users hide single tools from their own /mcp
All checks were successful
CI / check (pull_request) Successful in 5m34s
d68552561e
Users could only hide a whole server; every other tool of every
server they can reach lands in their agent's context. A portal switch
per tool now takes it out of that user's tools/list (stored in
user_hidden_tools); tools/call treats it as unknown. Changing one
sends tools/list_changed to the user's sessions through a new
user.tools.changed event without dropping upstream processes.

Gateway descriptions no longer get a "[Server Name]" prefix: the
<slug>__ name and the title already carry the server.

trail check flags user_hidden_tools against the learning that ruled
out admin tools on the user /mcp. That is a lexical match: this adds
no tools to /mcp, it only filters them per user.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat: test tools from the UI, user activity log, one clients page, prune stale tools
All checks were successful
CI / check (pull_request) Successful in 5m53s
ca60f30946
- Test a single tool from the admin Tools tab and the portal server page,
  with a form built from its inputSchema. Admin calls use Test's context
  (test values on per-user servers, one-shot unpooled process); user calls
  use the user's own values and the gateway's checks (hidden tools ok,
  admin-disabled refused). Logged to tool_calls without arguments or
  results. The admin route is kept off /mcp/admin (adminMcp: false).
- GET /api/me/tool-calls and a portal Activity page with the user's own
  calls; a shared server's connection error is replaced by generic text.
- /clients is the single Clients page; the connect instructions are a
  modal (?connect=1) and /connect redirects there.
- A catalog refresh deletes enabled tools the server no longer lists.
  Disabled ones stay and are marked in the admin UI, because a missing
  tool counts as enabled and a narrower probe must not re-enable it.

trail check flags README.md:13 and schema.ts:356 against the learning that
ruled out admin tools on the user /mcp gateway: keyword matches only, no
admin tools are added to /mcp, and the new admin call route is excluded
from the admin MCP.

Closes #23
Closes #24
Closes #25
Closes #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
marti merged commit 066eb0240a into main 2026-11-06 19:11:28 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marti/mcphub!28
No description provided.