Show server description and website in session info - #362
Merged
Conversation
A server can advertise `description` and `websiteUrl` in its `serverInfo`, and they are the only human-readable statement of what it is and where it is documented — but they were a `--json`-only detail. Print them under the server name in `mcpc @session` and `server-discover`. Also, while looking at the same screens: - `mcpc help tools/list` (and any other MCP method name) now resolves the alias instead of reporting an unknown command - trimmed the `server-discover` help notes and un-indented the `ping` / `server-discover` footers, which read as part of the block above them Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HYhygKZPPuddYpG67y7c1N
The arrow means "this points at the line above", so it only works where there
is a single line to point at — a session line in a list, a one-line status or
empty state. Used as a footer under a multi-line block it reads as part of the
block instead, which is what made the `ping` and `server-discover` footers look
wrong.
Hints closing a block are now plain unindented sentences ("To check sync
status, run: ..."), and standalone arrow hints sit at the column of the line
they follow; hints under list items keep their indent. CLAUDE.md documents the
two shapes.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HYhygKZPPuddYpG67y7c1N
…ver-xerx39 # Conflicts: # CHANGELOG.md
Refs #361 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HYhygKZPPuddYpG67y7c1N
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Servers can advertise
descriptionandwebsiteUrlin theirserverInfo— the only human-readable statement of what a server is and where it's documented — but mcpc kept them in--jsononly. They now show under the server name inmcpc @sessionandserver-discover.While on the same screens:
mcpc help tools/list(and any other MCP method name) resolves the alias instead of reporting an unknown commandserver-discoverhelp notes↳hint is now reserved for one-line situations; hints closing a multi-line block became plain sentences (To check sync status, run: …), and CLAUDE.md documents the two shapeshttps://claude.ai/code/session_01HYhygKZPPuddYpG67y7c1N