Skip to content

Documentation: Example build commands fail after examples removed from default-members #550

@tanish111

Description

@tanish111

Describe the bug
Examples were removed from the default build, so the documentation is now outdated. Commands in the README (such as those using cargo build --example ...) no longer work as written.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to the examples directory.
  2. Run:
    cargo build --release --example servers_counter_stdio

Expected behavior
The example servers_counter_stdio should build successfully using the command provided in the documentation.

Logs

(base) tanishdesai37@Tanishs-MacBook-Air examples % cargo build --release --example servers_counter_stdio

error: no example target named `servers_counter_stdio` in default-run packages
help: available example in `mcp-server-examples` package:
    servers_counter_stdio

Additional context
This issue started after #541, when examples were removed from default-members to avoid macOS linker errors. As a result, example targets no longer build using the old documentation commands. We need to update the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions