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:
parent
ddaf35ed77
commit
8f11a86898
1 changed files with 125 additions and 3 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue