- Step1: Add `dart_mcp` dependency to your Dart project.
- Step2: Install dependencies using `dart pub get`.
- Step3: For server setup, import `lib/src/server.dart` and initialize the server implementation.
- Step4: Run your server code to start handling MCP requests.
- Step5: For client setup, import `lib/src/client.dart`, instantiate a `Client`, and connect to the MCP server.
- Step6: Use the client API to send requests and handle responses within your application.