* get rid of async-trait * move rmcp to official-rust-sdk * replace master with main * update readme, change license * fix typo * Update README.md Co-authored-by: Jefry Dewangga <jefrydco@gmail.com> * fix typos --------- Co-authored-by: = <=> Co-authored-by: Jefry Dewangga <jefrydco@gmail.com>
31 lines
955 B
Markdown
31 lines
955 B
Markdown
# Client Examples
|
|
|
|
- [Client SSE](clients/src/sse.rs), using reqwest and eventsource-client.
|
|
- [Client stdio](clients/src/std_io.rs), using tokio to spawn child process.
|
|
- [Everything](clients/src/everything_stdio.rs), test with `@modelcontextprotocol/server-everything`
|
|
- [Collection](clients/src/collection.rs), How to transpose service into dynamic object, so they will have a same type.
|
|
|
|
# Server Examples
|
|
|
|
- [Server SSE](servers/src/axum.rs), using axum as web server.
|
|
- [Server stdio](servers/src/std_io.rs), using tokio async io.
|
|
|
|
|
|
# Transport Examples
|
|
|
|
- [Tcp](transport/src/tcp.rs)
|
|
- [Transport on http upgrade](transport/src/http_upgrade.rs)
|
|
- [Unix Socket](transport/src/unix_socket.rs)
|
|
- [Websocket](transport/src/websocket.rs)
|
|
|
|
|
|
# Intergration
|
|
- [Rig](examples/rig-integration) A stream chatbot with rig
|
|
|
|
# WASI
|
|
- [WASI-P2 runtime](examples/wasi) How it works with wasip2
|
|
|
|
## Use Mcp Inspector
|
|
```sh
|
|
npx @modelcontextprotocol/inspector
|
|
```
|