File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
examples/clients/simple-sampling-client Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -17,25 +17,25 @@ This example demonstrates how to use the sampling capability of the MCP SDK with
1717
18181 . Install dependencies:
1919
20- ```sh
21- cd examples/clients/simple-sampling-client/
22- uv sync
23- ```
20+ ``` sh
21+ cd examples/clients/simple-sampling-client/
22+ uv sync
23+ ```
2424
25252 . Set environment variables in a ` .env ` file. A sample ` .env ` file is provided as ` .env.example ` .
2626
27273 . Start the MCP server in a separate terminal:
2828
29- ```sh
30- cd examples/snippets/servers/
31- uv run server sampling streamable-http
32- ```
29+ ``` sh
30+ cd examples/snippets/servers/
31+ uv run server sampling streamable-http
32+ ```
3333
34344 . Run the sampling client in previous terminal:
3535
36- ```sh
37- uv run mcp-simple-sampling-client
38- ```
36+ ``` sh
37+ uv run mcp-simple-sampling-client
38+ ```
3939
4040## Usage
4141
You can’t perform that action at this time.
0 commit comments