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:
parent
d1c06cb748
commit
afe8888129
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ func main() {
|
||||||
fmt.Fprintln(os.Stderr, "Usage: listfeatures --http=\"https://example.com/server/mcp\"")
|
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, "List all features for a stdio MCP server")
|
||||||
fmt.Fprintln(os.Stderr)
|
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)
|
os.Exit(2)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue