Skip to content

Commit 982f15e

Browse files
committed
fix(format): edit doc format
1 parent 56ef4c8 commit 982f15e

File tree

1 file changed

+40
-36
lines changed

1 file changed

+40
-36
lines changed

examples/README.md

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,51 @@
11
# Quick Start With Claude Desktop
22

33
1. **Build the Server (Counter Example)**
4-
```sh
5-
cargo build --release --example servers_std_io
6-
```
7-
This builds a standard input/output MCP server binary.
4+
5+
```sh
6+
cargo build --release --example servers_std_io
7+
```
8+
9+
This builds a standard input/output MCP server binary.
810

911
2. **Add or update this section in your** `PATH-TO/claude_desktop_config.json`
1012

11-
**Windows**
12-
```json
13-
{
14-
"mcpServers": {
15-
"counter": {
16-
"command": "PATH-TO/rust-sdk/target/release/examples/servers_std_io.exe",
17-
"args": []
18-
}
19-
}
20-
}
21-
```
22-
23-
**McOS/Linux**
24-
```json
25-
{
26-
"mcpServers": {
27-
"counter": {
28-
"command": "PATH-TO/rust-sdk/target/release/examples/servers_std_io",
29-
"args": []
30-
}
31-
}
32-
}
33-
```
13+
**Windows**
14+
15+
```json
16+
{
17+
"mcpServers": {
18+
"counter": {
19+
"command": "PATH-TO/rust-sdk/target/release/examples/servers_std_io.exe",
20+
"args": []
21+
}
22+
}
23+
}
24+
```
25+
26+
**McOS/Linux**
27+
28+
```json
29+
{
30+
"mcpServers": {
31+
"counter": {
32+
"command": "PATH-TO/rust-sdk/target/release/examples/servers_std_io",
33+
"args": []
34+
}
35+
}
36+
}
37+
```
3438

3539
3. **Once Claude Desktop is running, try chatting:**
36-
```text
37-
counter.say_hello
38-
```
39-
Or test other tools like:
40-
```text
41-
counter.increment
42-
counter.get_value
43-
counter.sum {"a": 3, "b": 4}
44-
```
40+
```text
41+
counter.say_hello
42+
```
43+
Or test other tools like:
44+
```text
45+
counter.increment
46+
counter.get_value
47+
counter.sum {"a": 3, "b": 4}
48+
```
4549

4650
# Client Examples
4751

0 commit comments

Comments
 (0)