examples: improve example for listfeatures (#701)

Use an example from the Go SDK, rather than something that requires
node.js.

Fixes #700
This commit is contained in:
Robert Findley 2025-12-10 10:26:22 -05:00 • committed by GitHub
commit afe8888129
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ func main() {
fmt.Fprintln(os.Stderr, "Usage: listfeatures --http=\"https://example.com/server/mcp\"")
fmt.Fprintln(os.Stderr, "List all features for a stdio MCP server")
fmt.Fprintln(os.Stderr)
fmt.Fprintln(os.Stderr, "Example:\n\tlistfeatures npx @modelcontextprotocol/server-everything")
fmt.Fprintln(os.Stderr, "Example:\n\tlistfeatures go run github.com/modelcontextprotocol/go-sdk/examples/server/hello")
os.Exit(2)
}