examples/client: add a loadtest command

Add a loadtest client example, to help confirm performance of our
streamable transport implementation.

For #190
This commit is contained in:
Robert Findley 2025-08-29 15:28:05 -04:00 • committed by GitHub
commit 8f11a86898
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,10 +31,10 @@ func main() {
flag.Parse()
args := flag.Args()
if len(args) == 0 {
fmt.Fprintf(os.Stderr, "Usage: listfeatures <command> [<args>]")
fmt.Fprintf(os.Stderr, "List all features for a stdio MCP server")
fmt.Fprintln(os.Stderr, "Usage: listfeatures <command> [<args>]")
fmt.Fprintln(os.Stderr, "List all features for a stdio MCP server")
fmt.Fprintln(os.Stderr)
fmt.Fprintf(os.Stderr, "Example: listfeatures npx @modelcontextprotocol/server-everything")
fmt.Fprintln(os.Stderr, "Example:\n\tlistfeatures npx @modelcontextprotocol/server-everything")
os.Exit(2)
}