#protocols #mcp #client #context #model #sse #sdk

mcp-client

Client SDK for the Model Context Protocol

1 unstable release

new 0.1.0 Feb 27, 2025

#18 in #mcp

MIT license

81KB
2K SLoC

Testing stdio transport

cargo run -p mcp-client --example stdio

Testing SSE transport

  1. Start the MCP server in one terminal: fastmcp run -t sse echo.py
  2. Run the client example in new terminal: cargo run -p mcp-client --example sse

Dependencies

~15–29MB
~413K SLoC