@@ -532,9 +532,7 @@ Client usage:
532532
533533<!-- snippet-source examples/snippets/clients/completion_client.py -->
534534``` python
535- """ MCP client example showing completion usage.
536-
537- This example demonstrates how to use the completion feature in MCP clients.
535+ """
538536cd to the `examples/snippets` directory and run:
539537 uv run completion-client
540538"""
@@ -865,11 +863,7 @@ Note that `uv run mcp run` or `uv run mcp dev` only supports server using FastMC
865863
866864<!-- snippet-source examples/snippets/servers/streamable_config.py -->
867865``` python
868- """ Streamable HTTP server configuration examples.
869-
870- This example shows different configuration options for
871- streamable HTTP servers.
872-
866+ """
873867Run from the repository root:
874868 uv run examples/snippets/servers/streamable_config.py
875869"""
@@ -906,11 +900,7 @@ You can mount multiple FastMCP servers in a Starlette application:
906900
907901<!-- snippet-source examples/snippets/servers/streamable_starlette_mount.py -->
908902``` python
909- """ Example of mounting multiple FastMCP servers in a Starlette application.
910-
911- This example shows how to create multiple MCP servers and mount them
912- at different endpoints in a single Starlette application.
913-
903+ """
914904Run from the repository root:
915905 uvicorn examples.snippets.servers.streamable_starlette_mount:app --reload
916906"""
@@ -1351,9 +1341,7 @@ The SDK provides a high-level client interface for connecting to MCP servers usi
13511341
13521342<!-- snippet-source examples/snippets/clients/stdio_client.py -->
13531343``` python
1354- """ MCP client example using stdio transport.
1355-
1356- This is a documentation example showing how to write an MCP client.
1344+ """
13571345cd to the `examples/snippets/clients` directory and run:
13581346 uv run client
13591347"""
@@ -1445,11 +1433,7 @@ Clients can also connect using [Streamable HTTP transport](https://modelcontextp
14451433
14461434<!-- snippet-source examples/snippets/clients/streamable_basic.py -->
14471435``` python
1448- """ Basic streamable HTTP client example.
1449-
1450- This example shows the minimal code needed to connect to
1451- a streamable HTTP server and call a tool.
1452-
1436+ """
14531437Run from the repository root:
14541438 uv run examples/snippets/clients/streamable_basic.py
14551439"""
@@ -1489,11 +1473,7 @@ When building MCP clients, the SDK provides utilities to help display human-read
14891473
14901474<!-- snippet-source examples/snippets/clients/display_utilities.py -->
14911475``` python
1492- """ Client display utilities example.
1493-
1494- This example shows how to use the SDK's display utilities to show
1495- human-readable names for tools, resources, and prompts.
1496-
1476+ """
14971477cd to the `examples/snippets` directory and run:
14981478 uv run display-utilities-client
14991479"""
0 commit comments