Skip to content

Commit ce3d9fc

Browse files
committed
Remove extra formatting
1 parent 1d234e1 commit ce3d9fc

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@
33
</div>
44

55
# RMCP
6-
76
[![Crates.io Version](https://img.shields.io/crates/v/rmcp)](https://crates.io/crates/rmcp)
8-
97
<!-- ![Release status](https://github.com/modelcontextprotocol/rust-sdk/actions/workflows/release.yml/badge.svg) -->
108
<!-- [![docs.rs](todo)](todo) -->
11-
129
![Coverage](docs/coverage.svg)
1310

1411
An official Rust Model Context Protocol SDK implementation with tokio async runtime.
@@ -27,16 +24,14 @@ rmcp = { version = "0.8.0", features = ["server"] }
2724
## or dev channel
2825
rmcp = { git = "https://github.com/modelcontextprotocol/rust-sdk", branch = "main" }
2926
```
30-
3127
### Third Dependencies
32-
3328
Basic dependencies:
34-
3529
- [tokio required](https://github.com/tokio-rs/tokio)
3630
- [serde required](https://github.com/serde-rs/serde)
3731

38-
### Build a Client
3932

33+
34+
### Build a Client
4035
<details>
4136
<summary>Start a client</summary>
4237

@@ -52,7 +47,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
5247
Ok(())
5348
}
5449
```
55-
5650
</details>
5751

5852
### Build a Server
@@ -75,7 +69,6 @@ You can easily build a service by using [`ServerHandler`](crates/rmcp/src/handle
7569
```rust, ignore
7670
let service = common::counter::Counter::new();
7771
```
78-
7972
</details>
8073

8174
<details>
@@ -85,7 +78,6 @@ let service = common::counter::Counter::new();
8578
// this call will finish the initialization process
8679
let server = service.serve(transport).await?;
8780
```
88-
8981
</details>
9082

9183
<details>
@@ -100,7 +92,6 @@ let roots = server.list_roots().await?;
10092
// or send notification
10193
server.notify_cancelled(...).await?;
10294
```
103-
10495
</details>
10596

10697
<details>
@@ -111,9 +102,9 @@ let quit_reason = server.waiting().await?;
111102
// or cancel it
112103
let quit_reason = server.cancel().await?;
113104
```
114-
115105
</details>
116106

107+
117108
## Examples
118109

119110
See [examples](examples/README.md)
@@ -143,6 +134,7 @@ See [oauth_support](docs/OAUTH_SUPPORT.md) for details.
143134
- [terminator](https://github.com/mediar-ai/terminator) - AI-powered desktop automation MCP server with cross-platform support and >95% success rate
144135
- [stakpak-agent](https://github.com/stakpak/agent) - Security-hardened terminal agent for DevOps with MCP over mTLS, streaming, secret tokenization, and async task management
145136

137+
146138
## Development
147139

148140
### Tips for Contributors

0 commit comments

Comments
 (0)