Skip to content

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

Closed

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.

Activity

  1. tanish111 commented on Nov 18, 2025

    @tanish111
    ContributorAuthor

    @alexhancock @johnw188 Do you think we should remove the examples/README.md? Since each example folder (servers/wasi/…) already includes instructions that work as expected.

  2. tanish111 commented on Dec 17, 2025

    @tanish111
    ContributorAuthor

    @alexhancock @johnw188 Do you think we should remove the examples/README.md? Since each example folder (servers/wasi/…) already includes instructions that work as expected.

    Any updates?

  3. added
    bugSomething is not working
    P2Medium: important but non-blocking improvement
    ready for workIssue is well-defined and ready to be picked up
    on Feb 26, 2026
  4. alexhancock commented on Feb 27, 2026

    @alexhancock
    Contributor

    Yeah that seems fine to remove examples/README @tanish111

    Sorry for the delay in responding. Feel free to raise a PR!

  5. tanish111 commented on Feb 27, 2026

    @tanish111
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: important but non-blocking improvementT-documentationDocumentation improvementsbugSomething is not workingready for workIssue is well-defined and ready to be picked up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions